summaryrefslogtreecommitdiff
path: root/home/math.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
commite1659ecd41dfac70eb021c0f5fe983ed6f043433 (patch)
tree86ec6137c666650168716247fa63241e79b1788b /home/math.asm
parentf3f0e711bf4f4205fd29f2b448c93ff5597507e5 (diff)
Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
Diffstat (limited to 'home/math.asm')
-rw-r--r--home/math.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/home/math.asm b/home/math.asm
index 8b3db6f..dd7718d 100644
--- a/home/math.asm
+++ b/home/math.asm
@@ -1,10 +1,10 @@
include "constants.asm"
-if DEBUG
-SECTION "Math utility functions", ROM0 [$3380]
-else
-SECTION "Math utility functions", ROM0 [$3344]
-endc
+; if DEBUG
+SECTION "home/math.asm", ROM0
+; else
+; SECTION "Math utility functions", ROM0 [$3344]
+; endc
Multiply::
push hl
@@ -22,4 +22,4 @@ Divide::
pop bc
pop de
pop hl
- ret
+ ret \ No newline at end of file