aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/instruction.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-17 15:09:36 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-12 07:33:40 +0100
commit376dcb684ce779a7051bbc9a95359114e94cae5e (patch)
tree7bff7cc3dcbb4055efffcb3a172fc4aa238e9380 /lib/xixanta/src/instruction.rs
parent7822c00e8689c99ded0a360026f4e7ace1f2c87f (diff)
downloadtools.nes-376dcb684ce779a7051bbc9a95359114e94cae5e.tar.gz
tools.nes-376dcb684ce779a7051bbc9a95359114e94cae5e.zip
Add support for procedures
Procedures are marked with the '.proc' control statement and work both as a scoping mechanism and as a label that can be referenced. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/instruction.rs')
-rw-r--r--lib/xixanta/src/instruction.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xixanta/src/instruction.rs b/lib/xixanta/src/instruction.rs
index c635644..2d6c044 100644
--- a/lib/xixanta/src/instruction.rs
+++ b/lib/xixanta/src/instruction.rs
@@ -237,6 +237,7 @@ pub struct Literal {
pub identifier: PString,
pub bytes: [u8; 2],
pub size: u8,
+ pub resolved: bool,
}
impl Encodable for Literal {