USBB17RX78K4-XXX NEC Electronics, USBB17RX78K4-XXX Datasheet - Page 90

no-image

USBB17RX78K4-XXX

Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
tasks. In some systems, however, the STOP mode or IDLE mode may be preferred to the HALT mode. With the
RX78K/IV, therefore, the standby processing is decided by the user. The supplied sample of the standby block,
“nuc_idle.asm”, is shown below.
public
@nuc_idl:
;
hlt_tbl:
;
;
;
;
;
;
;
The RX78K/IV places the CPU in the HALT status as default assumption when there are no longer any selected
Sample “nuc_idle.asm”
Remark
The above is the file supplied as a sample. This file is a routine that can be executed by the RX78K/IV
even if the internal system clock is changed in the user system.
@nuc_idl
cseg
mov
and
shr
mov
movw
addw
br
ei
mov
ret
nop
nop
ei
mov
ret
nop
nop
ei
mov
ret
nop
nop
ei
mov
ret
end
base
x, stbc
x, #0f0h
x, 1
a, #0
bc, #hlt_tbl
bc, ax
bc
stbc, #00000001b
stbc, #00010001b
stbc, #00100001b
stbc, #00110001b
APPENDIX 7
STANDBY FUNCTION
; set halt mode (fxx/2)
; set halt mode (fxx/4)
; set halt mode (fxx/8)
; set halt mode (fxx/16)
81

Related parts for USBB17RX78K4-XXX