COREWAR

/
JMN - Jump if Not Zero
🎯Press [STEP] twice to observe JMN jumping when B-value is non-zero(0/2)
🟢 EDIT MODE (Click cells to modify)
[Addr][Opcode][A (Left)][B (Right)]
📦 DATA / BOMB (DAT)
+2+3
0000
↺JMN
$
$
0001
■DAT
#
#
0002
↺JMP
$
◎ JUMP(A)
0003
■DAT
#
#
◎ B-TARGET
0004
■DAT
$0
$0
++ ADD ROW
0005
■DAT
$0
$0
0006
■DAT
$0
$0
0007
■DAT
$0
$0
0008
■DAT
$0
$0
0009
■DAT
$0
$0
0010
■DAT
$0
$0
0011
■DAT
$0
$0
0012
■DAT
$0
$0
0013
■DAT
$0
$0
0014
■DAT
$0
$0
0015
■DAT
$0
$0
0016
■DAT
$0
$0
0017
■DAT
$0
$0
0018
■DAT
$0
$0
0019
■DAT
$0
$0
0020
■DAT
$0
$0
0021
■DAT
$0
$0
0022
■DAT
$0
$0
0023
■DAT
$0
$0
0024
■DAT
$0
$0
0025
■DAT
$0
$0
0026
■DAT
$0
$0
0027
■DAT
$0
$0
🏟️ARENA (20 ROWS)SCOPE: 0000 - 0019
[CORE MEMORY 800 CELLS (20 ROWS × 40 COLS)]1:1 Row Synced with Editor
TASKS: 0
CYC: 0
📖REDCODE-94 INSTRUCTION REFERENCE(Drag to move)
📚 REDCODE-94 INSTRUCTION REFERENCE (10/19)

JMN - Jump if Not Zero

JMN: Jump if Not Zero

JMN jumps to address A if the value at address B is not zero. The opposite of JMZ.

Syntax

JMN target, test  ; Jump if test is non-zero

Use Cases

Loop While Counter Non-Zero

loop: MOV bomb, @ptr
      ADD #3, ptr
      JMN loop, count  ; Continue while count != 0

Detect Own Code

Check if your own code is still intact:

JMN safe, guard  ; If guard is non-zero, we're ok
JMP emergency    ; Guard was zeroed — we're under attack!

Modifiers

  • .B — Test B-field (default)
  • .A — Test A-field

Strategic Notes

JMN is the complement of JMZ. While scanners use JMZ to skip empty space, JMN can be used to verify that your own code hasn't been damaged by enemy bombing.

📚 REDCODE-94 INSTRUCTION REFERENCE (10/19)

JMN - Jump if Not Zero

JMN: Jump if Not Zero

JMN jumps to address A if the value at address B is not zero. The opposite of JMZ.

Syntax

JMN target, test  ; Jump if test is non-zero

Use Cases

Loop While Counter Non-Zero

loop: MOV bomb, @ptr
      ADD #3, ptr
      JMN loop, count  ; Continue while count != 0

Detect Own Code

Check if your own code is still intact:

JMN safe, guard  ; If guard is non-zero, we're ok
JMP emergency    ; Guard was zeroed — we're under attack!

Modifiers

  • .B — Test B-field (default)
  • .A — Test A-field

Strategic Notes

JMN is the complement of JMZ. While scanners use JMZ to skip empty space, JMN can be used to verify that your own code hasn't been damaged by enemy bombing.