From ee9d61f078b04406c5b264d4e0e5bd1ea287e6e2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 24 Apr 2026 23:12:51 +0200 Subject: Add the .min and the .max control expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/node.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/xixanta/src/node.rs') 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"), -- cgit v1.2.3