Can someone help me understand what this means Does it want

Can someone help me understand what this means? Does it want me to simply write the hexadecimal code for the assembly language commands?

1. List the hexadecimal code for the following program (hand assemble it). ex Address 100 101 102 103 104 105 106 107 108 109 Label Instruction LOAD A ADD ONE JUMP S1 S2, ADD ONE STORE A HALT S1, ADD A JUMP S2 HEX 0023 ONE HEX 0001

Solution

LOAD A ----> 0023
ADD ONE ----> (0023 + 0001) = 0024
JUMP S1
S2, ADD ONE -----> (0047 + 0001) = 0048
STORE A -----> storing 0048 value
HALT -----> exiting..
S1, ADD A -----> (0024 + 0023) = 0047
JUMP S2
A, HEX 0023
ONE HEX 0001  


************* Finally the answer is 0048H **************

Can someone help me understand what this means? Does it want me to simply write the hexadecimal code for the assembly language commands? 1. List the hexadecimal

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site