GitHub_collection_hello-world/a/assember-hp-85.asm
Richie Bendall a183ef5112 Added Assember HP 85
Fixes: #689
Co-Authored-By: Vysakh Sreekumaran <nam8u@users.noreply.github.com>
2020-04-01 05:46:49 +13:00

22 lines
484 B
NASM

010 ! Hello world in Assembler for the HP-85
020 NAM HELLO
030 DEF RUNTIM
040 DEF TOKENS
050 DEF PARSE
060 DEF ERMSG
070 DEF INIT
100 PARSE BYT 0,0
110 RUNTIM BYT 0,0,377,377
120 TOKENS BYT 377
130 ERMSG BYT 377
140 !
150 INIT LDM R26,=MSG
160 ADMD R26,=BINTAB
170 LDM R36,=12D,0
180 JSB =OUTSTR
190 RTN
200 MSG ASC "Hello World"
210 BINTAB DAD 101233
220 OUTSTR DAD 35052
300 FIN