Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!udel!udccvax1!sine From: sine@vax1.acs.udel.EDU (Patricia Sine) Newsgroups: comp.sys.apple Subject: Pascal 1.3 Assembly Language Summary: How to distinguish low and high bytes Message-ID: <2935@udccvax1.acs.udel.EDU> Date: 27 Feb 89 18:34:20 GMT References: <8350@paris.ics.uci.edu> Reply-To: sine@vax1.acs.udel.EDU (Patricia Sine) Distribution: usa Organization: University of Delaware Lines: 20 I am currently trying to interface some assembly routines to use a TimeMaster clock to time in milliseconds. The rest of the program is in Pascal so I am trying to just add my program to that. Two questions: 1. What is the syntax for accessing the low and high bytes of a two byte number? My problem is that I have an address labeled in the code and I want to store the resulting address into two bytes that I can access later. 2. Is there a safe location where I can store $100 bytes and not have Pascal move it? Can I create such a location? What parts of the $300 page does Pascal use? Thanks for any help! Pat Sine sine@vax1.acs.udel.edu