Experimenting with Addressing Modes, Arrays and Flags

Write your own program with in-line assembler code to:

  1. demonstrate immediate, direct, indirect and indexed addressing;
  2. read a one-dimensional array;
  3. read a two-dimensional array;
  4. monitor the setting of the sign flag (SF) during the subtraction of integers. JS is the mnemonic for Jump if Sign (negative), JNS means Jump if No Sign and JMP is an unconditional jump.
Programming - a skill for life!

Registers, addressing modes and flags