Percent Sign Test
Duane Degn
Posts: 10,588
As discussed in this and other threads, the forum software often doesn't display percent signs correctly.
Here are some examples.
Edit: None of the percent signs disappeared in this test post. I wonder why they do sometimes?
The second line of code should read "cmp iByte, #%0100_1010 wz".
Here's an example from this thread.
%1010AAAX
In quotes:
Using an underscore after the "%".
%_1010AAAX
Now with "noparse" tags.
[noparse]%1010AAAX[/noparse]
So how do use "noparse" insde code tags?
Here are some examples.
Edit: None of the percent signs disappeared in this test post. I wonder why they do sometimes?
and iByte, #%1111_1111 cmp iByte, #%0100_1010 wz if_z call #flashRoutineOn mov statusCog, iByte mov rxPipe, statusCog ' flashByte used as temp variable to hole data pipe number and rxPipe, #%0000_1110
The second line of code should read "cmp iByte, #%0100_1010 wz".
Here's an example from this thread.
%1010AAAX
In quotes:
The address of the EEPROM has this format.
%1010AAAX
Using an underscore after the "%".
%_1010AAAX
Now with "noparse" tags.
[noparse]%1010AAAX[/noparse]
So how do use "noparse" insde code tags?
and iByte, [noparse]#%1111_1111[/noparse] cmp iByte, [noparse]#%0100_1010[/noparse] wz if_z call #flashRoutineOn mov statusCog, iByte mov rxPipe, statusCog ' flashByte used as temp variable to hole data pipe number and rxPipe, [noparse]#%0000_1110[/noparse]