ADRESS
|
MNEMONICS
|
HEX CODE
|
DESCRIPTION
|
4100
|
MOV A,#12
|
74
|
Move data to accumulator
|
4101
|
|
12
|
|
4102
|
CPL A
|
|
Complement A
|
4103
|
MOV DPTR # 4200
|
90
|
Move data to the DPTR
|
4104
|
|
00
|
|
4105
|
|
42
|
|
4106
|
MOV X,@DPTR,A
|
F0
|
Move A to DPTR
|
4107
|
INC A
|
02
|
Increment A
|
4108
|
INC DPTR
|
A3
|
Increment data pointer
|
4109
|
MOV X,@DPTR,A
|
F0
|
Move A to DPTR
|
410A
|
SJMP 410E
|
80
|
|
410B
|
|
0E
|
Stop the program
|
410C
|
|
41
|
|
Thursday, 20 February 2014
Hexcode for implementation of 1s & 2s complement using 8051
Share This
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment