Just countin beans here:
Code:
buf        VAR    Byte(12)' RFID bytes buffer
I think should read
Code:
buf        VAR    Byte[12]' RFID bytes buffer
I am looking for other issues