English
Language : 

GMS30C2116 Datasheet, PDF (198/322 Pages) Hynix Semiconductor – USERS MANUAL
A-24
Branch on Smaller or Equal
Appendix A. Instruction Set Details
BSE
Format:
PCrel format
15
87 6
0
OP-code
0
low-rel
S
1111 0110
S: sign bit of rel
rel = 25 S // low-rel // 0
range -128 ~ 126
Notation:
BSE rel
Description:
If the carry flag C is set (C = 1) or the zero flag is set (Z = 1), place the branch address PC
+ rel (relative of the first byte after the Branch instruction) in the program counter PC and
clear the cache-mode flag M; all condition flags remain unchanged. Then instruction
execution proceeds at the branch address placed in the PC
When the branch condition is not met, the M flag and the condition flags remain
unchanged and instruction execution proceeds sequentially.
Note: rel is signed to allow forward or backward branches.
Operation:
If C=1 or Z=1 then
PC := PC + rel
M := 0
Exceptions:
None.