Adds the contents of Rs1 and Rs2, and moves them
to Rd according to BS (bank select).
Takes 5 cycles to execute.
Example: IADD 0xA3 3 0xA0 0xA1
MPC BS3 C3 P3 P1 P0
---------------------
IADD 0 0 00 A1 A0
- 0 0 00 00 00
- 0 0 00 00 00
- 0 0 00 00 00
- 3 0 A3 00 00
No exceptions.
IADD 0x20 0 0x22 0x21 ! Add content of register 0x21
! to content of register 0x22
! and don't write the result
! to register file
IADD 0x20 1 0x22 0x21 ! Add contents of low banks of
! registers 0x21 and 0x22 and
! move the result in low bank
! of register 0x20
IADD 0x20 2 0x22 0x21 ! Add contents of high banks of
! registers 0x21 and 0x22 and
! move the result in high bank
! of register 0x20
IADD 0x20 3 0x22 0x21 ! Add content of register 0x21
! to content of register 0x22,
! move result to register 0x20