QB-Assembler listing
Posted: Sat Jul 30, 2005 4:32 am
For anyone interested in seeing what their QB program looks like in Assembler. This listing shows the QB statements followed by the Assembler codings:
Compile your .bas listing with the BC.EXE compiler which comes with QB and use the /A option. You have to enter the .lst filename when prompted otherwise the .lst file will not be produced.
e.g. When the default directory holds both bc.exe and your .bas listing enter BC.EXE /A FILENAME.BAS (file suffixes can be omitted, the compiler will use them automatically)
The first prompt is for the name of the .obj file to which you can enter a filename or just hit Enter. The second is for the name of the .lst file. Type your chosen filename here then hit Enter. The .lst file will be created in the default directory and can be listed/printed using a utility such as Type, More, Edit, Notepad, Print etc...
V...
Compile your .bas listing with the BC.EXE compiler which comes with QB and use the /A option. You have to enter the .lst filename when prompted otherwise the .lst file will not be produced.
e.g. When the default directory holds both bc.exe and your .bas listing enter BC.EXE /A FILENAME.BAS (file suffixes can be omitted, the compiler will use them automatically)
The first prompt is for the name of the .obj file to which you can enter a filename or just hit Enter. The second is for the name of the .lst file. Type your chosen filename here then hit Enter. The .lst file will be created in the default directory and can be listed/printed using a utility such as Type, More, Edit, Notepad, Print etc...
V...