0% found this document useful (0 votes)
50 views

Hex Code Bytesmnemonic Operands

The document contains a list of hexadecimal codes and their corresponding mnemonics used in assembly language programming. The codes range from 00 to FF and represent instructions such as NOP, MOV, ADD, CALL, JUMP, BIT operations, LOGICAL operations, and more. The mnemonics provide a symbolic name to refer to machine-level instructions, making programs more readable and writable for humans.

Uploaded by

ansari2er
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Hex Code Bytesmnemonic Operands

The document contains a list of hexadecimal codes and their corresponding mnemonics used in assembly language programming. The codes range from 00 to FF and represent instructions such as NOP, MOV, ADD, CALL, JUMP, BIT operations, LOGICAL operations, and more. The mnemonics provide a symbolic name to refer to machine-level instructions, making programs more readable and writable for humans.

Uploaded by

ansari2er
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

Hex BytesMnemonic Code 00 1 NOP 01 2 AJMP 02 3 LJMP 03 1 RR 04 1 INC 05 2 INC 06 1 INC 07 1 INC 08 1 INC 09 1 INC 0A 1 INC 0B 1 INC 0C 1 INC

0D 1 INC 0E 1 INC 0F 1 INC 10 3 JBC 11 2 ACALL 12 3 LCALL 13 1 RRC 14 1 DEC 15 2 DEC 16 1 DEC 17 1 DEC 18 1 DEC 19 1 DEC 1A 1 DEC 1B 1 DEC 1C 1 DEC 1D 1 DEC 1E 1 DEC 1F 1 DEC 20 3 JB

Operands addr11 addr16 A A direct @R0 @R1 R0 R1 R2 R3 R4 R5 R6 R7 bit, offset addr11 addr16 A A direct @R0 @R1 R0 R1 R2 R3 R4 R5 R6 R7 bit, offset

21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43

2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 3 2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 2 2 2 3

AJMP addr11 RET RL A ADD A, #immed ADD A, direct ADD A, @R0 ADD A, @R1 ADD A, R0 ADD A, R1 ADD A, R2 ADD A, R3 ADD A, R4 ADD A, R5 ADD A, R6 ADD A, R7 JNB bit, offset ACALL addr11 RETI RLC A ADDC A, #immed ADDC A, direct ADDC A, @R0 ADDC A, @R1 ADDC A, R0 ADDC A, R1 ADDC A, R2 ADDC A, R3 ADDC A, R4 ADDC A, R5 ADDC A, R6 ADDC A, R7 JC offset AJMP addr11 ORL direct, A ORLdirect, #immed

44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66

2 2 1 1 1 1 1 1 1 1 1 1 2 2 2 3 2 2 1 1 1 1 1 1 1 1 1 1 2 2 2 3 2 2 1

ORL A, #immed ORL A, direct ORL A, @R0 ORL A, @R1 ORL A, R0 ORL A, R1 ORL A, R2 ORL A, R3 ORL A, R4 ORL A, R5 ORL A, R6 ORL A, R7 JNC offset ACALL addr11 ANL direct, A ANLdirect, #immed ANL A, #immed ANL A, direct ANL A, @R0 ANL A, @R1 ANL A, R0 ANL A, R1 ANL A, R2 ANL A, R3 ANL A, R4 ANL A, R5 ANL A, R6 ANL A, R7 JZ offset AJMP addr11 XRL direct, A XRLdirect, #immed XRL A, #immed XRL A, direct XRL A, @R0

67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

1 1 1 1 1 1 1 1 1 2 2 2 1 2 3 2 2 2 2 2 2 2 2 2 2

XRL A, @R1 XRL A, R0 XRL A, R1 XRL A, R2 XRL A, R3 XRL A, R4 XRL A, R5 XRL A, R6 XRL A, R7 JNZ offset ACALL addr11 ORL C, bit JMP @A+DPTR MOV A, #immed MOVdirect, #immed MOV @R0, #immed MOV @R1, #immed MOV R0, #immed MOV R1, #immed MOV R2, #immed MOV R3, #immed MOV R4, #immed MOV R5, #immed MOV R6, #immed MOV R7, #immed

Hex BytesMnemonic Code 80 2 SJMP 81 2 AJMP 82 2 ANL 83 1 MOVC 84 1 DIV 85 3 MOV 86 2 MOV 87 2 MOV 88 2 MOV 89 2 MOV 8A 2 MOV 8B 2 MOV 8C 2 MOV 8D 2 MOV 8E 2 MOV 8F 2 MOV 90 3 MOV 91 2 ACALL 92 2 MOV 93 1 MOVC 94 2 SUBB 95 2 SUBB 96 1 SUBB 97 1 SUBB 98 1 SUBB 99 1 SUBB 9A 1 SUBB 9B 1 SUBB 9C 1 SUBB 9D 1 SUBB 9E 1 SUBB 9F 1 SUBB A0 2 ORL A1 2 AJMP

Operands offset addr11 C, bit A, @A+PC AB direct, direct direct, @R0 direct, @R1 direct, R0 direct, R1 direct, R2 direct, R3 direct, R4 direct, R5 direct, R6 direct, R7 DPTR, #immed addr11 bit, C A, @A+DPTR A, #immed A, direct A, @R0 A, @R1 A, R0 A, R1 A, R2 A, R3 A, R4 A, R5 A, R6 A, R7 C, /bit addr11

ACALL - Absolute Call ADD, ADDC - Add Accumulator (With Carry) AJMP - Absolute Jump ANL - Bitwise AND CJNE - Compare and Jump if Not Equal CLR - Clear Register CPL - Complement Register DA - Decimal Adjust DEC - Decrement Register DIV - Divide Accumulator by B DJNZ - Decrement Register and Jump if Not Zero INC - Increment Register JB - Jump if Bit Set JBC - Jump if Bit Set and Clear Bit JC - Jump if Carry Set JMP - Jump to Address JNB - Jump if Bit Not Set JNC - Jump if Carry Not Set JNZ - Jump if Accumulator Not Zero JZ - Jump if Accumulator Zero LCALL - Long Call LJMP - Long Jump MOV - Move Memory MOVC - Move Code Memory MOVX - Move Extended Memory MUL - Multiply Accumulator by B NOP - No Operation ORL - Bitwise OR POP - Pop Value From Stack PUSH - Push Value Onto Stack RET - Return From Subroutine RETI - Return From Interrupt RL - Rotate Accumulator Left RLC - Rotate Accumulator Left Through Carry RR - Rotate Accumulator Right RRC - Rotate Accumulator Right Through Carry SETB - Set Bit SJMP - Short Jump SUBB - Subtract From Accumulator With Borrow SWAP - Swap Accumulator Nibbles XCH - Exchange Bytes XCHD - Exchange Digits XRL - Bitwise Exclusive OR Undefined - Undefined Instruction

You might also like