Академический Документы
Профессиональный Документы
Культура Документы
There are 7 types of addressing modes: Immediate Absolute Accumulator Direct Indirect Memory mapped stack
Two types:
3 and 4 bit
8 bit
9 bit
16 bit
LD
FRAME
LD
ADDM
LD
ADD
AND ANDM
CMPM
LD MAC
ABSOLUTE ADDRESSING
Complete address of the operand mentioned in the
instruction itself 2 word length DP, SP, ACC and ARs not used 3types: 1.dmad 2.pmad 3.PA
DMAD:
ACCUMULATOR ADDRESSING
Accumulator content is used as the address
Ex: READA Smem
WRITA Smem Both program and data memory space are involved
DIRECT ADDRESSING
Instruction contains 7 lower order bits of data memory
Mode specifier
7
dma
0-6
Two types:
MMR ADDRESSING
Modifies the MM registers without affecting the data
pointer and stack pointer. Works for both direct and indirect addressing modes DIRECT MMR ADDRESSING: It forces the 9 MSBs of the dma to zero regardless of SP/DP.
address. AR-> FF25h (MMR addr value) 0025- register is aaccessed AR changed to 0025h after the access Ex: LDM MMR, dst POPM MMR PUSHM MMR
STACK ADDRESSING
Function of stack pointer
It is a MMR- 16 bit Filled from highest to lowest address
*-ARx
*ARx-0 *+ARx+0
MOD
6-3
ARF
2-0
addressing. ARF defines the AR used for addressing. Depends on CMPT in ST1.
specifies the AR irrespective of ARP. ARP must always be set to 0 in this mode. . CMPT=1 compatability mode. If ARF=0. ARP selects AR, else ARF select AR and ARF is loaded into ARP when access is completed
contents of the ARs. The ARAUs performed signed 16bit AR arithmetic operations. Ex: MAR- Modify Auxillary Registers STM- loaded with an immediate value using the STM instruction.
DATA TYPES
16 BIT
32 BIT
32 BIT INSTRUCTIONS:
DADD
DSUB DLD
DST
OPERAND ACCESS
There are 3 buses involved in read and write
operations.
THANK YOU!!