I'm wondering, Does assembler support if staments? (like a C program) Tried something very simple:
org 0h sjmp BEGIN org 50h BEGIN: IF R0 == #45 MOV A, #54 CPL A ELSE MOV A, #45 CPL A ENDIF END
"Did I do something wrong or the assembler does no support if statement?" What you did wrong is to try to guess! Do not guess - read the Manual and get the definitive answer!