11/14/2022 0 Comments Purebasic Serial Port Example![]() ![]() ![]() Intel ® has called the x86-64 instruction set other names including IA-32e, EM64T and Intel ® 64 which is the name that company currently uses. The absence of any working ECMA-55 Minimal BASIC compiler that would run on or generate code for x86-64 Linux ® motivated the creation of the compiler described in this paper which compiles Minimal BASIC code into x86-64 assembly code for 64 bit Linux ®. None of these five compilers is designed for programs written in the Minimal BASIC dialect, although porting such a program to run on TrueBASIC should be possible since their documentation says they still accept line numbered programs. While Pure BASIC does generate 64 bit nasm assembly code for x86-64 Linux ®, it does not support any traditional line-numbered BASIC dialect, but instead is a compiler for a Pascal-derived language similar to the dialect made popular by Microsoft ®’s Visual BASIC ® product. In addition, neither comes with source code for the compiler, so they are not useful for people wanting to learn how to build or modify a compiler. The commercial TrueBASIC and Liberty BASIC products do not run on or generate code for x86-64 Linux ®. Andre Victor’s FreeBASIC compiler does not support generating 64 bit programs at all. Line numbers are a requirement for ECMA-55 Minimal BASIC. Anthony Liguori’s GNU Liberty BASIC Compiler Collection compiles to C, not assembly code, requires GNOME and gcc to be installed, and does not accept programs with line numbers. Also, no free and open source BASIC compiler generating native 64 bit assembly code for x86-64 Linux ® was found. Most early BASIC implementations were interpreters, even though the language was always intended to be compiled (, p. ![]() ![]() Extensive research failed to reveal any available fully compliant Minimal BASIC implementation, although clearly at least one must have existed which was used to create the National Bureau of Standards (NBS) test suite. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |