uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 99e38d560ce5b4cab3cc54628c02b9919095e965
parent df6f123c5418d632d3f0b5f7aa2cf952d7a01931
Author: neauoire <aliceffekt@gmail.com>
Date:   Sun, 17 Oct 2021 13:16:58 -0700

Fixed JNZ comment for uxn.c

Diffstat:
Msrc/uxn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 */