SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 35
V1.4
4.1.4 TO ACCESS DATA in RAM BANK 0
In the RAM bank 0, this area memory can be read/written by these twoaccess methods.
Â
Example 1: To use RAM bank0 dedicate instruction (Such as B0xxx instruction).
B0MOV
A, 12H
; To move content from location 12H of RAM bank 0 to ACC
Â
Example 2: To use indirectly addressing mode with @YZ register.
CLR
Y
; To clear Y register for accessing RAM bank 0.
B0MOV
Z, #12H
; To set an immediate data 12H into Z register.
B0MOV
A, @YZ
; Use data pointer @YZ reads a data from RAM location
; 012H into ACC.