summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-12-08 10:42:10 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2020-12-09 14:09:28 -0500
commitf8965c0fb6294729e3e622b7802f13e2d2812696 (patch)
treefa8431d4c31506c44dd5edc3451349ef265265ae /sux.h
parenta232e9f691187fdb05c35c14d4152d17f4babaf5 (diff)
- Implemented support for the Orthogonal extension into
both the assembler, and the emulator. I finally figured out how I could get support for the Ortho extension implemented into the old assembler. The only reason for doing this, is to buy me some while I start work on the new assembler, and to help me get an idea for how to do the same in the new assembler.
Diffstat (limited to 'sux.h')
-rw-r--r--sux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sux.h b/sux.h
index c532c6e..6d4d283 100644
--- a/sux.h
+++ b/sux.h
@@ -856,6 +856,7 @@ static /*inline*/ uint64_t mov(struct sux *cpu, uint64_t src, uint64_t size, uin
}
static /*inline*/ uint64_t set(struct sux *cpu, uint8_t flag, uint8_t thread) {
+ setflag(flag == 0, Z);
return (flag != 0);
}