# The OS/K Team licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. #---------------------------------------------------------------------------# # Jump instructions # #---------------------------------------------------------------------------# # # Jump (JMP) instruction # # EIP = $1 # jmp 1 jeaxz 1 jecxz 1 jeaxnz 1 jecxnz 1 # # ECX-dependent jump (LOOP) instruction # # IF (ECX > 0) THEN # ECX = ECX - 1 # EIP = $1 # FI # loop 1 # # Conditional absolute jumps (branches) (BCH) # # IF (COND) THEN # EIP = $3 # FI # # reg == 0 bzr 2 # reg != 0 bnz 2 # (s)reg < 0 bltz 2 # r1 == r2 beq 3 # r1 != r2 bne 3 # (s)r1 < (s)r2 blt 3 # r1 < r2 bltu 3 # (s)r1 <= (s)r2 blte 3 # r1 <= r2 blteu 3