Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Advanced Beginners Message-ID: <531.UUL1.3#5129@willett.UUCP> Date: 22 Feb 90 23:30:17 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 39 Date: 02-21-90 (15:53) Number: 2940 (Echo) To: IAN GREEN Refer#: 2601 From: MICHAEL HOBSON Read: NO Subj: FORTH Status: PUBLIC MESSAGE re: Beginner's Forth There are some exellant Forth Tutorials on this board (check the file areas). For your immediate questions: For sixteen bit numbers: @ - 'fetch' (addr - number) replace address on top of stack with the value at that address. ! - 'store' (number addr - ) stores number below top of stack into address at top of stack. Both values are consumed (POPed). For eight bit numbers: C@ - 'c-fetch' (addr - char) rreplace address at top of stack character value at that address. For iapx86 machines, the value is zero-extended into an unsigned integer. C! - 'c-store' (char addr - ) store character value below top of stack into address at top of stack (byte store). Both items are consumed (POPed) Good luck with RTX2001A kit, Ian. "The Elf" [^]-[^] \---/ Elf - A wise and helpful variety of magical being. NET/Mail : British Columbia Forth Board - Burnaby BC - (604)434-5886 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'