Xref: utzoo comp.arch:10608 comp.misc:6535 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!cs.dal.ca!iotek!garyb From: garyb@iotek.UUCP (Gary Burrell) Newsgroups: comp.arch,comp.misc Subject: Re: TRON (a little long) Message-ID: <336@venus.iotek.UUCP> Date: 12 Jul 89 11:07:23 GMT References: <32424@apple.Apple.COM> <226@arnor.UUCP> <33015@apple.Apple.COM> <29418@ism780c.isc.com> Reply-To: garyb@iotek.UUCP (Gary R. Burrell) Organization: IOTEK Inc Lines: 45 In article <29418@ism780c.isc.com> marv@ism780.UUCP (Marvin Rubenstein) writes: > >As an implementor of an assembler and a C compiler for the machine I can make >some comments. The assembler recoginizes 442 opcode names. But the actual >number of machine instructions is greater than this. For an opcode name like >'mov' the assembler selects from one of 7 different machine instructions >depending on the operands. Allen Baum is correct about instruction >complexity. But his 160 bit estimate was conservative. Here is an example >of a single instruction. The number of bits in the instruction is 416. And >there are instructions that are even longer than this one. > > mov @(@(@(@(a,r1),b,r2),c,r3),d,r4), @(@(@(@(a,r1),b,r2),c,r3),d,r4) > > D20B 4412 0003 0D40 > 4812 0004 93E0 4C12 > 0006 1A80 9012 0000 > C350 8A0B 4412 0003 > 0D40 4812 0004 93E0 > 4C12 0006 1A80 9012 > 0000 C350 > >The block of hex digits is the object form of the assembly source line. >This form of 'mov' does a memory to memory move. The address is computed >as follows: Can you say "GAG" Boys and Girls ! Sure you can it's easy!!! > > Marv Rubinstein Gary Burrell <<<<<<******>>>>>> Gary R. Burrell, Iotek Inc, |*| E-Mail: garyb@iotek.uucp |*| 1127 Barrington St., Suite 100, |*| Fax: (902)420-0674 |*| Halifax, N.S., B3H 2P8, Canada |*| Phone: (902)420-1890 |*| Damm it Jim I'm a Doctor not a Computer Scientist! *************************************