From ea19f3e326e772ab14f57d2d17f8e8f337b8ae52 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 28 Nov 2018 03:51:08 +0100 Subject: [PATCH] fix asm syntax errors (#1) --- asm/beta.asm | 2 +- asm/bombtornado.asm | 2 +- asm/print.asm | 2 +- asm/spawn O EUDB MQ.asm | 2 +- asm/spawn mm.asm | 4 ++-- asm/spawn oot.asm | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/asm/beta.asm b/asm/beta.asm index 717c9e5..61a1db4 100644 --- a/asm/beta.asm +++ b/asm/beta.asm @@ -16,7 +16,7 @@ [starting_exit]: 0x8014533C [default_save]: 0x801C6898 -[link_object_ptr]: 0x803FFFF4 // actually just an offset of link_actor? +[link_object_ptr]: 0x803FFFF4 ; actually just an offset of link_actor? [scene_record_size]: 0x14 diff --git a/asm/bombtornado.asm b/asm/bombtornado.asm index d88fd70..bdb66d2 100644 --- a/asm/bombtornado.asm +++ b/asm/bombtornado.asm @@ -17,7 +17,7 @@ [at_bomb]: 0x0009 -[rotate_amount]: 0x3E567750 // pi/15 +[rotate_amount]: 0x3E567750 ; pi/15 // F12 = input (single), F0 = output (single), F4 = output (double) [sinf]: 0x80088350 diff --git a/asm/print.asm b/asm/print.asm index 6bdcd87..8087db5 100644 --- a/asm/print.asm +++ b/asm/print.asm @@ -14,7 +14,7 @@ [SetTextXY]: 0x800FB41C [SetTextString]: 0x800FBCB4 [TxtPrinter]: 0x800FBB60 -[InitTxtStruct]: 0x800FBB8C // unused here; we set it up inline +[InitTxtStruct]: 0x800FBB8C ; unused here; we set it up inline [DoTxtStruct]: 0x800FBC1C [UpdateTxtStruct]: 0x800FBC64 push 4, 1, ra diff --git a/asm/spawn O EUDB MQ.asm b/asm/spawn O EUDB MQ.asm index 2e6c790..5292be2 100644 --- a/asm/spawn O EUDB MQ.asm +++ b/asm/spawn O EUDB MQ.asm @@ -51,7 +51,7 @@ [SetTextXY]: 0x800FB41C [SetTextString]: 0x800FBCB4 [TxtPrinter]: 0x800FBB60 -[InitTxtStruct]: 0x800FBB8C // unused here; we set it up inline +[InitTxtStruct]: 0x800FBB8C ; unused here; we set it up inline [DoTxtStruct]: 0x800FBC1C [UpdateTxtStruct]: 0x800FBC64 diff --git a/asm/spawn mm.asm b/asm/spawn mm.asm index 97032bc..e4dc880 100644 --- a/asm/spawn mm.asm +++ b/asm/spawn mm.asm @@ -25,13 +25,13 @@ [SetTextXY]: 0x80085A2C [SetTextString]: 0x800860D8 [TxtPrinter]: 0x80085FE4 -[InitTxtStruct]: 0x80086010 // unused here; we set it up inline +[InitTxtStruct]: 0x80086010 ; unused here; we set it up inline [DoTxtStruct]: 0x8008606C [UpdateTxtStruct]: 0x800860A0 .include "spawn.asm" -[whatever]: 0x807D0000 // stupid hack since i can't store/restore PC (not yet!) +[whatever]: 0x807D0000 ; stupid hack since i can't store/restore PC (not yet!) .org @whatever push 5, ra lhu t0, 0(a1) diff --git a/asm/spawn oot.asm b/asm/spawn oot.asm index c5035aa..49f3e9d 100644 --- a/asm/spawn oot.asm +++ b/asm/spawn oot.asm @@ -25,7 +25,7 @@ [SetTextXY]: 0x800CBEC8 [SetTextString]: 0x800CC588 [TxtPrinter]: 0x800CC480 -[InitTxtStruct]: 0x800CC4AC // unused here; we set it up inline +[InitTxtStruct]: 0x800CC4AC ; unused here; we set it up inline [DoTxtStruct]: 0x800CC508 [UpdateTxtStruct]: 0x800CC550