Re: A86: Pause and sub


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

Re: A86: Pause and sub




To get part of a string, let's assume it's pointed to by HL.  How many bytes
you want to move into it, put that into DE and ADD HL,DE:

ld hl,String    ; point to string
ld de,5          ; start at byte 6, five bytes ahead
add hl,de      ; move pointer
call _puts      ; show it...
ret

String:
.db "0123456789!",0

Chicane posted a Pause call, search the archives.  I don't remember it off
hand.

-----Original Message-----
From: Jeanne9005@aol.com <Jeanne9005@aol.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Friday, October 02, 1998 1:18 PM
Subject: Fwd: A86: Pause and sub


>is anyone going to answer my question??? Dux, do you know?
>