Re: Something wrong with PBP?

Originally Posted by
Mike, K8LH
I suspect if I keep looking I might find an explanation for strange assembly language like that below...
Cheerful regards, Mike
Code:
MOVE?BB FDutyVar, BuffAddr#v(FDutyVar)
MOVE?BB is a PBP macro. It move the value of a Byte var into another BYTE var.
Buffaddr#v(FDutyVar)
#v is a MPASM text substitution.
How it works: assume the value of FDutyVar =1, MPASM replace the text at compile time like so
Buffaddr1. At compile time MOVE?BB FDutyVar, BuffAddr#v(FDutyVar) will compile MOVE?BB FDutyVar, BuffAddr1
slick huh?
Seems this MPASM feature is far to be well documented ... the last time I checked
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks