asm.h
上传用户:upcnvip
上传日期:2007-01-06
资源大小:474k
文件大小:2k
源码类别:

编译器/解释器

开发平台:

C/C++

  1. /* Header for module asm, generated by p2c */
  2. #ifndef ASM_H
  3. #define ASM_H
  4. #ifndef SYSGLOBALS_H
  5. #include <p2c/sysglobals.h>
  6. #endif
  7. #ifdef ASM_G
  8. # define vextern
  9. #else
  10. # define vextern extern
  11. #endif
  12. extern Void asm_moveleft PP((long *s, long *d, long z));
  13. extern Void asm_moveright PP((long *s, long *d, long z));
  14. extern Void asm_fastmove PP((Anyptr *s, Anyptr *d, long z));
  15. extern Void asm_newbytes PP((Anyptr **p, long z));
  16. extern Void asm_powerup PV( );
  17. extern Void asm_errmsg PV( );
  18. extern Void asm_findroms PV( );
  19. extern Void asm_f_pwr_on PV( );
  20. extern Void asm_flpyread PP((long sector, long *buffer));
  21. extern Void asm_flpy_wrt PP((long sector, long *buffer));
  22. extern Void asm_flpymread PP((long sector_count, long sector, long *buffer));
  23. extern Void asm_flpymwrite PP((long sector_count, long sector, long *buffer));
  24. extern Void asm_flpyinit PP((Anyptr *ptr, int i));
  25. extern Void asm_setintlevel PP((long level));
  26. extern long asm_intlevel PV( );
  27. extern Void asm_newwords PP((Anyptr **p, long wordsize));
  28. extern Void asm_userprogram PP((long execloc, long initsp));
  29. extern Void asm_sappend PP((Char *dest, int MAX_dest, Char *src));
  30. extern long asm_iand PP((long a, long b));
  31. extern long asm_ior PP((long a, long b));
  32. extern Void asm_ci_switch PV( );
  33. extern Void asm_initvects PV( );
  34. extern Void asm_cpymsg PP((Char *msg));
  35. #define asm_memavail()        10000000
  36. /*  extern long asm_memavail PV( );  */
  37. extern long asm_ticker PV( );
  38. extern Void asm_cache_on PV( );
  39. extern Void asm_cache_off PV( );
  40. extern Void asm_icache_off PV( );
  41. extern Void asm_icache_on PV( );
  42. extern Void asm_flush_icache PV( );
  43. #undef vextern
  44. #endif /*ASM_H*/
  45. /* End. */