


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























MOVE.B D0,D3 Copy the source operand in register D0 to register D SUB.L A0,D3 Subtract the source operand in register A0 from register D CMP.W D2,D0 Compare the source operand in register D2 with register D ADD D3,D4 Add the source operand in register D3 to register D
The effect of this instruction is to copy the contents of data register D0 in to data register D
The instruction MOVE.B #4,D uses a literal source operand and a register direct destination operand
The destination operand is a data register
The effect of this instruction is to copy the literal value 4 to data register D
2 0 4 2 M e m o r y This instruction has a direct source operand The source operand is in memory The destination operand uses data register direct addressing
2 0 4 2 M e m o r y The address of the operand forms part of the instruction Once the CPU has read the operand address from the instruction, the CPU accesses the actual operand This is the actual operand
ORG $400 Start of code MOVE.B Y,D ADD #4,D MOVE.B D0,Z ORG $600 Start of data area Y DC.B 27 Store the constant 27 in memory Z DS.B 1 Reserve a byte for Z
Address Register Indirect Addressing In address register indirect addressing , the instruction specifies one of the 68000โs address registers; for example, MOVE.B (A0),D0. The specified address register contains the address of the operand. The processor then accesses the operand pointed at by the address register.