Question: System Programming Assignment 1 1-Given that the ASCII code of character A is 65 and using immediate addressing mode, write a sequence of SIC/XE instructions
System Programming Assignment 1
1-Given that the ASCII code of character A is 65 and using immediate addressing mode, write a sequence of SIC/XE instructions that store the character A into memory location DELTA. Minimize your code as much as you can.
2- Write a sequence of SIC instructions that calculate the expression ALPHA * BETA + 10, where ALPHA and BETA are one-word variables. Store the result of this expression into memory location GAMMA.
3- Write a sequence of SIC/XE instructions that calculate the expression ALPHA + BETA - 6, where ALPHA and BETA are one-word variables, and store the result of this expression into memory location GAMMA. Use as many register to-register instructions as you can to make your code effective and minimized.
4- Write a sequence of SIC instructions that copy the HELLO WORLD character string form one memory location to another.
5- Write a sequence of SIC/XE instructions that copy the COPY STRING character string form one memory location to another. Use as many register-to register instructions as you can to make your code effective and minimized.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
