Author Topic: question of the day  (Read 3503 times)

0 Members and 1 Guest are viewing this topic.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
question of the day
« on: December 21, 2011, 07:15:01 am »
I have 2 asm programs :

prgmTEST1
bin size : 8192
oncalc size (bin+vat) : 8206
data : $BB,$6D,$C9,$FF*8189

prgmTEST2
bin size : 8193
oncalc size (bin+vat) : 8207
data : $BB,$6D,$C9,$FF*8190

The first one will run but not the second one (ERR:INVALID).

This is os 2.43 on real hardware (anyway, same behaviour on wabbit).
Also, i have about 16K of free ram before execution.

I thought the maximum was 8811 bytes.
Wtf ?

EDIT :
I searched on the web and found that 8192 is the maximum for nostub programs.
I didn't know that but now i do =]
« Last Edit: December 21, 2011, 08:57:36 am by the_mad_joob »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: question of the day
« Reply #1 on: December 21, 2011, 01:09:26 pm »
EDIT :
I searched on the web and found that 8192 is the maximum for nostub programs.
I didn't know that but now i do =]
Yep. TI threw that limit in there (for running with Asm().