From 99e38d560ce5b4cab3cc54628c02b9919095e965 Mon Sep 17 00:00:00 2001 From: neauoire Date: Sun, 17 Oct 2021 13:16:58 -0700 Subject: [PATCH] Fixed JNZ comment for uxn.c --- src/uxn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxn.c b/src/uxn.c index b71ef48..899ed7d 100644 --- a/src/uxn.c +++ b/src/uxn.c @@ -105,7 +105,7 @@ uxn_eval(Uxn *u, Uint16 vec) case 0x0a: /* GTH */ a = pop(u->src), b = pop(u->src); push8(u->src, b > a); break; case 0x0b: /* LTH */ a = pop(u->src), b = pop(u->src); push8(u->src, b < a); break; case 0x0c: /* JMP */ a = pop(u->src); warp(u, a); break; - case 0x0d: /* JNZ */ a = pop(u->src); if(pop8(u->src)) warp(u, a); break; + case 0x0d: /* JCN */ a = pop(u->src); if(pop8(u->src)) warp(u, a); break; case 0x0e: /* JSR */ a = pop(u->src); push16(u->dst, u->ram.ptr); warp(u, a); break; case 0x0f: /* STH */ a = pop(u->src); push(u->dst, a); break; /* Memory */