INSTRUCTION SET S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
6-50
LD Load
LD (Continued)
Examples: Given: R0 = 01H, R1 = 0AH, register 00H = 01H, register 01H = 20H,
register 02H = 02H, LOOP = 30H, and register 3AH = 0FFH:
LD R0,#10H R0 = 10H
LD R0,01H R0 = 20H, register 01H = 20H
LD 01H,R0 Register 01H = 01H, R0 = 01H
LD R1,@R0 R1 = 20H, R0 = 01H
LD @R0,R1 R0 = 01H, R1 = 0AH, register 01H = 0AH
LD 00H,01H Register 00H = 20H, register 01H = 20H
LD 02H,@00H Register 02H = 20H, register 00H = 01H
LD 00H,#0AH Register 00H = 0AH
LD @00H,#10H Register 00H = 01H, register 01H = 10H
LD @00H,02H Register 00H = 01H, register 01H = 02, register 02H = 02H
LD R0,#LOOP[R1] R0 = 0FFH, R1 = 0AH
LD #LOOP[R0],R1 Register 31H = 0AH, R0 = 01H, R1 = 0AH