| 1098 | } |
| 1099 | |
| 1100 | static int readsize (int val, TCHAR **c) |
| 1101 | { |
| 1102 | TCHAR cc = _totupper (readchar(c)); |
| 1103 | if (cc == 'B') |
| 1104 | return 1; |
| 1105 | if (cc == 'W') |
| 1106 | return 2; |
| 1107 | if (cc == '3') |
| 1108 | return 3; |
| 1109 | if (cc == 'L') |
| 1110 | return 4; |
| 1111 | #ifdef WITH_SOFTFLOAT |
| 1112 | if (cc == 'S') |
| 1113 | return NUMTYTPE_S; |
| 1114 | if (cc == 'D') |
| 1115 | return NUMTYTPE_D; |
| 1116 | if (cc == 'X') |
| 1117 | return NUMTYTPE_X; |
| 1118 | if (cc == 'P') |
| 1119 | return NUMTYTPE_P; |
| 1120 | #endif |
| 1121 | return 0; |
| 1122 | } |
| 1123 | |
| 1124 | static int checkvaltype(TCHAR **cp, uae_u32 *val, debugfloatx80 *valx80, int *size, TCHAR def) |
| 1125 | { |
no test coverage detected