Download Quartus Forth 2.0.0 - Quartus Handheld Software

Transcript
Quartus Forth User Guide and Reference (revision 05/12/05)
Page 2
Table of Contents
Introduction and Frequently-Asked Questions........................................................... 6
Typographical Conventions.........................................................................................................14
Other conventions:.................................................................................................................. 14
User Guide.................................................................................................................15
How to Buy Quartus Forth......................................................................................................15
Quartus Forth License Agreement and Limited Warranty...................................................... 16
Quartus Forth Installation....................................................................................................... 19
Starting Quartus Forth.............................................................................................................20
Creating startup.quartus.......................................................................................................... 22
Console features:.....................................................................................................................22
Creating “Hello World!”.........................................................................................................23
How errors are handled........................................................................................................... 26
Working with Palm OS Resources......................................................................................... 27
Sample Application.................................................................................................................29
Compiling the sample app Duco.............................................................................................29
Working with Floating-Point Values...................................................................................... 30
Double-Precision Floating-Point............................................................................................ 33
Floating-Point Output:............................................................................................................ 36
External links to other useful information:............................................................................. 38
Reference Manual......................................................................................................40
Quartus Forth Wordsets: General..............................................................................40
Defer Wordset..............................................................................................................................41
Events Wordset............................................................................................................................43
Implementation details for Standard event-handling words:.................................................. 43
Quartus Forth Extensions:...................................................................................................... 43
Lower-level words for managing events:................................................................................44
Deprecated/obsolete words:.................................................................................................... 44
See also:.................................................................................................................................. 44
ID Wordset...................................................................................................................................45
Notes:...................................................................................................................................... 45
See also:.................................................................................................................................. 45
Interpreter Wordset...................................................................................................................... 46
Quartus Forth Extensions:...................................................................................................... 46
For advanced developers:........................................................................................................46
Memory-Access Wordset............................................................................................................ 47
Implementation details for Standard words:........................................................................... 47
Quartus Forth Extensions:...................................................................................................... 47
Notes:...................................................................................................................................... 49
Miscellaneous Wordset................................................................................................................50
Common-usage words:........................................................................................................... 50
Additional miscellaneous words:............................................................................................50
Notes:...................................................................................................................................... 51
Module Wordset.......................................................................................................................... 52
Notes:...................................................................................................................................... 54