From here, I have the following example:
clr r16 ; Clear r16
ser r17 ; Set r17
out $18,r16 ; Write zeros to Port B
nop ; Wait (do nothing)
out $18,r17 ; Write ones to Port B
My question is that what does $18
mean in the last line?
I know it stands for PortB. I would like to know more about its syntax.