04-17-2019, 08:23 PM
Which version do you have?
(use zxb --version to get the version)
You should not use RET in an ASM context to return from a SUB / Function except when it's declared as Fastcall. So:
1) Remove the RET
2) Declare the SUB as SUB Fastcall since it has no parameters and its entire body consist of ASM
Try this and tell me. :roll:
(use zxb --version to get the version)
You should not use RET in an ASM context to return from a SUB / Function except when it's declared as Fastcall. So:
1) Remove the RET
2) Declare the SUB as SUB Fastcall since it has no parameters and its entire body consist of ASM
Try this and tell me. :roll: