•Any location on
general purpose RAM can be accessed freely using
direct or indirect addressing modes.
E.g., MOV A, 5FH ;contents of 5FH location will be loaded in A
E.g., MOV R0, #5FH ; value 5FH will be loaded in register R0
MOV A, @R0 ;
data will be loaded in A which is pointed ; at by
R0
•
•Powerful feature that
bits can be set, cleared, ANDed, ORed, etc. with
a single instruction
E.g., SETB 67H ; to set bit 67H
Most microprocessors will do like
MOV A, 2CH ; read entire byte
ORL A,
#10000000B ; set MSB
MOV 2CH, A ;
write back entire byte