05 April 2022, 21:55 | #1 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
Automatic forward label creation in Resource?
Hi,
Is there a way to do automatic forward label creation in Resource to remove the Start+whatever in the code? thx |
05 April 2022, 22:04 | #2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
You can create a macro that searches for START+ and executes LABELS/Create single/Label - fwd ref if found. I do not recommend doing this though, it's almost always better to manually check and fix the START+ references to obtain a good disassembly.
|
05 April 2022, 22:10 | #3 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
|
Yes, F1 key? I dont remember exactly. But like StingRay say this is not recommended. Some/many wrong labels can be created, especially for binary files.
|
05 April 2022, 22:15 | #4 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
Thanks for your answer, I'm doing it manually but sometimes there's too many.
|
06 April 2022, 18:12 | #5 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
It usually does it automatically. You might have to start disassemble a few times over and mark stuff as code or data, but it should sort itself out.
|
06 April 2022, 19:17 | #6 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
I tried that but it was a slow process
|
06 April 2022, 23:35 | #7 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
How big is that program of yours then?
I just start at the top, disassemble, search for lumps of data that I suspect is code and try to convert it; if it is then disassemble again and repeat. Next bit is to search for places with START references and back up to the beginning of that portion and mark as code, and disassemble again. The START reference are just simply that it can't tie together the different code parts or that it is actually code that runs in a different segment, is a library/device, a separate task, or interrupt/supervisor code. The stray code outside of that generally falls into place once jumptables etc are marked and populated so that it knows where to continue and can mark it as code. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Differences betweed LEA label,Ax and MOVE.L #label.Ax | KONEY | Coders. Asm / Hardware | 14 | 05 May 2021 19:53 |
Looking forward to the Vampire 4? | Welshieinnz | Amiga scene | 406 | 31 January 2020 09:13 |
Maxon R.C.T. - Resource Creation Tool | Etze | request.Apps | 4 | 19 August 2014 08:24 |
REQ: Automatic resolution change ; automatic resolution detection | Borg_Number_One | request.UAE Wishlist | 3 | 21 August 2004 14:16 |
|
|