Question: You are given a system which follows the ATT x 8 6 instruction format ( OPCODE src 1 , src 2 , dest ) .

You are given a system which follows the ATT x86 instruction format (OPCODE src1, src2, dest).
This system only has four registers in the processor R1, R2, R3, R4 and can access memory
locations from 0X0000 to 0XFFFF. Addressing modes allowed for this system are IMMEDIATE,
DIRECT, or REGISTER-DIRECT. State which addressing mode is used for each of the following
instructions. [(1+1+1+1) pts]
i. LOAD 0XA12D, R2
ii. SUB R1, R2, R3
iii. ADD R2,0XA12B, R3
iv. STORE R2,0XA12A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!