Clr Clear - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

INSTRUCTION SET
CLR
— Clear
CLR
dst
dst ← "0"
Operation:
The destination location is cleared to "0".
Flags:
No flags are affected.
Format:
opc
Examples:
Given: Register 00H = 4FH, register 01H = 02H, and register 02H = 5EH:
CLR
CLR
In Register (R) addressing mode, the statement "CLR 00H" clears the destination register 00H
value to 00H. In the second example, the statement "CLR @01H" uses Indirect Register (IR)
addressing mode to clear the 02H register value to 00H.
6-28
dst
00H
Register 00H = 00H
@01H →
Register 01H = 02H, register 02H = 00H
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
Bytes
Cycles
Opcode
2
4
4
Addr Mode
(Hex)
dst
B0
R
B1
IR

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents