Short Immediate Addressing Mode (IMMe4)

A 4-bit immediate operand is encoded in the instruction to provide a very efficient way to initialize registers or variables with the common values -1, 1, 2, 3,...13, 14, or 15 (automatically sign-extended to the required size).

Listing: Short Immediate Addressing Mode

main: LD D0,#10
      CMP D0,#10

      BNE main