Search found 700 matches

by jsa
Tue Dec 31, 2019 4:46 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Understood.
by jsa
Tue Dec 31, 2019 8:56 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

24bit, yes other than * and / hardware can do 16bit directly. Agree the 24bit are software managed, but none the less stored as 24bit values. 24bit sym, for derivatives of time, have a look at; Sub654F Sub8916 Sub7469 SubA25D 3.08, ok, I have razor rash, but keep my head as sym 34 <name> :T 10 is un...
by jsa
Tue Dec 31, 2019 12:59 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

For the next update I think;
* finish getting the names back to 3.08 quality
* tidy up any structure issues
* add in some command option for args that have multiple offsets applied.
by jsa
Tue Dec 31, 2019 12:56 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

BUT ... The unintended consequences Known Unknowns and Unknown Unknowns Beware of confusing the issue between bit operations and other general operations. A question prompted by the bits change in style --> B8_R34 to B0_R35. SAD has always functioned with SYM working on bytes and therefore 0 to 7 b...
by jsa
Mon Dec 30, 2019 10:36 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

can-of-worms.png
Thanks Andy
can-of-worms.png (438.54 KiB) Viewed 1342 times

Edit: :twisted: I just noticed this is my 666th post, LOL. :twisted:
by jsa
Mon Dec 30, 2019 6:03 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Yes, getting very close on naming. I see a nice improvement where some back tracking is done to identify a/ bit name/s, but not all examples are found. In one case at least forward tracking a couple lines would find the information. The last naming issue I have for 4.03c. dir SYM D882 "S.name1" SYM ...
by jsa
Mon Dec 30, 2019 5:26 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

4.03c dir Sub 6C15 "Sub6C15_NAME" lst not named Sub_6c15: 6c15: more 1st commandment dir Sub 75AB "Sub75AB" Sub 75C4 "Sub75C4" lst Sub_75ab: 75ab: Sub_75c4: 75c4: ############################################################### # Called by Sub_75ab at L75F3 # Called by Sub_75c4 at L75F3
by jsa
Mon Dec 30, 2019 4:37 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

getting closer 4.03c dir SYM 2 "LSO_Port" SYM 2 "CPU_OK" :T 6 # V0.5 +6 SYM 3 "LIO_Port" lst 4562: 61,05,e0,02 an2w R2,e005 B1_R2 = 0; B3_R2 = 0; B4_R2 = 0; B5_R2 = 0; CPU_OK= 0; B7_R2 = 0; B0_R3 = 0; B1_R3 = 0; B2_R3 = 0; B3_R3 = 0; B4_R3 = 0; preferred similar to 3.08 4562: 61,05,e0,02 an2w R2,e00...
by jsa
Mon Dec 30, 2019 3:27 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

I think load and store for that matter are primarily byte and word manipulators. Therefore not suitable for auto bit output. So range is the best solution that comes to mind right now. With regard to loading the startup list, maybe Bit instructions to struct are suitable. Certainly if the struct des...
by jsa
Mon Dec 30, 2019 6:34 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

No worries, onto the next release.
by jsa
Sun Dec 29, 2019 11:35 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

DIR

Code: Select all

rbase f6 cf34
rbase fe db54

SYM CF49 "S.some_name_1n/a"
SYM DB56 "S.My_Name_15no."

unnnamed in lst

Code: Select all

5a6f: 9b,fe,02,42         cmpb  R42,[Rfe+2]      
5a73: d3,04               jnc   5a79             if (R42 >= [db56])  {

5a9d: b3,f6,15,30         ldb   R30,[Rf6+15]     R30 = [cf49];
by jsa
Sun Dec 29, 2019 11:24 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

another to ponder 5905: 71,7f,4d an2b R4d,7f B7_R4d = 0; # B7 Clear 0 5908: 35,4d,03 jnb B5,R4d,590e if (B5_R4d = 1) { 590b: 91,80,4d orb R4d,80 B7_R4d = 1; } # B7 Set 1 590e: b0,0b,4c ldb R4c,Rb R4c = HSI_Sample; 5911: 85,00,20,4c xrw R4c,2000 B13_R4c ^= 1;
by jsa
Sun Dec 29, 2019 11:19 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

4.03b2

DIR, names of bits applied incorrectly
2 named bits for R47 only

Code: Select all

SYM   47 "Name_0"      :T +0     
SYM   47 "Name_1"      :T +1    
LST

Code: Select all

5859: 3d,47,02            jb    B5,R47,585e      if (B5_Name_0 = 0)
by jsa
Sun Dec 29, 2019 11:12 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Not surprised, what the hell is "R 0" ???? That's not in my syntax anywhere !! I need to go check that !! Thinking about it more, that might be a result of 4.03 taking my 3.08 cmd syntax and appending some 4.03 syntax then putting it to MSG as a hybrid mess that should not be copied back to DIR as ...
by jsa
Sun Dec 29, 2019 10:47 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

name in DIR ignored

Code: Select all

Sub 6BDF "Sub6BDF_My Name"
by jsa
Sun Dec 29, 2019 10:37 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

XORB

One to ponder

Code: Select all

57d2: b1,06,5a            ldb   R5a,6            R5a = 6;
.
.
57de: 95,10,5a            xorb  R5a,10           B4_R5a ^= 1; }                    # xor 6,10=dec16 
EDIT removed cryptic bin note
by jsa
Sun Dec 29, 2019 10:32 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

