Show Posts

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.


Messages - TiAddict

Pages: 1 2 [3] 4 5
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 :D. and can someone show me a code to convert program to sting? (program name in str0, converts to string 1)

34
ASM / Re: simple assembly question
« on: June 01, 2011, 11:48:25 am »
thank you! :D

35
ASM / Re: simple assembly question
« on: May 31, 2011, 01:53:09 pm »
 :o
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 :D
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
oh thank you :D and i will! i cant wait!

38
oh I see. Thank you so much for helping! :D

39
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

40
ASM / Re: Another question..
« on: May 27, 2011, 04:58:25 pm »
hahah thanks you for that! xD

41
ASM / Re: Another question..
« on: May 27, 2011, 04:47:36 pm »
oh i see. thanks Deep Thought! :D

42
ASM / Re: Another question..
« on: May 27, 2011, 04:40:44 pm »
umm sorry but what is "sbc"?

43
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 :P 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 :D

Pages: 1 2 [3] 4 5