- Opcode: 0x8E
- Short name: MOD2
- Long name: Modulus (16-bit)
- const Bit D: Destination bank
- const Bit S: Source bank
- const UByte Dest: Contains the nominator of the division and receives the remainder.
- const SWord Den: The denominator of the division.
Divides â€œDestâ€ by â€œDenâ€ and stores the remainder back into â€œDestâ€. If the Source Bank is 0 then the â€œDenâ€ is the denominator. If the Source Bank is an 16 bit bank, then the â€œDenâ€ is the address in that bank where the denominator is.