diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-24 23:12:51 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-24 23:12:51 +0200 |
| commit | ee9d61f078b04406c5b264d4e0e5bd1ea287e6e2 (patch) | |
| tree | 23dfc1e95c7e5d9ff871a044f4f4e3773f3ecbe1 /lib/xixanta/src/node.rs | |
| parent | 948228f0e250d191a97359e97faa6ee4934e9e7a (diff) | |
| download | tools.nes-ee9d61f078b04406c5b264d4e0e5bd1ea287e6e2.tar.gz tools.nes-ee9d61f078b04406c5b264d4e0e5bd1ea287e6e2.zip | |
Add the .min and the .max control expressions
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta/src/node.rs')
| -rw-r--r-- | lib/xixanta/src/node.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xixanta/src/node.rs b/lib/xixanta/src/node.rs index ee3ae24..d91177e 100644 --- a/lib/xixanta/src/node.rs +++ b/lib/xixanta/src/node.rs @@ -156,6 +156,8 @@ pub enum ControlType { Byte, Word, BigEndianWord, + Max, + Min, Addr, IncBin, StartRepeat, @@ -189,6 +191,8 @@ impl fmt::Display for ControlType { ControlType::Byte => write!(f, ".byte/.db"), ControlType::Word => write!(f, ".word/.dw"), ControlType::BigEndianWord => write!(f, ".dbyt/.be/.bigendian"), + ControlType::Max => write!(f, ".max"), + ControlType::Min => write!(f, ".min"), ControlType::Addr => write!(f, ".addr"), ControlType::IncBin => write!(f, ".incbin"), ControlType::StartRepeat => write!(f, ".repeat"), |
