csim.xul  |  csim.js  |  options.xul  |  options.js  |  about.xul  |  consts.js  |  screen.js  |  platform.js  |  csim.dtd  |  csim.css  |  b2a.c

#include <stdio.h>

int main(int argn, char** argv) {
  FILE *src, *dst;
  unsigned char cmd[4];
  
  if ((src = fopen(argv[1], "rb")) && (dst = fopen(argv[2], "wb")))
    while (fread(cmd, 4, sizeof(char), src))
      fprintf(dst, "%.10u", (cmd[0] << 24) + (cmd[1] << 16) + (cmd[2] << 8) + cmd[3]);
  else exit(1);
  return 0;
}