validation

This commit is contained in:
ed
2026-09-09 19:24:32 -04:00
parent e24b68028c
commit d08709128a
3 changed files with 160 additions and 29 deletions
+9
View File
@@ -3,6 +3,15 @@
# include "decoder.h"
#endif
typedef Enum_(U1, X8616_ParseStatus) {
x8616_parse_ok = 0x00,
x8616_parse_output_full = 0x01,
x8616_parse_syntax = 0x02,
x8616_parse_invalid_record = 0x03,
x8616_parse_unsupported_form = 0x04,
x8616_parse_unknown_mnemonic = 0x05,
};
typedef Struct_(X8616_ParseRequest) {
Str8 source;
X8616_DecodedInstruction* out_instructions;