Đã Đóng

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

Kĩ năng: Lập trình C, Kĩ thuật, Microsoft, MySQL, PHP, Kiến trúc phần mềm, Kiểm tra phần mềm, Màn hình Windows

Xem nhiều hơn: 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

Về Bên Thuê:
( 16 nhận xét ) United States

ID dự án: #3009169

2 freelancer đang chào giá trung bình $60 cho công việc này


See private message.

$34 USD trong 4 ngày
(22 Nhận xét)

See private message.

$85 USD trong 4 ngày
(1 Nhận xét)