SN8P2604
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 98
Version 1.1
Note: S8KD-2 ICE can’t emulate SN8P2604’s “PUSH, POP” instructions.
Note: The instruction macros of above table are built in “SN8P2X_ICE.H”. The file must be included in
user program.
Example: Including SN8P2X_ICE.H in user program.
CHIP SN8P2604
.DATA
ICE_MODE EQU
0
INCLUDESTD
SN8P2X_ICE.H
; SN8P2X_ICE.H is a standard macro file and included by
“INCLUDESTD”
.
.CODE
User
program…
…
Example: Instructions are replaced by instruction macro.
CHIP SN8P2604
.DATA
ICE_MODE EQU
0
INCLUDESTD SN8P2X_ICE.H
.CODE
User
program…
; ADD
BUF1,
A
@ADD
BUF1, A
; “ADD M,A” is replaced by “@ADD M,A”.
…
; AND
BUF1,
A
@AND
BUF1, A
; “AND M,A” is replaced by “@AND M,A”.
…