aboutsummaryrefslogtreecommitdiff
path: root/nextpage.inc
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-09 22:59:11 -0500
committerB. Watson <urchlay@slackware.uk>2022-11-09 22:59:11 -0500
commite1aab2e0a37016b0a892405467697d68cdba467f (patch)
treeea2951578ae35bc3daa97cf222abc3cb884d065a /nextpage.inc
parent72e6cbfc6a4b4606f11a6d5285de65238dc0dbd4 (diff)
downloaddla-asm-e1aab2e0a37016b0a892405467697d68cdba467f.tar.gz
Keep drunkwalk and lineaddrs_l/h from crossing page boundaries (3% speedup).
Diffstat (limited to 'nextpage.inc')
-rw-r--r--nextpage.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/nextpage.inc b/nextpage.inc
new file mode 100644
index 0000000..7e13042
--- /dev/null
+++ b/nextpage.inc
@@ -0,0 +1,7 @@
+
+; fill to the start of the next page.
+ .macro nextpage
+ .repeat ((>(*)+1)*256)-*
+ .byte 0
+ .endrep
+ .endmacro