[unix-pc.general] 3B1 assember for 'MOVE {to|from} CCR' instruction?

pjh@mccc.uucp (Pete Holsberg) (11/10/89)

Try	mov.w	EA,%cc
and	mov.w	%cc,EA
-- 
Pete Holsberg                UUCP: {...!rutgers!}princeton!mccc!pjh
Mercer College               CompuServe: 70240,334
1200 Old Trenton Road        GEnie: PJHOLSBERG
Trenton, NJ 08690            Voice: 1-609-586-4800

ford@cbmvax.UUCP (Michael "Ford" Ditto) (11/10/89)

In article <1797@naucse.UUCP> sbw@naucse.UUCP (Steve Wampler) writes:
>Can someone tell me the as code for moving t/from the condition
>code registers?

>	movw	cc,sp@-
>	movw	sp@+,cc

	mov.w	%cc,-(%sp)
	mov.w	(%sp)+,%cc
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ditto@amix.commodore.com
- The Unix Programmer's Manual,		...!uunet!cbmvax!ditto
  2nd Edition, June, 1972.		ford@kenobi.commodore.com