4.03b MSG rbase 58 190 My DIR (has no rbase 58) SYM 58 5721 572B ".tmp_name." resultant LST, 1st commandment voilated 5729: d1,03 jleu 572e if (R58 > 68) { EDIT: fixed by John, I did do an in between release, and realised syms were still broken. Can you download latest SAD now and double check that ...
by jsa
Sun Dec 29, 2019 10:17 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

This str command in dir gives error in message and failed decode in lst

Code: Select all

#Line 3494 - str  5402 5441 : R 0 UWX N : O 3 UYX : D 2c5 UYX N : R 0 UWX N  # 4.03b

#                                ^ Illegal Option
Edit: Names not being applied with 3.08 stlye syntax
by jsa
Sun Dec 29, 2019 9:46 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

4.03b I see you have decided to do bits for AN2W. This one is flags. 3bb3: 61,3f,fe,34 an2w R34,fe3f B6_R34 = 0; B7_R34 = 0; B8_R34 = 0; Preferring B0_R35 rather than B8_R34. In this case R34 & R35 go on to be treated as bytes. Small Large R34 R35 3F FE 0011,1111 1111,1110 B6_R34=0 B7_R34=0 B0_R35=0
by jsa
Sat Dec 28, 2019 9:54 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

tvrfan wrote:
Sat Dec 28, 2019 12:26 am
UNLESS BY USER COMMAND.......
Yep, chisel that into marble and drag it up to the top of a mountain, for all to behold.
by jsa
Sat Dec 28, 2019 9:50 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Symbol Names . . So basically this broke the symbol name address resolution. I thought I had fixed it in 4.0.2. Thanks for the explanation. No, more work to do on symbol names. Names for scratch registers over an address range are being ignored. SYM 38 7E54 7E79 ".old_val." SYM 3A 7E54 7E5F ".oldtm...
by jsa
Fri Dec 27, 2019 9:15 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

4.03a

dir

Code: Select all

STR   52FF 5303 :Y N
lst

Code: Select all

52ff: 2d,2e               scall 502f             502f();
5301: 2f,30               scall 5233             5233();
5303: 32   struct                32
by jsa
Fri Dec 27, 2019 8:53 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Between various versions of SAD the logic for IF statements has been flip flopping like a fish out of water. Symbols changing back and forth along with goto and continue. What is driving the changes? An example of something that is now broken; 3.08 4002: 33,2c,09 jnb B3,R2c,400e if (B3_R2C = 1) { 40...
by jsa
Fri Dec 27, 2019 8:20 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Further example of less informative output

3.08

Code: Select all

2c1e: 71,fb,d4            an2b  Rd4,fb           B2_Rd4 = 0;
4.0.3a

Code: Select all

2c1e: 71,fb,d4            an2b  Rd4,fb           Rd4 &= fb;
Edit: Applies to XORB as well.
by jsa
Fri Dec 27, 2019 8:14 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

In this case Bit 1 is not defined in dir but all others are for RDE.

Output to LST has become less informative.
3.08

Code: Select all

2a40: 91,02,de            orb   Rde,2            B1_Rde = 1;
4.0.3a

Code: Select all

2a40: 91,02,de            orb   Rde,2            Rde |= 2;
by jsa
Fri Dec 27, 2019 7:41 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Did a cold start run of 4.0.3a on CARD. Commented out the report info in the generated msg file. (It would be better if all non command info in msg had # automatically) Renamed msg as dir and rerun 4.0.3a Resultant msg has ~1600 lines of errors and warnings. Some examples Line 108 - args 82e9c 82ea0...
by jsa
Thu Dec 26, 2019 5:00 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Thank you.

Yeah, hope you all had a great Chrissy as well. # cheers for a better 2020.

I will give 4.0.3 a whirl tomorrow night.
by jsa
Mon Dec 23, 2019 6:00 am
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Reserved addresses - Yep. Did you spot also that many (all?) bins check address 0xd00 first ? This is another clue. Yes, as per a couple posts up. That operation is my goto, too find console routine quickly. All that I have seen at least. I did have an automatic 'no code between 0xd000 and 0xd009' ...
by jsa
Sat Dec 21, 2019 5:19 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

LOL, do think SAD could take an image file input! Then it could OCR the chip mask detail from an image of eec internals. Then lookup the address prefix from the handbook. How about mask switch/s as a user command in dir. User looks inside eec. Something like; Mask DA # This one is DUCE mask A Or may...
by jsa
Sat Dec 21, 2019 5:06 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 10825

Re: SAD disassembler progress

Yeah, no code in my calibration data thank you very much. CARD is the same. Typical of all bins I have seen except early ones. Maybe 56k bin size and above? A9l is a little different. If you wanted to make a special method to identify and handle the console sub, look for; * Typically it is the only ...