summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2006-11-29 14:00:17 +0000
committerJohn van Groningen2006-11-29 14:00:17 +0000
commit7eba793553ad36dc3e14c5652170ae75f7c1276f (patch)
tree80e97ce48630f97cc9d2f6974f6e83c1a588a17b
parentthe assembler wants eax instead of rax when loading a dword (diff)
fix DtoAC for records
-rw-r--r--astartup.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/astartup.asm b/astartup.asm
index 917f273..0d126dd 100644
--- a/astartup.asm
+++ b/astartup.asm
@@ -1235,7 +1235,7 @@ printD: test al,2
DtoAC_record:
ifdef NEW_DESCRIPTORS
- movsxd rbp,dword ptr (-6)[rbp]
+ movsxd rbp,dword ptr (-6)[rax]
else
movsx rbp,dword ptr (-4)[rbp]
endif