Topic: in-line machine code

topics > computer science > programming > Group: code generation

in-line code
language flexibility
machine code and assembly language


Four approaches have been used to directly code machine instructions with high-level languages. First, system implementation languages contain instructions which correspond to machine instructions. Second, machine register declarations may provide allocation information for the compiler. Third, machine code can be embedded into programs by trip codes with symbolic access to variables. Fourth, downward language extension allow new constructs for referencing the machine.

Rohmer has tried generating code directly through a high-level language. His programs in APL are really code generating programs producing hard machine code. This approach is quick but inefficient. (cbb 5/80)

Subtopic: machine code for hardware up

QuoteRef: dubyJJ12_1971 ;;137 extensible languages should be extendable downwards-- eg to support new physical devices or instructions
QuoteRef: rtl2 ;;inline code with special codes for interfacing (trip 1, trip 2)

Subtopic: machine code up

Quote: APL2M assembles machine code using APL to manipulate the bits [»rohmJ_1979]
QuoteRef: sammJE_1969 ;;532 access to one machine accumulator through assign A=var. and assign va
QuoteRef: wulfWA12_1971 ;;782 has register declarations

Related Topics up

Topic: in-line code (7 items)
Topic: language flexibility (34 items)
Topic: machine code and assembly language
(49 items)

Updated barberCB 7/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.