Richard,
what is the difference in using EXT ant this one?
IoannisCode:data_blk var byte [25] f_0 var data_blk[7]
Richard,
what is the difference in using EXT ant this one?
IoannisCode:data_blk var byte [25] f_0 var data_blk[7]
ioannis
data_blk var byte [25] this reserves 25 bytes for our data
f_0 var data_blk[7] would definitely point to the correct byte but if you add or delete or rearrange or modify any vars in the array you have to go back and make sure the index is corrected , its easy to make a mistake and forget
whereas :-
using
f_0 var byte ext the assembler does all the work and we still get an index-able byte sized pointer to use
Bookmarks