Generate hexadecimal machine code for the following MC68000
instructions. (§3.3) a. MOVE.L (A2), D4 b. MOVE.W 2AH(A3, D6),
D1
c. ADD.L A5, D6
d. ROL #3, D4
e. BGT -24
Answer:- a) MOVE.L (A2), D4
The format for MOVE is-
So the machine code is-
Answer:- b) MOVE.W 2AH(A3, D6),
D1
Need to check.
Answer:- c) ADD.L A5, D6
The format for MOVE is-
So the machine code is-
Answer:- d) ROL #3, D4
The machine code format is-
The machine code is-
Answer:- e) BGT -24
The machine code is-
Dear student, please refer to MOTOROLA M68000 FAMILY Programmer’s Reference Manual for more detail. You can start from page number 4-6.
Get Answers For Free
Most questions answered within 1 hours.