diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-07-16 11:12:26 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-12 07:32:52 +0100 |
| commit | 7822c00e8689c99ded0a360026f4e7ace1f2c87f (patch) | |
| tree | e2bc22aeea0a172ee7aee5e4a2a4b603a495b9b8 /crates | |
| parent | c6c9aa4e5f3e5a01fcb9ccabf6dbd2f6da277650 (diff) | |
| download | tools.nes-7822c00e8689c99ded0a360026f4e7ace1f2c87f.tar.gz tools.nes-7822c00e8689c99ded0a360026f4e7ace1f2c87f.zip | |
Add support for branching
This is a bare bones implementation of it, and there's a lot of nuance
that it's being missed, but at least the fundamentals have been
implemented already.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/nasm/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/nasm/src/main.rs b/crates/nasm/src/main.rs index 579ec02..940e04b 100644 --- a/crates/nasm/src/main.rs +++ b/crates/nasm/src/main.rs @@ -35,8 +35,8 @@ fn main() -> Result<()> { // TODO: provide a handier way for this. let mut assembler = Assembler::new(vec![Segment { name: String::from("CODE"), - start: 0x00, - size: 0x10000, + start: 0x1000, + size: 10, fill_value: Some(Fill { value: 0x00 }), }]); |
