A86: Need help with error


[Prev][Next][Index][Thread]

A86: Need help with error




   I was just trying out some different things with Assembly Studio 86 and I
got an error that I couldn't figure out.  The exact file is below.  I couldn't
figure out why if I only call the _vputs twice i don't have an error but as
soon as i do it three times i get this error.  The program jams up my emulator
and displays some wierd lines. I haven't tried it on my calc because i don't
want to lose everything.  Can somebody tell me what's wrong with it?
{------------------------------------------------------------}

#include "ti86asm.inc"
#include "asm86.h"


.org _asm_exec_ram
  call BUSY_OFF
  call _clrLCD
  ld bc, $0101
  ld (_penCol), bc
  ld hl, String
  call _vputs
  ld bc, $0701
  ld (_penCol), bc
  ld hl, String
  call _vputs
  ld bc, $0d01
  ld (_penCol), bc
  ld hl, String
  call _vputs
  jp ending

String:
 .db "Hello World",0

ending:
.end


Follow-Ups: