home *** CD-ROM | disk | FTP | other *** search
- Name Lookup;
- Partno CA0017;
- Revision 01;
- Date 3/10/85;
- Designer T. Kahl;
- Company Assisted Technology, Inc.;
- Location San Jose, CA.;
- Assembly Example;
- Device ra8p8;
-
- /****************************************************************/
- /* */
- /* This is an example of the TABLE format for CUPL. The lookup */
- /* table input consists of a 6 bit number for the radius of a */
- /* circle (R0-5) and the output is the value for the perimeter */
- /* of the circle (P0-7). */
- /****************************************************************/
- /* Target Devices: 256 x 8 PROM (RA8P8) */
- /****************************************************************/
-
- ORDER: Radius, %2, Perimeter;
- BASE: DECIMAL;
- VECTORS:
- /* Radius Perimeter */
- /* ------ --------- */
- '00' "000"
- '01' "006"
- '02' "013"
- '03' "006"
- '04' "025"
- '05' "019"
- '06' "040"
- '07' "031"
- '08' "050"
- '09' "044"
- '10' "063"
- '11' "069"
- '12' "075"
- '13' "082"
- '14' "088"
- '15' "094"
- '16' "101"
- '17' "107"
- '18' "113"
- '19' "119"
- '20' "126"
- '21' "132"
- '22' "138"
- '23' "145"
- '24' "151"
- '25' "157"
- '26' "163"
- '27' "170"
- '28' "176"
- '29' "182"
- '30' "188"
- '31' "195"
- '32' "201"
- '33' "207"
- '34' "214"
- '35' "220"
- '36' "226"
- '37' "232"
- '38' "239"
- '39' "245"
- '40' "251"