diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-16 22:05:49 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-16 22:05:49 +0100 |
| commit | bc0f8fa2607f1ef570996baa88bb9a6de06cbd5a (patch) | |
| tree | 6d539a1f46ce15baac4f68d93af63ce9d0348d63 /lib/xixanta/src/parser.rs | |
| parent | 2455e2bbcfb4372b13a351471a49a585ceb1597c (diff) | |
| download | tools.nes-bc0f8fa2607f1ef570996baa88bb9a6de06cbd5a.tar.gz tools.nes-bc0f8fa2607f1ef570996baa88bb9a6de06cbd5a.zip | |
Permit 16-bit decimal values
As a remnant of old code, the 'parse_decimal' function was not allowing
for decimal values larger than 8-bits. This was not the case in other
areas such as 'parse_hexadecimal', and in the rest of the code we
already cover that immediates are not too big in instructions. Hence,
this restriction can be lift up and allow up to 16-bit decimal literals.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/parser.rs')
0 files changed, 0 insertions, 0 deletions
