442 |
mach.message = msg; |
mach.message = msg; |
443 |
mach.msgno = msgno; |
mach.msgno = msgno; |
444 |
|
|
445 |
mach.width = width; |
mach.width = width - 1; /* Do not count newlines */ |
446 |
mach.pc = 1; |
mach.pc = 1; |
447 |
obstack_init (&mach.stk); |
obstack_init (&mach.stk); |
448 |
list_create (&mach.addrlist); |
list_create (&mach.addrlist); |
454 |
mh_opcode_t opcode; |
mh_opcode_t opcode; |
455 |
switch (opcode = MHI_OPCODE(mach.prog[mach.pc++])) |
switch (opcode = MHI_OPCODE(mach.prog[mach.pc++])) |
456 |
{ |
{ |
457 |
|
case mhop_nop: |
458 |
|
break; |
459 |
|
|
460 |
case mhop_stop: |
case mhop_stop: |
461 |
mach.stop = 1; |
mach.stop = 1; |
462 |
break; |
break; |
516 |
mach.arg_str.size = len + 1; |
mach.arg_str.size = len + 1; |
517 |
compress_ws (value, &len); |
compress_ws (value, &len); |
518 |
mach.arg_str.ptr = value; |
mach.arg_str.ptr = value; |
519 |
|
mach.arg_num = 1; |
520 |
} |
} |
521 |
|
else |
522 |
|
mach.arg_num = 0; |
523 |
} |
} |
524 |
break; |
break; |
525 |
|
|
642 |
printf ("% 4.4ld: ", (long) pc); |
printf ("% 4.4ld: ", (long) pc); |
643 |
switch (opcode = MHI_OPCODE(prog[pc++])) |
switch (opcode = MHI_OPCODE(prog[pc++])) |
644 |
{ |
{ |
645 |
|
case mhop_nop: |
646 |
|
printf ("nop"); |
647 |
|
break; |
648 |
|
|
649 |
case mhop_stop: |
case mhop_stop: |
650 |
printf ("stop"); |
printf ("stop"); |
651 |
stop = 1; |
stop = 1; |