diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-14 23:34:03 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-14 23:34:03 +0100 |
| commit | 6aded1e9501634bfffc46f87f65fb605bc1c41d5 (patch) | |
| tree | 9d11ecac9526164af523dcf5d8db9945ae31d948 /lib/xixanta/src/opcodes.rs | |
| parent | 4de5d3b70e1e8ba33e6cb49f94cc77e56a21750f (diff) | |
| download | tools.nes-6aded1e9501634bfffc46f87f65fb605bc1c41d5.tar.gz tools.nes-6aded1e9501634bfffc46f87f65fb605bc1c41d5.zip | |
Implement .asciiz control statement
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/opcodes.rs')
| -rw-r--r-- | lib/xixanta/src/opcodes.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xixanta/src/opcodes.rs b/lib/xixanta/src/opcodes.rs index 455a8ea..7f9da45 100644 --- a/lib/xixanta/src/opcodes.rs +++ b/lib/xixanta/src/opcodes.rs @@ -750,6 +750,7 @@ lazy_static! { functions.insert(String::from(".endrepeat"), Control { control_type: ControlType::EndRepeat, has_identifier: None, required_args: None, touches_context: true }); functions.insert(String::from(".include"), Control { control_type: ControlType::IncludeSource, has_identifier: None, required_args: Some((1, 1)), touches_context: false }); functions.insert(String::from(".res"), Control { control_type: ControlType::ReserveMemory, has_identifier: None, required_args: Some((1, 2)), touches_context: false }); + functions.insert(String::from(".asciiz"), Control { control_type: ControlType::Asciiz, has_identifier: None, required_args: Some((1, 1)), touches_context: false }); functions }; |
