Sbc r,q, Subtract with carry q-register from r-register, Set carry flag – Epson 6200A User Manual
Page 83
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
1
0
1
0
1
0
1
1
r
1
r
0
q
1
q
0
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
1
1
1
1
0
1
0
0
0
0 0
1
F41H
VI
7
Set
Not affected
Not affected
Not affected
Sets the C (carry) flag.
SCF
C flag
0
1
- C8230 (29 pages)
- 400 (148 pages)
- 400 (38 pages)
- 600 (135 pages)
- 640 (45 pages)
- 700 (10 pages)
- 850 (147 pages)
- 1520 (40 pages)
- C82314 (71 pages)
- RS-485 (2 pages)
- C82307 (37 pages)
- UB E02 (86 pages)
- 440 (240 pages)
- 440 (212 pages)
- 660 (92 pages)
- 5000 (154 pages)
- 5000 (176 pages)
- 9000 (68 pages)
- ARM.POWERED ARM720T (224 pages)
- SD-DSPUSBB (2 pages)
- CMD-2260 (18 pages)
- C823301 (17 pages)
- S1C6200A (98 pages)
- 33+ (10 pages)
- FEH300b (46 pages)
- SED 1520 Series (40 pages)
- Serial Interface GQ-3500 (13 pages)
- ETX-945 (39 pages)
- Photo EX (35 pages)
- C82364 (279 pages)
- 214D-1 (57 pages)
- EM07ZS1647F (168 pages)
- Connect-It SD-DSWIFIB (2 pages)
- ACTIONPC 7000 (10 pages)
- S5U1C63000H2 (35 pages)
- C824 (4 pages)
- C82069* (46 pages)
- 80211b (68 pages)
- C82312 (13 pages)
- S5U1C17801T1100 (60 pages)
- C82324* (57 pages)
- C82372 (22 pages)
- C82315 (48 pages)
- P07303 (36 pages)