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).
main: LD D0,#10 CMP D0,#10 BNE main