Day: August 31, 2013
MMIX assembly language floating point number preprocessor – GNU Bison and GNU Flex version
Here’s a GNU Bison and GNU Flex version of my MMIX assembly language floating point number preprocessor. The code was developed using GNU Bison version 1.875d and GNU Flex version 2.5. This version allows for entering more complex expressions of floating point numbers involving addition, subtraction, multiplication and division. Extending the grammar to cover trigonometric […]
Read More → MMIX assembly language floating point number preprocessor – GNU Bison and GNU Flex versionMMIX assembly language floating point number preprocessor – initial C version
Here’s the code for a C program I conceived during a rather boring night shift while performing national service some years back. The code was later refined using GNU Bison and GNU Flex for parsing the operand field, yielding the possibility of processing whole expressions involving addition, subtraction, multiplication and division. Instead of specifying IEEE […]
Read More → MMIX assembly language floating point number preprocessor – initial C version