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 220 - 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   220 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  .  PEEK PEEKallowsyoutolookatthememorycontentsataspecificaddress. Simplygiveitanaddressandthenumberofbytestoread,anditwillreturn acharacterstringwiththehexadecimalcodethatwasread.Forexample, #0#5PEEKreturnsthefirst5nibblesoftheHP48ROM:'2369B'.  PEEKdoesnotofferaccesstothehiddenROM(ROMareaat#70000h). Toaccessthatarea,usetheprogram HRPEEK(HiddenROMPEEK).  HereisthecommentedassemblysourcelistingforPEEK:  D9D20 CON(5) PROL.PRGM Programobject 2ABF1 CON(5) DUP2 Verifythenumber 3FBF1 CON(5) DROP2 ofarguments CCD20 CON(5) PROL.CODE Codeobject start 3A000 CON(5) (end)-(start) Codelength  8FB9760 GOSBVL SAVE.REG Backupregs. 147 C=DAT1 A 134 D0=C 169 D0=D0+ 10 D0=addressofcontents  ofobjectinstacklevel 1(thePEEKlength) 142 A=DAT0 A Read#ofnibblestoread 340FFF7 LCHEX #7FFF0 Maximumsize 8B6 ?C!A A 40 GOYES l0 Sizecorrect D6 C=A A SizetoobigU*settomax. l0 C6 C=C+C A Numberofnibblesto  reserve(2percharacter) 8FD7B50 GOSBVL #05B7D Reserve 132 AD0ex 147 C=DAT1 A 134 D0=C D0=addressofobject  instacklevel1 169 D0=D0+ 10 146 C=DAT0 A Readthecontents(size  topeek) D5 B=C A 174 D1=D1+ 5 147 C=DAT1 A  PM65-005.p65 11/07/2001,08:55220
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 :