misc changes, preparing for 8086 module.

This commit is contained in:
ed
2026-09-04 21:02:31 -04:00
parent aa9c4d48f6
commit bfd02f4472
6 changed files with 160 additions and 145 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ FI_ void u64_to_hex(U8 val, char* buf, S4 chars) {
for(S1 i = chars - 1; i >= 0; --i) { buf[i] = hex_chars[val & 0xF]; val >>= 4; }
}
internal UnicodeDecode
I_ UnicodeDecode
utf8_decode(U1* str, U1 max) {
UnicodeDecode result = {1, Max_U4};
U1 byte = str[0];