0 Members and 4 Guests are viewing this topic.
T-States: Byte Storage:JR—12 if condition is true 2 Bytes7 if condition is true 2 BytesJP – 10 no matter what
#include “ti83plus.inc”.org 40339.db t2ByteTok, tAsmCmpB_CALL _ClrLCDFullld a, 1cp 1 ; If A = 1jr z, DisplayNumber1 ; A – 1 = 0. So, if A = 1, CP 1 will; give A – 1 = 1 – 1 = 0, therefore the; zero (Z) flag will be setcp 2ret z ; If A = 2, end the programDisplayNumber1:ld h, 0ld l, a ; Remember that CP does not affect A. A still equals 1.B_CALL _DispHLB_CALL _getKeyB_CALL _ClrCLDFullret
cp 27 ; If A = 1
Load_Player_Data:ld b, (hl) ; In a perfect world, h contains the ram address to load frominc hld c, (hl)inc hlld d, (hl)inc hlld e, (hl)inc hlld a, (hl)ret
Text:.db “Hello World”, “This is my string,” 224, 65, 67, 67, 65, etc.
.db "Hello World", "This is my string," 224, 65, 67, 67, 65, etc.
B_CALL _VPutSNDisplays a string specified by HL. The string does not end in azero. Instead, the number of characters to display is stored inregister B.Examples: LD HL, StringLD B, 11B_CALL PutSString:.db “Hello World”
Quote from: Lesson 11 Page 3B_CALL _VPutSNDisplays a string specified by HL. The string does not end in azero. Instead, the number of characters to display is stored inregister B.Examples: LD HL, StringLD B, 11B_CALL PutSString:.db Hello WorldIs that supposed to be B_CALL _VPutSN?I am kind of confused.
B_CALL _VPutSNDisplays a string specified by HL. The string does not end in azero. Instead, the number of characters to display is stored inregister B.Examples: LD HL, StringLD B, 11B_CALL PutSString:.db Hello World
B_CALL _ClrLCDFull ld d, MainMenuItem1X ; Stores the X position for the menu ld e, MainMenuItem1Y ; Stores the starting Y position for the menu