Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
MSB LSB
MSB LSB
C –
Z –
D –
I –
C –
Z –
D –
I –
S1C6200/6200A CORE CPU MANUAL EPSON 77
3 INSTRUCTION SET
SBC r,q Subtract with carry q-register from r-register
SBC r,q
r ← r - q - C
10101011 r1 r0 q1 q0 AB0H to ABFH
IV
7
Set if a borrow is generated; otherwise, reset.
Set if the result is zero; otherwise, reset.
Not affected
Not affected
Subtracts the carry flag and the contents of the q-register from the r-register.
SBC A,B SBC MY,MX
A register 1110 1011 1011
B register 0010 0010 0010
Memory (MX) 1001 1001 1001
Memory (MY) 0100 0100 1011
C flag 1 0 1
Z flag 0 0 0
SCF Set carry flag
SCF
C ← 1
11110100 0 001 F41H
VI
7
Set
Not affected
Not affected
Not affected
Sets the C (carry) flag.
SCF
C flag 0 1