This tutorial will show how to display a line on the graph. Compare the speed of an Asm program graphing the line to a TI-Basic program doing the same thing. You'll be surprised!
Follow along now, this is definitely not hard:)
#define B_CALL(xxxx) rst 28h \ .dw xxxx
#define B_JUMP(xxxx) call 50h \ .dw xxxx
B_CALL(_op1set3) ; Opl1 = 3
B_CALL(_vertcmd) ; Draw vertical line at Y = 3
As you can see, the line was drawn lighting quick, almost in a blink of an eye. That's the power, advantage, and speed of Asm! Op1-Op6 are floating point variables. It's called "OP1 to OP6" because it is used as 6 registers each 11 bytes in size. Therefore when you read documentation that refers to OP1, OP2, OP3, OP4, OP5 or OP6, what is meant is the 11-byte "register". The size of each of these registers is driven by the fact that the TI-83 Plus has a floating point number format of 9 bytes and any var name also can be formatted into at most 9 bytes. The 10th and 11th byte in each register is used during floating point math execution. Floating-point number and variable formats are explained in another section. Understanding the use of this area of RAM will expand your ability to use TI-83 system routines.
op1set - Set op1 = 3
_vertcmd - Graph vertical line
We will get into more in depth graphing in v.2.01. This tutorial was meant to introduce you to graphing.
Click to return to the site's menu... or here to get back to the tutorial's menu.