From 7822c00e8689c99ded0a360026f4e7ace1f2c87f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 16 Jul 2024 11:12:26 +0200 Subject: Add support for branching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- crates/nasm/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/nasm/src/main.rs') 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 }), }]); -- cgit v1.2.3