??? 02/12/07 21:42 Read: times |
#132672 - Disassembler feature poll |
A user has proposed a new feature for the d52 disassembler, and even provided code patches to implement it (I love it when they do that!). I'd like to know how useful this would be to everyone. The feature is addition of a new control file directive (Z) that would output instruction cycle counts as in this example:
; ; Serial ISR ; serisr: push psw ; 01e4 c0 d0 @P push acc ; 01e6 c0 e0 @` mov a,psw ; 01e8 e5 d0 eP anl a,#0e7h ; 01ea 54 e7 Tg orl a,#8 ; 01ec 44 08 D. mov psw,a ; 01ee f5 d0 uP jnb ri,serisrti ; 01f0 30 98 0b 0.. cjne r3,#8,serisr1 ; 01f3 bb 08 02 ;.. sjmp serisr2 ; 01f6 80 04 .. ; serisr1: inc r3 ; 1 ; 01f8 0b . mov @r1,sbuf ; 2 ; 01f9 a7 99 '. inc r1 ; 1 ; 01fb 09 . serisr2: clr ri ; 1 ; 01fc c2 98 B. serisrti: jnb ti,serisrx ; 2 ; 01fe 30 99 02 0.. clr ti ; 1 ; 0201 c2 99 B. serisrx: pop acc ; 2 ; 0203 d0 e0 P` pop psw ; 2 ; 0205 d0 d0 PP setb es ; 1 ; 0207 d2 ac R, reti ; 2 ; 0209 32 2 ; ; --- Cycle count 01f8-0209 = 15 ; The Z directive has been applied to addresses 01f8 to 0209 to show what it does. It's somewhat problematic in that 8052 variants will have differing cycle counts for the same instructions, but there are ways to deal with that. So, I'd like to know how many of you would use this feature and how important would it be to you. Thanks for your feedback. |
Topic | Author | Date |
Disassembler feature poll | 01/01/70 00:00 | |
My two cents | 01/01/70 00:00 | |
My one cent | 01/01/70 00:00 | |
Code writer? | 01/01/70 00:00 | |
my opinion | 01/01/70 00:00 | |
An opposing opinion | 01/01/70 00:00 | |
"my customers' " and no source ???? | 01/01/70 00:00 | |
C-Source | 01/01/70 00:00 | |
Two more cents | 01/01/70 00:00 | |
then, most likely you have stolen it | 01/01/70 00:00 | |
I strongly disagree | 01/01/70 00:00 | |
How about Windows, Erik? | 01/01/70 00:00 | |
waddayamean | 01/01/70 00:00 | |
see below ... | 01/01/70 00:00 | |
It can be useful | 01/01/70 00:00 | |
Purpose | 01/01/70 00:00 | |
I'd find that useful. It won't ever hurt. | 01/01/70 00:00 | |
no banning | 01/01/70 00:00 | |
go for it | 01/01/70 00:00 | |
Cool! | 01/01/70 00:00 | |
TU Clausthal Germany | 01/01/70 00:00 | |
this feature was independently requested here :) | 01/01/70 00:00 | |
I second that | 01/01/70 00:00 | |
New options | 01/01/70 00:00 | |
thanks for adding these options!) \"==\"![]() | 01/01/70 00:00 | |
One purpose. | 01/01/70 00:00 |