Improved Windows DLL calls

This commit is contained in:
Eduard Urbach 2024-08-19 11:11:45 +02:00
parent fa1dce31f3
commit ed6cee0acc
Signed by: eduard
GPG key ID: 49226B848C78F6C8
12 changed files with 124 additions and 68 deletions

9
src/register/DLLCall.go Normal file
View file

@ -0,0 +1,9 @@
package register
import "git.akyoto.dev/cli/q/src/asm"
func (f *Machine) DLLCall(label string) {
f.Assembler.Label(asm.DLLCALL, label)
f.UseRegister(f.CPU.Output[0])
f.postInstruction()
}