TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Jack Crenshaw 72325,1327 (X)
from: Bud Hamblen 72466,256
date: 1991-01-06 10:58:14
subject: #9033-#68000 ASM Language

#: 9042 S12/OS9/68000 (OSK)
    06-Jan-91  10:58:14
Sb: #9033-#68000 ASM Language
Fm: Bud Hamblen 72466,256
To: Jack Crenshaw 72325,1327 (X)

Jack,

Here's an example copied from the Strubal manual:

*
    INTEGER I(10),J(10),IADD,JADD
*
* MOVE CONTENTS OF J INTO I
* USING CRUTCH CODING FOR SPEED
*
    GETAD IADD=I
    GETAD JADD=J
    FOR K=IADD,IAAD+20
*
    LDX JADD     POINT TO J
    LDA A 0,X    GET BYTE FROM J
    INX
    STX JADD     INCREMENT JADD
    LDX K        POINT TO I
    STA A 0,X    STORE BYTE IN I
*
    NEXT K

The syntax is clunky, but the idea of combining a higher level
syntax with normal assembler syntax is interesting.

Bud

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.