diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/tq.rs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/bin/tq.rs b/src/bin/tq.rs index b27f702..a41aba9 100644 --- a/src/bin/tq.rs +++ b/src/bin/tq.rs @@ -78,16 +78,18 @@ Environment variables: into the program. Output formats: - <debug> + cmd + CMD module load format used by the CP/M operating system. + debug Print assembled words as human-readable binary literals. - <inhx> + inhx Original 8-bit Intel hex format. - <inhx32> + inhx32 Modified 16-bit Intel hex format used by Microchip. - <raw> + raw Assembled words are converted to big-endian bytestrings and concatenated. Each word is padded to the nearest byte. Words must all be the same width. - <source> + source Print the source file before assembly, with symbols resolved. Created by Ben Bridle. @@ -172,6 +174,7 @@ Created by Ben Bridle. if !dry_run { let result = match format { + Format::Cmd => format_cmd(&segments), Format::Debug => format_debug(&segments), Format::Inhx => format_inhx(&segments), Format::Inhx32 => format_inhx32(&segments), |