grege@gold.gvg.tek.com (Greg Ebert) (05/03/91)
I've been doing some assembly language programming on my Northstar advantage, and the CP/M 2.0 assembler sometimes 'hangs' - No errors, etc. I have to punch to reset switch. I found that if I sprinkle NOP instructions throughout the source code (and NO other changes), it finally assembles without errors after several trial/error iterations. Does anyone know *what* causes the assembler to hang, and how to *predictably* avoid the bug ? Thanks. grege@gold.gvg.tek.com
fmgst@unix.cis.pitt.edu (Filip Gieszczykiewicz) (05/03/91)
In article <2252@gold.gvg.tek.com> grege@gold.gvg.tek.com (Greg Ebert) writes: >I've been doing some assembly language programming on my Northstar >advantage, and the CP/M 2.0 assembler sometimes 'hangs' - No errors, etc. >I have to punch to reset switch. > >I found that if I sprinkle NOP instructions throughout the source code >(and NO other changes), it finally assembles without errors after >several trial/error iterations. Does anyone know *what* causes >the assembler to hang, and how to *predictably* avoid the bug ? Greetings. I don't know about assembler but if I try to compile a basic program that does not have a complete last line (ie. return pressed on last line) it won't hang... well, actually, it will read forever... Take care. -- _______________________________________________________________________________ "The Force will be with you, always." It _is_ with me and has been for 11 years Filip Gieszczykiewicz "... a Jedi does it with a mind trick... " ;-) FMGST@PITTVMS or fmgst@unix.cis.pitt.edu "My ideas. ALL MINE!!"
rrezaian@austral.UUCP (Russell Rezaian) (05/06/91)
In article <2252@gold.gvg.tek.com> grege@gold.gvg.tek.com (Greg Ebert) writes: >I've been doing some assembly language programming on my Northstar >advantage, and the CP/M 2.0 assembler sometimes 'hangs' - No errors, etc. >I have to punch to reset switch. It sounds like some of the internal symbol tables are getting out of hand. >I found that if I sprinkle NOP instructions throughout the source code >(and NO other changes), it finally assembles without errors after >several trial/error iterations. Does anyone know *what* causes >the assembler to hang, and how to *predictably* avoid the bug ? This would seem to indicate that there is something wrong with the the assembler itself. Simple soultion: try a different assembler. If you are using the standard CP/M ASM.COM try LASM, it is compatible, fast, and will let you have multiple source files. It came with CP/M Kermit and i have been using a lot since. If you want to do more complicated stuff, try to find M80, L80 from Microsoft. I don't think that they are still being made, but you might find someone witha package to sell. Unfortunatly these programs, whie excelent, are VERY obtuse when it cmes to command line options. I have to check my manual regularly when using them. >Thanks. You're welcome, hope I have been of some help. >grege@gold.gvg.tek.com -- Russell Rezaian | rrezaian@austral.UUCP P.O. Box 479 | rrezaian@amiganet.chi.il.us Naperville, Il. 60566-0479 | "One is best punished for one's USA | Virtues." Nietzsche.