
Originally Posted by
Darrel Taylor
I think you've got it backwards.
This is DW data compiled for a 16F877. It places each 14-bit word value in successive program word locations, which can then be read with READCODE.
Code:
0286 00490 DataTable
0286 1234 2178 0001 00491 DW 1234h, 2178h, 0001h, 0781H
0781
F***
I use MP, not MPASM - Argh.
MP compiles DW like this:
Code:
4860 ; D:\BFC\BFC200~1.BAS 01508 @ DW 942,915,884,848,808
4861
4862 ASM?
4863 1282- 34AE 3403 3493 3403 DW 942,915,884,848,808
1286- 3474 3403 3450 3403
128A- 3428 3403
4864
4865 ENDASM?
OK, I had to use MPASM !
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Bookmarks