Hey. I've been wanting and trying to get into ASM programming, but there is one problem. No matter what the style I choose, it always comes up with the error "'asm' is not recognized as an internal or external command, operable program or batch file.' Please help me with this. It gets annoying after about a year of researching and always being fruitless. Thanks.
You have to make the asm batch file yourself to be able to use the asm command in the command prompt. To do so, use notepad (or another text editor of your choice) and type in this:

Code:
@echo off

echo ----- Assembling %1 for the TI-83 Plus...
echo #define TI83P >temp.z80
if exist %1.z80 type %1.z80 >>temp.z80
if exist %1.asm type %1.asm >>temp.z80
tasm -80 -i -b temp.z80 %1.bin
if errorlevel 1 goto ERRORS
devpac83 %1
copy %1.83p %1.8xp >nul
echo ----- Assembling %1 for the TI-83...
echo #define TI83 >temp.z80
if exist %1.z80 type %1.z80 >>temp.z80
if exist %1.asm type %1.asm >>temp.z80
tasm -80 -i -b temp.z80 %1.bin
if errorlevel 1 goto ERRORS

devpac83 %1
echo ----- Success!
echo TI-83 version is %1.83p
echo TI-83 Plus version is %1.8xp
goto DONE
:ERRORS
echo ----- There were errors.
:DONE
del temp.z80 >nul
del %1.bin >nul

Then save as, and select All file types. Then save it as asm.bat. After that, you just have to change to the asm directory and compile your program with asm programName (assuming you have TASM and everything else set up).
To elaborate on that last statement: you can use this .bat file by creating another batch file called <yourprogram>.bat. In it, place this code:

Code:
asm yourprogram
where yourprogram is the filename before th e .asm or .z80 on your sourcecode file.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement