期刊论文详细信息
Computers
An ECMA-55 Minimal BASIC Compiler for x86-64 Linux®
关键词: BASIC;    compiler;    AMD64;    INTEL64;    EM64T;    x86-64;    assembly;   
DOI  :  10.3390/computers3030069
来源: mdpi
PDF
【 摘 要 】

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.

【 授权许可】

CC BY   
© 2014 by the authors; licensee MDPI, Basel, Switzerland.

【 预 览 】
附件列表
Files Size Format View
RO202003190021498ZK.pdf 346KB PDF download
  文献评价指标  
  下载次数:31次 浏览次数:15次