beautypg.com

5 eeprom manipulation method, 1 eeprom manipulation instructions – NEC PD754144 User Manual

Page 83

background image

CHAPTER 5 EEPROM

83

User’s Manual U10676EJ3V0UM

5.5 EEPROM Manipulation Method

5.5.1 EEPROM manipulation instructions

Instructions that can be used to manipulate the EEPROM are shown below, divided into read instructions and

write instructions.

(1) Read manipulation instructions

Instruction Group

Mnemonic

Operand

Transfer instruction

MOV

XA, @HL

MOV

XA, mem

Compare instruction

SKE

XA, @HL

Remark Operation instruction such as ADDS, AND, etc., cannot be used.

(2) Write manipulation instructions

Instruction Group

Mnemonic

Operand

Transfer instruction

MOV

@HL, XA

MOV

mem, XA

XCH

XA, @HL

XCH

XA, mem

Remark INCS (increment/decrement instruction) cannot be used.

An 8-bit memory manipulation instruction is used to manipulate EEPROM. Furthermore, a bit memory

manipulation instruction can be used to check EWST.

A 4-bit memory manipulation instruction cannot be used.

This manual is related to the following products: