![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/2/8d/28d7bc37-c618-49b2-b7e5-c87e323504bb/28d7bc37-c618-49b2-b7e5-c87e323504bb-bg4f.png)
S1C63000 CORE CPU MANUAL EPSON 73
CHAPTER 4: INSTRUCTION SET
ADD %ir,sign8 Add immediate data sign8 to ir reg. 1 cycle
Function: ir ← ir + sign8
Adds the signed 8-bit immediate data sign8 (-128 to 127) to the ir register (X or Y). This instruc-
tion does not affect the C flag regardless of the operation result.
Code:
Mnemonic MSB LSB
ADD %X,sign8 01100s7s6s5s4s3s2s1s00C00H–0CFFH
ADD %Y,sign8 01101s7s6s5s4s3s2s1s00D00H–0DFFH
Flags: EICZ
↓ ––↕
Mode: Src: Immediate data
Dst: Register direct
Extended addressing: Valid
Extended LDB %EXT,imm8
operation: ADD %ir,sign8 ir ← ir + sign16 (upper 8-bit: imm8, lower 8-bit: sign8)
AND %r,%r' Logical AND of r' reg. and r reg. 1 cycle
Function: r ← r ∧ r'
Performs a logical AND operation of the content of the r' register (A or B) and the content of
the r register (A or B), and stores the result in the r register.
Code:
Mnemonic MSB LSB
AND %A,%A 110100111000X1A70H, (1A71H)
AND %A,%B 110100111001X1A72H, (1A73H)
AND %B,%A 110100111010X1A74H, (1A75H)
AND %B,%B 110100111011X1A76H, (1A77H)
Flags: EICZ
↓ ––↕
Mode: Src: Register direct
Dst: Register direct
Extended addressing: Invalid