• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

low-level language question

aceman817

Senior member
i have this problem that seems to be confusing me:

Given the following state of memory (in hex):

0001 A2
0002 11
0003 FF
0004 00

What are the contents of the A register after the execution of the following two instructions?

00001001 00000000 00000001
00011000 00000000 00000001


My work so far:

The first instruction loads into the A register what is in memory location 0001. So A2 or 10100010 should be loaded. The next instruction should then be added which is the part I don't understand. Do we do 10100010 00000000 + 1? The answers to choose from for this question are as follows:

10100010 00010010
11111111 00000000
00000000 00000011
11101101 00000001
00010010 00000000

Thanks,
AL
 
This is "High Tech" not the homework channel ...

When inquiring about machine code, you should at least tell us what machine you're talking about.
 
Back
Top