31
ASM / Re: Question about bits
« on: June 07, 2011, 07:27:32 pm »
so you can use bit shifting to do math? like multiplying accumulator by two and diving it by two?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 31
ASM / Re: Question about bits« on: June 07, 2011, 07:27:32 pm »
so you can use bit shifting to do math? like multiplying accumulator by two and diving it by two?
32
ASM / Question about bits« on: June 07, 2011, 03:16:05 pm »
can someone explain about shifting bits, rotating, and etc.. I would appreciate if it also explain why you use it, when to use it.
33
ASM / Re: simple assembly question« on: June 02, 2011, 01:32:17 pm »
oh. Thanks Quigibo . and can someone show me a code to convert program to sting? (program name in str0, converts to string 1)
35
ASM / Re: simple assembly question« on: May 31, 2011, 01:53:09 pm »it gives me error that LD HL,BC is invalid. i think i should try like this: LD H,C LD L,B 36
ASM / simple assembly question« on: May 31, 2011, 01:43:16 pm »
Can someone show me a program that will count 1~1000 really fast?
i tried like this, but it wont work. Start: Bcall ClrScrnFull Bcall HomeUp Count: ld hl,(number) ld de,(check) or a push hl sbc hl,de ret z pop hl inc hl bcall dispHL ld (num),hl jp count number: db 0 check: db 1000 And the mimas gives me an "out of range" error when i try to compile. and i changed the db to dw, and it worked, but it wont count. Please detailed explanation Edit: oh yea i just noticed that when i use sbc, it will make hl equal to negative.. i dont know how to fix that. 37
TI-BASIC / Re: need code to get the address in hexadecimal (code in basic)« on: May 29, 2011, 11:43:00 pm »
oh thank you and i will! i cant wait!
38
TI-BASIC / Re: need code to get the address in hexadecimal (code in basic)« on: May 29, 2011, 01:48:57 am »
oh I see. Thank you so much for helping!
39
TI-BASIC / Re: need code to get the address in hexadecimal (code in basic)« on: May 29, 2011, 01:35:42 am »
Ah thank you! that explained so much! ahaha but what should i do if there is more address to save? that i will need more strings right? or is there a way to store in a list?
and does using "Ans" faster? for example, :1+1->A or :1 :Ans+1->A 43
TI-BASIC / need code to get the address in hexadecimal (code in basic)« on: May 27, 2011, 04:28:07 pm »
For people who knows how hexadecimal programing works, and ti basic language,
So I'm trying to create a on-calc assembler, and i need code to get the address in hexadecimal? (i already have a basic prgm that will convert number in a (decimal) to hexadecimal,prgm that will change letters to hexadecimal) i just cant figure out how it works. i read the code from OTBP, TASM again and again, but i coudnt figure out how they get it. for example, ld hl,0h ;210000 ld (currow),hl ;224B48 ld hl,text ;21A29D this is the part i dont know how to get bcall puts ;EF0A45 ret ;c9 text: ;48454C4C4F20574F524C442100 .db "hello world",0 i know that prgm starts at $9D95 ($959D) Please help! if this is too much, you can still give me some tips to do this. thanks 44
ASM / Re: question about hexadecimal« on: May 27, 2011, 03:03:23 pm »
it looks....really complicated haha harder than i thought it would be
45
ASM / Re: question about hexadecimal« on: May 27, 2011, 02:57:21 pm »
wow thats interesting. that makes me want to design my own processor
|
|