0 Members and 2 Guests are viewing this topic.
Is there any program to turn hex codes to asm code?
The program works! (what is the address of the screen?)
ld hl,plotSScreen ld a,%01010101 ld b,3loop: ld (hl),a inc hl djnz loop bcall(_GrBufCpy) ret
ORG userMem-2 DB $BB,$6DStart: ld hl,appname rst rMov9ToOP1 bcall FindApp ret c ld b,a in a,(6) push af ld a,b out (6),a call START pop af out (6),a retappname: DB 14H DB "Floatlib"START:iconstSingle=4024HaddSingle=402AHsingle2str=407EHscrap=8000Hvar=scrap+30_pi=0_e=1 call iconstSingle DB _pi ex de,hl DB _e ld bc,var call addSingle ld h,b ld l,c ld bc,scrap call single2str ld h,b ld l,c bcall PutS ret
call iconstSingle \ .db 0
ld a,0 call constSingle
xmod1 basically gets the non-integer part of the float mod1Single basically gets the non-integer part of the float xconst the extended-precision variant of constSingle ti2single converts a TI float to a single-precision float TItox converts a TI float to an extended-precision float xtoTI converts an extended-precision float to a TI float xcosh extended-precision cosh xcos extended-precision cos xsinh extended-precision sinh xsin extended-precision sin xtanh extended-precision tanh xtan extended-precision tan