[TI ASM] Freak!
Moderator: MaxCoderz Staff
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
[TI ASM] Freak!
Can anyone explain why when I compile:
.db "Doctor's fee. Pay $50",0,10
it compiles as "Doctor's fee. Pay $50" without the 0 and 10 appended? I can add any amount of numbers to the end and the program size won't change.
.db "Doctor's fee."
.db "Pay $50",0,10
works just fine.
.db "Tax refund. Collect $20",0,10 also works just fine.
TASM.
.db "Doctor's fee. Pay $50",0,10
it compiles as "Doctor's fee. Pay $50" without the 0 and 10 appended? I can add any amount of numbers to the end and the program size won't change.
.db "Doctor's fee."
.db "Pay $50",0,10
works just fine.
.db "Tax refund. Collect $20",0,10 also works just fine.
TASM.
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
You have to just insert the ascii number for ' like so:
Perhaps that will help?
Code: Select all
.db "Doctor",$27,"s fee. Pay $50",0,10
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
I don't know if it's mentioned here or not, ha.
Maximum number of labels 15000
Maximum length of labels 32 characters
Maximum address space 64 Kbytes (65536 bytes)
Maximum number of nested INCLUDES 4
Maximum length of TITLE string 79 characters
Maximum source line length 511 characters
Maximum length after macro expansion 511 characters
Maximum length of expressions 511 characters
Maximum length of pathnames 79 characters
Maximum length of command line 127 characters
Maximum number of instructions (per table) 1200
Maximum number of macros 1000
Maximum number of macro arguments 10
Maximum length of macro argument 16 characters
Memory requirements 512K
Maximum number of labels 15000
Maximum length of labels 32 characters
Maximum address space 64 Kbytes (65536 bytes)
Maximum number of nested INCLUDES 4
Maximum length of TITLE string 79 characters
Maximum source line length 511 characters
Maximum length after macro expansion 511 characters
Maximum length of expressions 511 characters
Maximum length of pathnames 79 characters
Maximum length of command line 127 characters
Maximum number of instructions (per table) 1200
Maximum number of macros 1000
Maximum number of macro arguments 10
Maximum length of macro argument 16 characters
Memory requirements 512K