We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c94d35 commit d22645bCopy full SHA for d22645b
src/assembly_scanner.cpp
@@ -165,7 +165,7 @@ NONNULL_PTR(const std::vector<NONNULL_PTR(std::vector<instruction>)>) assembly_s
165
}
166
arg_value = static_cast<int24_t>(ul);
167
} else if (argument[0] == '#' && argument.size() == 2) {
168
- arg_value = static_cast<int24_t>(argument[1] - '0');
+ arg_value = argument[1];
169
if (arg_value < INT24_C(0) || arg_value > INT24_C(9)) {
170
invalid_literal(argument);
171
0 commit comments