Peter Shersby from Mablethorpe, Lincolnshire, has sent in a marvellous utility that will be of particular use to assembly language programmers Tester will allow you to insert breakpoints in your code - that is, the instruction rst 6 (RST #30) or byte &F7 - and display the state of the register. Very handy for debugging routines. Once Tester has been installed simply load your own routine in memory and (with RST 6 instructions where ever you think they will be useful) when you are ready to test your routine. type i test, addr The variable addr refers to the start address of your code Every time an rst 6 instruction is encountered the contents of the registers, program counter and stack are printed Once the registers have been displayed you may press Esc to return to Basic or enter to continue with your program Should you need to send parameters to your routine, include these before the address |TEST, a$, b$, &6000 for example. To see how Tester works type in and run the long listing (don't forget to save it), enter and run the short listing below, and finally type |TEST, &4000 . After a beep the contents of the registers will appear on screen. Press return to continue. AA#31 ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop Page créée en 730 millisecondes et consultée 988 foisL'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |
|
|