Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uupsi!sunic!news.funet.fi!cc.tut.fi!cc.tut.fi!n67786 From: n67786@lehtori.tut.fi (Nieminen Tero) Newsgroups: comp.sys.mac.programmer Subject: Re: Reading Text With Pointers... Message-ID: Date: 30 Dec 90 14:45:09 GMT References: <50164@cornell.UUCP> Sender: n67786@cc.tut.fi (Nieminen Tero) Organization: Tampere Univ. of Technology, Finland. Lines: 16 In-Reply-To: wayner@kama.cs.cornell.edu's message of 30 Dec 90 20:43:13 GMT In article <50164@cornell.UUCP> wayner@kama.cs.cornell.edu (Peter Wayner) writes: If I read in a file of text, each character fills a byte. The problem is that the 68000 doesn't allow unalligned access, but the 68020/30 does. What is the best way to pull of characters one by one? All of the 68K series cpus let you access byte (character) sized data at both even and odd addresses. The restriction on 68000 (and hence Mac programs) affect only word and long word sized data (and the way stack is filled). -Peter -- Tero Nieminen Tampere University of Technology n67786@cc.tut.fi Tampere, Finland, Europe