View Single Post
Old 19th Dec 2021, 3:45 pm   #29
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 8,238
Default Re: Yet another MK14 tape interface (ESP32).

The cause for confusion seems to be that Slothie referred to a LABEL Ret: whereas RET in the example program is one of SBASM3's psuedo-instructions.

Although handy, the JS pseudo-instruction and its RET counterpart only really serve to mask the alarming number of bytes that a subroutine call costs in SC/MP - I sometimes think it's better to be aware of how many bytes you are using even if it means writing code out in full so you can count every byte.

Like Phil, I'm not keen on Macros or even #include libraries myself, I prefer everything in one big single source file so I can whizz up and down and look at any part of it at will.
SiriusHardware is offline   Reply With Quote