fix(vm/compiler): use more yasm-compatible syntax

Closes #134.
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-05-05 11:34:47 +03:00
parent 10d20cd26f
commit 84d90cf0f3
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ su_update_voices_trackloop:
movzx eax, byte [{{.SI}}] ; eax = current pattern
imul eax, {{.PatternLength}} ; eax = offset to current pattern data
{{- .Prepare "su_patterns" .AX | indent 4}}
movzx eax,byte [{{.Use "su_patterns" .AX}},{{.DX}}] ; eax = note
movzx eax,byte [{{.Use "su_patterns" .AX}} + {{.DX}}] ; eax = note
push {{.DX}} ; Stack: ptrnrow
xor edx, edx ; edx=0
mov ecx, ebx ; ecx=first voice of the track to be done