You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new printchar instruction has been added to the latest version (BE).
While it is possible to create the instruction using the mlog function:
inline def printchar(ascii)
mlog("printchar", in ascii);
end;
the problem is that the instruction manipulates the text buffer, which the optimizer is unaware of. For safe use the print merging optimization would have to be turned off by #set print-merging = none;.
In the next version, the instruction will be added to the Logic 8 instruction set, the optimizer will be made aware of it, constant arguments will be properly evaluated and merged and the processor emulator will recognize the instruction.
Notes:
The instruction allows printing double quotes to the text buffer.
The instruction allows printing content icons directly. This should be recognized and potentially optimized by print merger.
The text was updated successfully, but these errors were encountered:
A new
printchar
instruction has been added to the latest version (BE).While it is possible to create the instruction using the
mlog
function:the problem is that the instruction manipulates the text buffer, which the optimizer is unaware of. For safe use the print merging optimization would have to be turned off by
#set print-merging = none;
.In the next version, the instruction will be added to the Logic 8 instruction set, the optimizer will be made aware of it, constant arguments will be properly evaluated and merged and the processor emulator will recognize the instruction.
Notes:
The text was updated successfully, but these errors were encountered: