Instruction Mnemonic |
Operand |
Comments |
LDI |
8100 |
Load contents of 8100 to
Accumulator |
ANI |
0FH |
Perform AND operation of
input with ‘0F’ |
ADI |
30H |
Add immediately 30H to the
above result |
STA |
8300 |
Store result at 8300 |
LDA |
8100 |
Load contents of 8100 to
Accumulator |
ANI |
F0H |
Perform AND operation of
input with ‘F0’ |
RRC |
|
Rotate Right through carry |
RRC |
|
Rotate Right through carry |
RRC |
|
Rotate Right through carry |
RRC |
|
Rotate Right through carry |
ADI |
30H |
Add immediately 30H to the
above result |
STA |
8301 |
Store result at 8301 |
HLT |
|
Stop |