2005-01-09 09:25 PM
2005-01-09 09:25 PM
Hi,
I've been experiancing some problems with ST7VD & linker assembler. Does anyone have any suggestion please. Problem 1 In this example, ramEEcopy = addr $cb newsavzones = addr $c10 oldsavzones = addr $c11 ld {ramEEcopy + oldsavzones - newsavzones},a I find that the ''lst'' file produces the expected code ''B7CC'' Everything seems fine, no errors reported. but, there is a mismatch. The ''S19'' file the code is ''B74C''.! Further investigation shows this problem with other short direct instructions as well as load. This command is ok. ld {ramEEcopy + {oldsavzones - newsavzones}},a ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Problem 2 DATE problem segment 'romlow' romstart dc.b $36 ; poke neg(globalchksum+$ff) last 2 digits romtestactive dc.b $ff ;// poke $ff DATE This produces S19 file with $36, $ff, ''25 Jun 2004.'' which is correct. but, segment 'romlow' DATE romstart dc.b $36 ; poke neg(globalchksum+$ff) last 2 digits romtestactive dc.b $ff ;// poke $ff Produces S19 file with $ff,---------$ff x 12 then the date ''25 Jun 2004.'' 12 bytes further on than it should be. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Problem 3 Bookmark key F4 doesn't work on STV7D