/* Example of behavior change depending on some condition */ .main: movc ax 1 movc bx 2 gt cx ax bx jnz @true cx jz @false cx .true: const8 true.msg "true\n" movc cx @true.msg movc dx #true.msg jmp @print .false const8 false.msg "false\n" movc cx @false.msg movc dx #false.msg jmp @print .print: movc ax 1 movc bx 1 sys jmp @end .end: movc ax 0 exit