Inicio  /  Computers  /  Vol: 3 Par: 3 (2014)  /  Artículo
ARTÍCULO
TITULO

An ECMA-55 Minimal BASIC Compiler for x86-64 Linux®

John Gatewood Ham    

Resumen

This paper describes a new non-optimizing compiler for the ECMA-55 Minimal BASIC language that generates x86-64 assembler code for use on the x86-64 Linux® [1] 3.x platform. The compiler was implemented in C99 and the generated assembly language is in the AT&T style and is for the GNU assembler. The generated code is stand-alone and does not require any shared libraries to run, since it makes system calls to the Linux® kernel directly. The floating point math uses the Single Instruction Multiple Data (SIMD) instructions and the compiler fully implements all of the floating point exception handling required by the ECMA-55 standard. This compiler is designed to be small, simple, and easy to understand for people who want to study a compiler that actually implements full error checking on floating point on x86-64 CPUs even if those people have little programming experience. The generated assembly code is also designed to be simple to read.

Palabras claves

 Artículos similares

       
 
Bernard Zeigler    
The DEVS formalism has been recognized to support generic open architectures that allow incorporating multiple engineering domains within integrated simulation models. What is missing for accelerated adoption of DEVS-based methodology for intelligent cyb... ver más
Revista: Information

 
Pablo Ballesteros-Pérez, Alberto Cerezo-Narváez, Manuel Otero-Mateo, Andrés Pastor-Fernández, Jingxiao Zhang and Mario Vanhoucke    
Most construction managers use deterministic scheduling techniques to plan construction projects and estimate their duration. However, deterministic techniques are known to underestimate the project duration. Alternative methods, such as Stochastic Netwo... ver más
Revista: Applied Sciences

 
Panagiotis Vogiatzidakis and Panayiotis Koutsabasis    
If mid-air interaction is to be implemented in smart home environments, then the user would have to exercise in-air gestures to address and manipulate multiple devices. This paper investigates a user-defined gesture vocabulary for basic control of a smar... ver más
Revista: Informatics

 
Andrii Kondratiev     Pág. 6 - 18
Analysis of practical experience in the construction and operation of the main fairings of launch vehicles has revealed the currently widely used sandwich structures with composite load-bearing sheathing combined with a cellular filler. The considered st... ver más

 
V.K. Gulakov,K.V. Gulakov     Pág. 9 - 16
The article is devoted to one of the varieties of pyramidal data structures widely used in solving various problems. Issues improving of software productivity due to use effective pyramidal data structures are discussed. A brief overview of pyramidal str... ver más