Auto-Assemble DB Directive Limit & No Script Search Func
Posted: Sat Apr 04, 2009 5:51 pm
I found that Auto-Assemble will produce incorrect code for the following ASM:
In fact, if there are more than 255 bytes following a DB directive, incorrect code will be produced. The solution is to cut the string and use several DB directives instead.
I think it would be better to report the limit instead of generating incorrect code when Next is clicked.
And it seems that I cannot make any functions to appear in the dropdown lists of the Script Search dialog. I used the example from the Help Topics. Hotkeys work fine.
Thanks,
Shing
- Code: Select all
Alloc(Data,2048)
Data:
DB "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbb"
In fact, if there are more than 255 bytes following a DB directive, incorrect code will be produced. The solution is to cut the string and use several DB directives instead.
I think it would be better to report the limit instead of generating incorrect code when Next is clicked.
And it seems that I cannot make any functions to appear in the dropdown lists of the Script Search dialog. I used the example from the Help Topics. Hotkeys work fine.
Thanks,
Shing