home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / CROSSASM / 68ASMSIM.ZIP / simsrc / proto.h < prev    next >
Encoding:
Text File  |  1989-04-09  |  3.4 KB  |  148 lines

  1.  
  2. /***************************** 68000 SIMULATOR ****************************
  3.  
  4. File Name: PROTO.H
  5. Version: 1.0
  6.  
  7. This file contains function prototype definitions for all functions
  8.     in the program
  9.  
  10. ***************************************************************************/
  11.  
  12.  
  13.  
  14. int MOVE(void );
  15. int MOVEP(void );
  16. int MOVEA(void );
  17. int MOVE_FR_SR(void );
  18. int MOVE_TO_CCR(void );
  19. int MOVE_TO_SR(void );
  20. int MOVEM(void );
  21. int MOVE_USP(void );
  22. int MOVEQ(void );
  23. int EXG(void );
  24. int LEA(void );
  25. int PEA(void );
  26. int LINK(void );
  27. int UNLK(void );
  28. int ADD(void );
  29. int ADDA(void );
  30. int ADDI(void );
  31. int ADDQ(void );
  32. int ADDX(void );
  33. int SUB(void );
  34. int SUBA(void );
  35. int SUBI(void );
  36. int SUBQ(void );
  37. int SUBX(void );
  38. int DIVS(void );
  39. int DIVU(void );
  40. int MULS(void );
  41. int MULU(void );
  42. int NEG(void );
  43. int NEGX(void );
  44. int CMP(void );
  45. int CMPA(void );
  46. int CMPI(void );
  47. int CMPM(void );
  48. int TST(void );
  49. int CLR(void );
  50. int EXT(void );
  51. int ABCD(void );
  52. int SBCD(void );
  53. int NBCD(void );
  54. int AND(void );
  55. int ANDI(void );
  56. int ANDI_TO_CCR(void );
  57. int ANDI_TO_SR(void );
  58. int OR(void );
  59. int ORI(void );
  60. int ORI_TO_CCR(void );
  61. int ORI_TO_SR(void );
  62. int EOR(void );
  63. int EORI(void );
  64. int EORI_TO_CCR(void );
  65. int EORI_TO_SR(void );
  66. int NOT(void );
  67. int SHIFT_ROT(void );
  68. int SWAP(void );
  69. int BIT_OP(void );
  70. int TAS(void );
  71. int BCC(void );
  72. int DBCC(void );
  73. int SCC(void );
  74. int BRA(void );
  75. int BSR(void );
  76. int JMP(void );
  77. int JSR(void );
  78. int RTE(void );
  79. int RTR(void );
  80. int RTS(void );
  81. int NOP(void );
  82. int CHK(void );
  83. int ILLEGAL(void );
  84. int RESET(void );
  85. int STOP(void );
  86. int TRAP(void );
  87. int TRAPV(void );
  88. int show_topics(void );
  89. int gethelp(void );
  90. int at(int y,int x);
  91. int home(void );
  92. int clrscr(void );
  93. char chk_buf(void );
  94. int parse(char *str,char * *ptrbuf,int maxcnt);
  95. int iswhite(char c,char *qflag);
  96. int decode_size(long *result);
  97. int eff_addr(long size,int mask,int add_times);
  98. int runprog(void );
  99. int exec_inst(void );
  100. int exception(int class,long loc,int r_w);
  101. int main(void );
  102. int init(void );
  103. int finish(void );
  104. int errmess(void );
  105. int cmderr(void );
  106. int setdis(void );
  107. int scrshow(void );
  108. int mdis(void );
  109. int selbp(void );
  110. int sbpoint(void );
  111. int cbpoint(void );
  112. int dbpoint(void );
  113. int memread(int loc,int MASK);
  114. int memwrite(int loc,long value);
  115. int alter(void );
  116. int hex_to_dec(void );
  117. int dec_to_hex(void );
  118. int intmod(void );
  119. int portmod(void );
  120. int pcmod(void );
  121. int changemem(long oldval,long *result);
  122. int mmod(void );
  123. int regmod(char *regpntr,int data_or_mem);
  124. int mfill(void );
  125. int clear(void );
  126. char *gettext(int word,char *prompt);
  127. int same(char *str1,char *str2);
  128. int eval(char *string);
  129. int eval2(char *string,long *result);
  130. int getval(int word,char *prompt);
  131. int strcopy(char *str1,char *str2);
  132. char *mkfname(char *cp1,char *cp2,char *outbuf);
  133. int pchange(char oldval);
  134. int to_2s_comp(long number,long size,long *result);
  135. int from_2s_comp(long number,long size,long *result);
  136. int sign_extend(int number,long size_from,long *result);
  137. int inc_cyc(int num);
  138. int eff_addr_code(int inst,int start);
  139. int a_reg(int reg_num);
  140. int mem_put(long data,int loc,long size);
  141. int mem_req(int loc,long size,long *result);
  142. int mem_request(int *loc,long size,long *result);
  143. int put(long *dest,long source,long size);
  144. int value_of(long *EA,long *EV,long size);
  145. int cc_update(int x,int n,int z,int v,int c,long source,long dest,long result,long size,int r);
  146. int check_condition(int condition);
  147.  
  148.