Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!aero-c!gumby.dsd.trw.com!deneva!knurlin From: knurlin@spf.trw.com (Scott Karlin) Newsgroups: comp.sys.amiga.programmer Subject: Re: Instructions on 68000 Message-ID: <28063915.180D@deneva.sdd.trw.com> Date: 12 Apr 91 22:47:49 GMT References: <4577@orbit.cts.com> Sender: news@deneva.sdd.trw.com Organization: TRW Data Systems Center, Redondo Beach, CA Lines: 23 In article <4577@orbit.cts.com> koleman@pnet51.orb.mn.org (Kurt "Koleman" Koller) writes: > >Ok, I was looking at some source in Assembly, and I saw some instructions that >I wasn't familiar with. My assembler (Macro 68) assembles them just fine, and >they ARE mentioned in the 68000 manual, but just MENTIONED. I have no idea >what they do. If anyone can help me, so be it. > > st (MemoryLocation) > sne d(n) > sf > sge These are examples of the Scc (Set According to Condition) instructions. If the condition specified by "cc" is true then the byte operand is set to all bits 1, otherwise all bits 0. The conditions specified by your four examples are: always true, not equal, never true, & greater or equal. This information can be found in the "8-/16-/32-Bit Microprocessors User's Manual" ISBN: 0-13-567074-8. -- Scott Karlin knurlin@spf.trw.com -- TRW Data Systems Center Phone: (213) 812-7335 -- One Space Park, O2-1761 -- Redondo Beach, CA 90278-1071