Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!rutgers!att!alberta!calgary!cpsc!demarco From: demarco@cpsc.ucalgary.ca (Vince Demarco) Newsgroups: comp.sys.apple Subject: assembly Summary: Assembly Keywords: stuff Message-ID: <794@cs-spool.calgary.UUCP> Date: 24 Feb 89 18:29:47 GMT References: <409@odin.cs.hw.ac.uk> <651@dsacg2.UUCP> <11134@s.ms.uky.edu> Sender: news@calgary.UUCP Lines: 22 ;* RESULT = (W - (( X + 77 )* Y) ) + 45) * (Z - 77) ) How would i write a 6502 program to calculate the above expression no printing or result needs too be done and the variable values are hard coded into the program W=77 x=3 y=4 z=82 Please do it in a form merlin would recognize. Thanks in advance, I know how to do this in pdp-11 but how is it done in 6502 assmbler Vince demarco@CPSC.UCalgary.CA