aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasAsm.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-04-11 00:59:04 +0200
committerDrahflow <drahflow@gmx.de>2015-04-11 00:59:04 +0200
commit3e22eb797f02cdb54a5eccc8c6ebce33e1e1d7d5 (patch)
treea3683561e3ca0edc0e431a8aa142b86842db27a8 /compiler/elymasAsm.ey
parentf0a883a15138991e09d4657b7d2aab491dafbc7b (diff)
Sane handling of integer division
Diffstat (limited to 'compiler/elymasAsm.ey')
-rw-r--r--compiler/elymasAsm.ey2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/elymasAsm.ey b/compiler/elymasAsm.ey
index 265ff95..ff57627 100644
--- a/compiler/elymasAsm.ey
+++ b/compiler/elymasAsm.ey
@@ -113,7 +113,7 @@
.base ==:quoteEncodingBufferObjects
{ ==opcodes
- opcodes len 1 sub PAGESIZE div 1 add PAGESIZE mul alloc /codearea defv
+ opcodes len 1 sub PAGESIZE udiv 1 add PAGESIZE mul alloc /codearea defv
sys .asm .|poke =*poke
codearea .base opcodes { -101 poke 1 add } each --
codearea