Mnemonic | Operands | Description | Operation | Flags | Cycles |
---|---|---|---|---|---|
Add without Carry | Rd = Rd + Rr | Z,C,N,V,H,S | 1 | ||
Add with Carry | Rd = Rd + Rr + C | Z,C,N,V,H,S | 1 | ||
Add Immediate To Word |
Rd+1:Rd,K |
Z,C,N,V,S |
2 | ||
Subtract without Carry |
Rd = Rd - Rr |
Z,C,N,V,H,S |
1 | ||
Subtract Immediate | Rd = Rd - K8 | Z,C,N,V,H,S | 1 | ||
Subtract with Carry | Rd = Rd - Rr - C | Z,C,N,V,H,S | 1 | ||
Subtract with Carry Immedtiate | Rd = Rd - K8 - C | Z,C,N,V,H,S | 1 | ||
Logical AND | Rd = Rd · Rr | Z,N,V,S | 1 | ||
Logical AND with Immediate | Rd = Rd · K8 | Z,N,V,S | 1 | ||
Logical OR | Rd = Rd V Rr | Z,N,V,S | 1 | ||
Logical OR with Immediate | Rd = Rd V K8 | Z,N,V,S | 1 | ||
Logical Exclusive OR | Rd = Rd EOR Rr | Z,N,V,S | 1 | ||
One's Complement | Rd = $FF - Rd | Z,C,N,V,S | 1 | ||
Two's Complement | Rd = $00 - Rd | Z,C,N,V,H,S | 1 | ||
Set Bit(s) in Register | Rd = Rd V K8 | Z,C,N,V,S | 1 | ||
Clear Bit(s) in Register | Rd = Rd · ($FF - K8) | Z,C,N,V,S | 1 | ||
Increment Register | Rd = Rd + 1 | Z,N,V,S | 1 | ||
Decrement Register | Rd = Rd -1 | Z,N,V,S | 1 | ||
Test for Zero or Negative | Rd = Rd · Rd | Z,C,N,V,S | 1 | ||
Clear Register | Rd = 0 | Z,N,V,S | 1 | ||
Set Register | Rd = $FF | None | 1 | ||
Subtract Immediate from Word | Rdh:Rdl = Rdh:Rdl - K 6 | Z,C,N,V,S | 2 | ||
Multiply Unsigned | R1:R0 = Rd * Rr | Z,C | 2 | ||
Multiply Signed | R1:R0 = Rd * Rr | Z,C | 2 | ||
Multiply Signed with Unsigned | R1:R0 = Rd * Rr | Z,C | 2 | ||
Fractional Multiply Unsigned | R1:R0 = (Rd * Rr) << 1 | Z,C | 2 | ||
Fractional Multiply Signed | R1:R0 = (Rd *Rr) << 1 | Z,C | 2 | ||
Fractional Multiply Signed with Unsigned | R1:R0 = (Rd * Rr) << 1 | Z,C | 2 |