Improved abc core
This commit is contained in:
parent
14ee797a71
commit
e0af1a40a1
|
@ -51,10 +51,10 @@ uxn_eval(Uxn *u, Uint16 pc)
|
|||
Uint16 tt, a, b, c;
|
||||
if(!pc || u->dev[0x0f]) return 0;
|
||||
for(;;) {
|
||||
Uint8 ins = ram[pc++], m2 = ins & 0x20;
|
||||
Stack *s = ins & 0x40 ? &u->rst : &u->wst;
|
||||
if(ins & 0x80) kp = s->ptr, sp = &kp;
|
||||
else sp = &s->ptr;
|
||||
Uint8 ins = ram[pc++];
|
||||
/* 2 */ Uint8 m2 = ins & 0x20;
|
||||
/* r */ Stack *s = ins & 0x40 ? &u->rst : &u->wst;
|
||||
/* k */ if(ins & 0x80) kp = s->ptr, sp = &kp; else sp = &s->ptr;
|
||||
switch(ins & 0x1f) {
|
||||
case 0x00: case 0x20:
|
||||
switch(ins) {
|
||||
|
|
Loading…
Reference in New Issue