From: Radek P. <rad...@tl...> - 2005-06-19 11:48:36
|
Assembler listing once more ;-) 156 ;------------------------------------------------------------ 157 ;Allocation info for local variables in function 'databaseCheckKey' 158;------------------------------------------------------------ 159 ;Address Allocated to stack - offset -2 160 ;Temp Allocated to registers 161 ;sloc0 Allocated to stack - offset -3 162 ;------------------------------------------------------------ 163 ;database.c:45: uint8_t databaseCheckKey() 164 ; ----------------------------------------- 165 ; function databaseCheckKey 166 ; ----------------------------------------- F483 167 _databaseCheckKey: F483 A7 FD 168 ais #-3 169 ;database.c:50: if(Address[0] == RomCode[0]) return 1; F485 9E E6 02 170 lda 2,s F488 9E EE 03 171 ldx 3,s F48B 87 172 psha F48C 8A 173 pulh F48D F6 174 lda ,x F48E 9E E7 01 175 sta 1,s F491 B6 80 176 lda *_RomCode F493 9E E6 01 177 lda 1,s F496 87 178 psha F497 9E E1 01 179 cmp 1,s F49A A7 01 180 ais #1 F49C 26 02 181 bne 00106$ F49E 20 02 182 bra 00107$ F4A0 183 00106$: 184 ; Peephole 3 - shortened jmp to bra F4A0 20 04 185 bra 00102$ F4A2 186 00107$: F4A2 A6 01 187 lda #0x01 188 ; Peephole 3 - shortened jmp to bra F4A4 20 01 189 bra 00103$ F4A6 190 00102$: 191 ;database.c:57: return 0; F4A6 4F 192 clra F4A7 193 00103$: F4A7 A7 03 194 ais #3 F4A9 81 195 rts |