Skip to content

Commit

Permalink
Merge pull request #37 from matushorvath/comments
Browse files Browse the repository at this point in the history
Update comments
  • Loading branch information
matushorvath authored Apr 14, 2024
2 parents 3846143 + 304458e commit 56579a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util.s
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,16 @@ split_16_8_8:
.ENDFRAME

##########
# TODO use multiple entry points pattern, see vm8086 for implementation
# TODO possibly use a table for split_8_4_4, see vm8086 for implementation
split_hi_lo:
.FRAME vin, bits; vh, vl, bit, pow, tmp # returns vh, vl
arb -5

add 0, 0, [rb + vh]
add [rb + vin], 0, [rb + vl]

# TODO Should this be add [rb + bits], 0, [rb + bit]? It would be faster for split_8_4_4.
add 8, 0, [rb + bit]

split_hi_lo_loop:
Expand Down

0 comments on commit 56579a3

Please sign in to comment.