I am updating my inline assembly code to work with the changes in 4.2
and have test code to verify the changes. This does not seem related to
inline assembly, but what looks like an incorrect optimization.
Here is the source:
void test_number(char tnum)
{
disp_clear();
disp_curs(0);
di
I agree, parts of that assembly are weird. I don't think that code would
work properly.
pusha
ld (0x01, sp), a
So, take the argument in A register, push it onto the stack ('cause we
want to later use A to pass a value of zero in call to _tm1638_curs)...
but then loa