Assembly - Instruction

Card Puncher Data Processing

About

Instruction (Machine Language) in Assembly

Syntax

The syntax of an instruction in assembly is as follow:

label: mnemonic [operandArgument{0,3}] [;comment]

where:

  • A mnemonic is a reserved name for a class of instruction opcodes which have the same function.
  • The operands argument.
  • An optional comment

When two operands are present in an arithmetic or logical instruction, the right operand is the source and the left operand is the destination. Some assembly languages put the source and destination in reverse order.

Example:

LOADREG: MOV EAX, SUBTOTAL

Management

List

The list of all instruction are found in the instruction set of the device.

Example: see Intel Instruction Interpretation





Discover More
Card Puncher Data Processing
Assembly - Grammar (Syntax)

in Assembly. An Assembly language script is the input expected by an assembler (compiler). The assembler defines then the precise syntax of an assembler script. Every assembler shares a common set...
Jmp Intel
Assembly - Mnemonic (instruction class)

A mnemonic is a name that groups different opcode that have the same purpose. Precisely, a mnemonic is a reserved name for aclass of instruction opcodes which have the same function. . Below is...
Clock Tick
Computer Clock - Clock Tick (Clock Cycle)

CPU's are marching forward at some frequency, and the period of this frequency is called a Clock Tick or Clock Cycle A 100Mhz processor will receive 100,000,000 clock ticks every second. The tick...
Card Puncher Data Processing
Instruction (Machine Language)

A machine instruction is a unique bit string that a device can identify and execute. An Instruction refers generally to the words of the language understood by the CPU but other device (such as the GPU...
Instruction Format Intel64 Ia32
Intel Instruction Interpretation

This section is based on the section 3-1 - interpreting the instruction pages reference of the intel documentation and used the jmp mnemonic as example. Definition: The jmp mnemonic transfers program...



Share this page:
Follow us:
Task Runner