Accueil > Réalisations > Publications > Ouvrages > Ouvrages sur la HP48 s/sx > HP48 Machine Language - A Journey to the Center of the HP48 s/sx - Read the (...)

HP48 Machine Language - A Journey to the Center of the HP48 s/sx - Read the book online

mardi 12 juin 2007, par Paul Courbis

If you don’t want to download the book, you can read it online here...

A paper version of this book is avalable via Amazon !

hp48ml - page 218 - Courbis, acteur de l'Internet depuis 1988
Section précédente : Programs dealing with Machine Language Page précédente Sommaire Page suivante Section suivante : Mathematical Programs

Programs dealing with Machine Language

(c) Courbis www.courbis.fr   218 PARTTHREE:LIBRARYOFPROGRAMSh  ttp:  //ww  w.c  our  bis.  com  PD Ff iles  av aila  ble on htt p:// ww  w.c our bis .co m-  Re dis trib  utio  no rm irro rin gs tric  tly pro hib ited  .  CLEAN CLEANistheinversefunctionof BY5:Itremovesallcharactersfroma stringthatarenothexadecimaldigits(0E^9,AE^F).Itpreparesastringfor theprogramGASS,afterusingBY5tocheckforerrors.  Thisprogramiswrittenpartiallyinmachinelanguage,soitmustbeen- teredaccordingtothespecificationsgivenonpages213-214.  Hereisthecommentedassemblysourcelistingfor CLEAN:  D9D20 CON(5) PROL.PRGM Programobject B4E02 CON(5) STRING.SPC '' 76BA1 CON(5) ADD + CCD20 CON(5) PROL.CODE Codeobject start 08000 CON(5) (end)-(start) Codelength  8FB9760 GOSBVL SAVE.REG Bckupregs. 143 A=DAT1 A A=size 130 D0=A D0=D1=address 131 D1=A objectinlevel1 169 D0=D0+ 10 D0=BackupRegs. 174 D1=D1+ 5 D1=contentsaddr. 143 A=DAT1 A 174 D1=D1+ 5 818F84 A=A-5 A 819F0 ASRB A D8 B=A A B=#ofcharacters  inthestring l1 8A9 ?B=0 A Done?  83 GOYES l4 Yes--?end! 14B A=DAT1 B 3103 LCHEX 30 ASCIIcodefor0 9E2 ?A!C B 32 GOYES l3 Badcharacter 3193 LCHEX 39 ASCIIcodefor9 9EA ?A!=C B 41 GOYES l2 Goodcharacter 3114 LCHEX 41 ASCIIcodeforA 9E2 ?A!C B 11 GOYES l3 Badcharacter 3164 LCHEX 46 ASCIIcodeforF 9E6 ?A?C B  PM65-005.p65 11/07/2001,08:55218
Section précédente : Programs dealing with Machine Language Page précédente Sommaire Page suivante Section suivante : Mathematical Programs
© Courbis 1988-2010
Tous droits réservés
Permalien
Faire un don avec Paypal Le livre est entièrement gratuit mais vous pouvez
avec Paypal pour participer aux frais d'hébergement de ce site... Merci !

Messages

Un message, un commentaire ?

modération a priori

Ce forum est modéré a priori : votre contribution n’apparaîtra qu’après avoir été validée par un administrateur du site.

Qui êtes-vous ?
Votre message

Pour créer des paragraphes, laissez simplement des lignes vides.

Les spams donneront systématiquement lieu à dépôt de plainte. Les messages peu aimables ou comportant trop de fautes d'orthographe seront purement et simplement supprimés sans publication. Aucune obligation de publication ne pourra être opposée au webmaster, sauf éventuel droit de réponse dûment justifié.
ipv6 ready ipv6 test
Suivre ce site :
Recommander cette page :
Bookmark and Share
Traduire :