mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Mouli,
As I recall, it goes something like this:
Moving a 4 pos A/N field to a 2 pos PD field, the hi ord 2 bytes of the sending field are truncated.
So, you wind up w/"CD" to be packed into the PD field. CD is X'C3C4'
The pack assembler instruction changes that to X'034C' or X'034F' depending on the NUMPROC option selected at compile time.
When DISPLAY does its magic it converts the X'034F' to X'F0F3F4' (034) or the X'034C' to X'F0F3C4' (03D).
I'm surprised it didn't DISPLAY as 034. That may be because the PIC was defined as 99. |
|