diff options
Diffstat (limited to 'subx/030---operands.cc')
-rw-r--r-- | subx/030---operands.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/030---operands.cc b/subx/030---operands.cc index aa3f2ded..3e103b66 100644 --- a/subx/030---operands.cc +++ b/subx/030---operands.cc @@ -271,6 +271,7 @@ word hex_byte_text(uint8_t val) { string hex_byte_to_string(uint8_t val) { ostringstream out; + // uint8_t prints without padding, but int8_t will expand to 32 bits again out << HEXBYTE << NUM(val); return out.str(); } |