aboutsummaryrefslogtreecommitdiff
path: root/include/data.s
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-08-15 11:19:56 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-08-15 11:19:56 +0200
commit2e1dfe4b2943fa4339081b8bb1ce03ed9470169d (patch)
tree9de676545f81fd74675b813186400cd1b5fddfde /include/data.s
parent27a869869a20047bc1798a16bf87b3b4970c5f2d (diff)
downloaduskel-2e1dfe4b2943fa4339081b8bb1ce03ed9470169d.tar.gz
uskel-2e1dfe4b2943fa4339081b8bb1ce03ed9470169d.tar.bz2
unify stuffs
Diffstat (limited to 'include/data.s')
-rw-r--r--include/data.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/data.s b/include/data.s
index 51f31dc..2c512d4 100644
--- a/include/data.s
+++ b/include/data.s
@@ -7,7 +7,7 @@ _data_s_file:
CON_evacuate1:
retq # TODO
CON_scavenge1:
- add $0x10, %rsi
+ add $020, %rsi
retq
# Format of the info tables:
@@ -31,7 +31,7 @@ LIST_evacuate:
# [] | a : b
retq #TODO
LIST_scavenge:
- mov 0x8(%rbp), %rax
+ mov 010(%rbp), %rax
shl $1, %rax
add $2, %rax
shl $3, %rax
@@ -49,7 +49,7 @@ LIST_code:
FUN_evacuate:
retq #TODO
FUN_scavenge:
- mov 0x10(%rbp), %rax
+ mov 020(%rbp), %rax
add $3, %rax
shl $3, %rax
add %rax, %rsi
@@ -98,14 +98,14 @@ FUN4_code:
IND_evacuate:
retq #TODO
IND_scavenge:
- add $0x10,%rsi
+ add $020,%rsi
retq
IND_info:
cell IND_evacuate
cell IND_scavenge
cell 0
IND_code:
- enter 0x8(%rbp)
+ enter 010(%rbp)
# THU objects (gc implementation only, actual THUs are defined by functions)
# | ptr | args | arg[0] | arg[1] | ... | arg[args] |
@@ -113,7 +113,7 @@ IND_code:
THU_evacuate:
retq #TODO
THU_scavenge:
- mov 0x8(%rbp), %rax
+ mov 010(%rbp), %rax
add $2,%rax
shl $3,%rax
add %rax,%rsi