On 16-Feb-98, rbaltiss@worldaccess.nl wrote: >> then the move.l #19,D0 in the disassembly reads: >> move.l #StringLen-String,D0 >> which is better. I made a mistake here. The line should have read: move.l #StringEnd-String,D0 >In my point of view this is an operation which is only valid for one specific >address. If you have to tell the disassembler first that he has to create a That's correct. >label at a certain point and to tell it to replace a specific #hex by #label >then this will take as much time (or more) then changing those itmes by hand >in the result file. >OR.... I'm completely missed the point. It is certainly quicker than doing it by hand, and makes the disassembly more readable. E.g. if you have many instructions like this, and many text strings one after the other, it can make things much clearer. >One thing my disassembler does not is replacing the numbers after a # by a >label. Most of the time it ARE numbers and changing them back costc more time >then only replacing the numbers by labels. With the example I gave, to convert the move.l #19,D0 into move.l #StringEnd-String,D0 You move to the String label, press Ctrl-Shift-Alt-1, move back to the move.l #19,D0 instruction and press Ctrl-1. The ReSource on-line help gives a better explanation of why this feature is useful in relation to jump tables -- but there is probably much less scope for these on the 6502 than the 68000. >> the disassembly. E.g. if the current instruction transfers flow elsewhere >> (like a JMP), pressing cursor-right moves the view to the jump destination. I find this very useful when "navigating" the disassembly. -- Mark
Archive generated by hypermail 2.1.1.