S3F84B8_UM_REV 1.00
6 INSTRUCTION SET
6-74
6.3.61 SB0 — SELECT BANK 0
SB0
Operation
: BANK
0
The SB0 instruction clears the bank address flag in FLAGS register (FLAGS.0) to logic zero and
selects bank 0 register addressing in set 1 area of the register file.
Flags
:
No flags are affected.
Format
:
Bytes Cycles
Opcode
(Hex)
opc
1 4 4F
Example
:
The statement SB0 clears FLAGS.0 to “0” and selects bank 0 register addressing.
6.3.62 SB1 — SELECT BANK 1
SB1
Operation
: BANK
1
The SB1 instruction sets the bank address flag in FLAGS register (FLAGS.0) to logic one and
selects bank 1 register addressing in set 1 area of the register file. (Bank 1 is not implemented in
some S3C8-series microcontrollers.)
Flags
:
No flags are affected.
Format
:
Bytes Cycles
Opcode
(Hex)
opc
1 4 5F
Example
:
The statement SB1 sets FLAGS.0 to “1” and selects bank 1 register addressing, if implemented.