Page 1 of 1
Today I wrote ...
Posted: Thu Jul 25, 2019 10:15 pm
by NormanDunbar
Today I wrote a small, but perfectly formed recursive assembler routine. And it worked first time! That never happens. (I suppose I won't be able to say that again!)
You''ll get to see it in the next exciting installment of the Assembly Language ePeriodical. Coming soon. (For certain values of 'soon'!)
32 degrees here right now. Centigrade that is. It's fscking hot!
Re: Today I wrote ...
Posted: Thu Jul 25, 2019 10:29 pm
by janbredenbeek
NormanDunbar wrote:Today I wrote a small, but perfectly formed recursive assembler routine. And it worked first time! That never happens. (I suppose I won't be able to say that again!)
You''ll get to see it in the next exciting installment of the Assembly Language ePeriodical. Coming soon. (For certain values of 'soon'!)
A recursive FILL routine by any chance? I recently found one I wrote on the Spectrum in 1985
32 degrees here right now. Centigrade that is. It's fscking hot!
I noted a record 38.5 here this afternoon. Some parts of the country even 40+. As I write this it's still 32. Hope to get some sleep tonight

Re: Today I wrote ...
Posted: Thu Jul 25, 2019 11:21 pm
by NormanDunbar
Evening Jan.
No, sorry, not a recursive FILL routine. It's a mystery routine to be revealed at the end of the section of the ePeriodical.
It generates numbers in the sequence:
0,1,1,2,1,2,2,3 ...
But why? Or what? You'll have to wait and see I'm afraid.
Too hot to sleep here tonight.
Cheers,
Norm.
Re: Today I wrote ...
Posted: Mon Jul 29, 2019 3:51 pm
by retro_collector
Norman,
What assembly language tools do you use?
Cbeers
Bill
Re: Today I wrote ...
Posted: Mon Jul 29, 2019 10:28 pm
by NormanDunbar
Hi Bill,
For editing, I'm using Jan's QED editor, version 2.0.2 from
https://github.com/SinclairQL/QED/releases/tag/v2.02.
To assemble, I use QMAC, very occasionally. Mainly I use George's (Gwilt) GWASS or GWASL from
http://gwiltprogs.info/page2.htm. The latter is for 68008 only (Original QL) while the former needs a 68020 cpu - QXL Emulator etc.
The eBook you have started life in the pages of QL Today magazine and George kindly offered his assembler GWASL to be used in the series, and while I had been a QMAC user until then, I used it so often, I stuck with it. It's excellent.
HTH
Cheers,
Norm.
Re: Today I wrote ...
Posted: Tue Jul 30, 2019 1:43 am
by retro_collector
Hi Norm,
Thanks for letting me what tools you use!
LOL Yes I have been reading all the back issues of QL user and I am learning a lot for all your articles

NICE WORK by the way!
Cheers
Bill