Ax51 User's Guide

Instructions

Assembly language instructions specify the program code that is to be assembled by the Ax51 assembler. The Ax51 assembler translates the assembly instructions in your program into machine code and stores the resulting code in an object file.

Assembly instructions have the following general format:

<[>label:<]> mnemonic <[>operand<]> <[>, operand<]> <[>/, operand<]> <[>; comment<]>

Where

labelsymbol name that is assigned the address at which the instruction is located.
mnemonicis the ASCII text string that symbolically represents a machine language instruction.
operandis an argument that is required by the specified mnemonic.
commentis an optional description or explanation of the instruction. A comment may contain any text you wish. Comments are ignored by the assembler.

Refer to the x51 microcontrollers 8051 Instruction Set Manual, where they are listed by mnemonic and by machine language opcode, for more information about assembler instructions.