11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assembler language structureConditional assembly instructions┌───────────────┐ ┌───────────────┐ ┌───────────────┐│ │ │ │ │ ││ NAME │ │ OPERATION │ │ OPERAND ││ Field │ │ Field │ │ Field ││ │ │ │ │ ││ │ │ │ │ │└───────┬───────┘ └───────┬───────┘ └───────┬───────┘│ │ │ Which │ ││ can be │ │┌────────────┴────────────┐ Which Which │ must be │ can be┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐│ │ │ │ │ │ │ ││ Sequence │ │ Variable │ │ A symbolic │ │ Zero or more ││ Symbol │ │ Symbol │ │ Operation │ │ operands ││ or space │ │ │ │ Code │ │ ││ (e.g. .SEQ) │ │ (e.g. &VAR) │ │ │ │ │└───────────────┘ └───────────────┘ └───────────────┘ └───────┬───────┘│ Composed of┌─────────────────────────┬─────────────────────────┬─────────────────────────┤ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐│ │ │ │ │ │ │ ││ Sequence │ │ Variable │ │ Expression │ │ (Exp)seq─sym ││ Symbol │ │ Symbol │ │ or │ │ (e.g. ││ │ │ │ │ (Expression) │ │ (&A EQ 1).SEQ)││ │ │ │ │ │ │ │└───────────────┘ └───────────────┘ └───────┬───────┘ └───────────────┘│ Which can be any│ combination of│ variable symbols│ and other characters│ that constitute an┌─────────────────────────┼─────────────────────────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐│ │ │ │ │ ││ Arithmetic │ │ Logical │ │ Character ││ Expression │ │ Expression │ │ Expression ││ │ │ (e.g. │ │ ││ (e.g. &A+1) │ │ (&B1 OR &B2)) │ │ (e.g. ’JAN&C’)│└───────────────┘ └───────────────┘ └───────────────┘Figure 6. Conditional assembly instructionsMacro instruction statements are described in Figure 7 on page 26.Chapter 2. Coding and structure 25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!