Immediate

The opcode contains the value to use with the instruction rather than the address of this value. The effective address of the instruction is specified using the # character as in the example below.

Example:

             XDEF Entry
  MyData:    SECTION
  data:      DS.B 1
  MyCode:    SECTION

  Entry:
  main:      
  LDA #100 
             BRA main
  

In this example, the decimal value 100 is loaded in register A.