Difference between revisions of "Z80:Macros:BCALL"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
 
Line 24: Line 24:
 
== Uses ==
 
== Uses ==
  
Besides running the system routines, B_CALLs are also used in Application programming. See [[Z80:Flash-applications|Applications]].
+
Besides running the system routines, B_CALLs are also used in Application programming. See [[Z80:Flash Applications|Applications]].
  
 
== See Also ==
 
== See Also ==

Latest revision as of 07:53, 6 February 2016

A B_CALL generally runs a short program within the OS. While typically attributed to beginning programmers, it can still be useful in memory conservation.

Macro Code

   B_CALL(_ClrLCDFull)

Should be understandable. Clears the whole LCD.

Syntax

B_CALL(xxxx) In case you memorized the hex code, the code is undocumented, or you are typing directly on the calculator. For example, B_CALL(_ClrLCDFull) would be EF4045.

B_CALL(_systemroutinename) Preferred method for on computer. The system routine name generally does what it says it does.

Allowed inputs

2 byte hex number This is the memory in the jump table. See {|.

Or you can put the name defined in the include file (ti83plus.inc). Whatever you prefer, and as long as you (or readers) can understand it.

Uses

Besides running the system routines, B_CALLs are also used in Application programming. See Applications.

See Also

B_JUMP