#include <perms.h>
// Edinburgh IMP77 Compiler - Version 8.4
//
// 1 %begin
int main(int argc, char **argv) { /*%begin*/
_imp_initialise(argc, argv);
// 2
// 3 ! similar code in test-junk/chess9.imp fails to
// 4 ! indirect on y for reasons completely unknown.
// 5 ! I haven't yet been able to reproduce the bug.
// 6
// 7 %routine do2(%integername x, y)
void DO2(int *X, int *Y) {
// 8 %integer p, q
int P;
int Q;
// 9 x = p - 65 + 1
*X = P - 65 + 1;
// 10 y = q - 48
*Y = Q - 48;
// 11 %end
return;
} /* end of DO2 */
// 12 %endofprogram
_imp_stop(0);
return 0;
end_0:;
}