































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!
































Prerequisite - Introduction to parts of CPU
CU FPU MU REGISTERS ALU
Addressing Modes
Addressing Modes
MVI A , 15h A ā 15h Here 15h is the immediate operand
ADI 3Eh A ā A + 3Eh Here 3Eh is the immediate operand
MOV C , A C ā A Here A is the operand specified in register
ADD B A ā A + B Here B is the operand specified in register
Before 2807 2806 2805 A 2804 2803 2802 2801 2800
After A ā [2805] A ā A
LDA 2805h A ā [2805] It loads the data from memory location 2805 to A.
STA 2803h [2803] ā A It stores the data from A to memory location 2803.
Before 2807 2806 2805 2804 2803 9B 2802 2801 2800
After [2803] ā A [2803] ā 9B
MOV A, 2802h A ā [[2802]] It moves the data from memory location specified by the location 2802 to A.
Offset = 03h Effective address of operand = PC + 01 + offset Effective address of operand = 2803 + 01 + 03 Effective address of operand = 2807h
Actual Operand