Compiler Target Code

Target code for the compiler will be a subset of C that emulates a 1-1/2 address register architecture machine. 1)Memory and registers will be emulated with global arrays. 2)Simple assignments of the form (type) target = source; where at most one of target and source is memory 3)All arithmetic operations will be reduced to operator assignments in which the left side is a "register" (type) reg[i] op= value; /* cast is optional if needed to get correct type in storage */ The value may be a register, memory location, or literal 4) Control will be implemented with simple ifs and gotos if (reg) goto label; if (reg CMP 0) goto label; /* where CMP is one of <, >, <=, >=, !=, == */ goto label; 5)Function call - return implementation will be as follows bound functions with header and block as in C; function headers using C syntax with return type void and no parameters void f() { ... } arguments are passed in in registers 0, 1, 2, .... (There will be enough registers.) return value, if there is one, is placed in reg[0] call function with name(); 6) Run-time support library: -You may use any functions in the C/C++ library or write your own for I/O and other support, but not to replace operations that can be done with the code specified above -Strings can be processed as strings in the target code

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

windows xp

Habilidades: Programação C, Engenharia, Microsoft, MySQL, PHP, Arquitetura de software, Teste de Software, Área de trabalho do Windows

Ver mais: working at target, syntax programming, syntax in programming, strings in c programming, programming syntax, programming operator, programming compiler, operator code, machine operator, function block programming, c programming syntax, c programming strings, c programming operator, c programming assignments get done, c programming arrays, cast control install, arrays in programming, arrays in c programming, h4 working, h4 work, h4 can work, can h4 work, php compiler, c programming compiler, write a software for library

Acerca do Empregador:
( 16 comentários ) United States

ID do Projeto: #3009169

2 freelancers estão ofertando em média $60 para este trabalho


See private message.

$34 USD in 4 dias
(22 Comentários)

See private message.

$85 USD in 4 dias
(1 Comentário)