beautypg.com

Ldb %ext,imm8, Ldb %ext,%ba – Epson S1C63000 User Manual

Page 115

background image

S1C63000 CORE CPU MANUAL

EPSON

109

CHAPTER 4: INSTRUCTION SET

LDB %EXT,imm8

Load immediate data imm8 into EXT reg.

1 cycle

Function:

EXT

imm8

Loads the 8-bit immediate data into the EXT register. The E flag is set to "1".

Code:

Mnemonic

MSB

LSB

LDB %EXT,imm8

0

1

0

0

0 i7 i6 i5 i4 i3 i2 i1 i0

0800H–08FFH

Flags:

E

I

C

Z

Mode:

Src: Immediate data
Dst: Register direct
Extended addressing: Invalid

LDB %EXT,%BA

Load BA reg. into EXT reg.

1 cycle

Function:

EXT

BA

Loads the content of the BA register into the EXT register. The E flag is set to "1".

Code:

Mnemonic

MSB

LSB

LDB %EXT,%BA

1

1

1

1

1

1

1

0

1

0

1

0

X

1FD4H, (1FD5H)

Flags:

E

I

C

Z

Mode:

Src: Register direct
Dst: Register direct
Extended addressing: Invalid