Experimenting with Addressing Modes, Arrays and Flags
Write your own program with in-line assembler code to:
- demonstrate immediate, direct, indirect and indexed addressing;
- read a one-dimensional array;
- read a two-dimensional array;
- 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.