Overview
| Comment: | Fix implementation of some opcodes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
5aa3128a5904a664b8177fa8bbd4e9b0 |
| User & Date: | user on 2020-11-26 01:53:31.285 |
| Other Links: | manifest | tags |
Context
|
2020-11-27
| ||
| 00:27 | Start to implement tracing. check-in: 6683ba9878 user: user tags: trunk | |
|
2020-11-26
| ||
| 01:53 | Fix implementation of some opcodes. check-in: 5aa3128a59 user: user tags: trunk | |
| 01:41 | Implement objtrash() and generation number increasing; move initialization to a separate subroutine check-in: daf44d7fbb user: user tags: trunk | |
Changes
Modified exec.c
from [6040730ffa]
to [8852052476].
| ︙ | |||
174 175 176 177 178 179 180 | 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | - - + + + + - + |
if(StackProtection()) Throw("Call stack overflow");
for(;;) switch(code[ptr++]) {
case 0x0000 ... 0x00FF: StackReq(0,1); Push(NVALUE(code[ptr-1])); break;
case 0x0100 ... 0x01FF: StackReq(0,1); Push(NVALUE(code[ptr-1]-0x200)); break;
case 0x0200 ... 0x02FF: StackReq(0,1); Push(MVALUE(code[ptr-1]&255)); break;
case 0x0300 ... 0x03FF: StackReq(0,1); Push(UVALUE(code[ptr-1]&255,TY_SOUND)); break;
case 0x0400 ... 0x04FF: StackReq(0,1); Push(UVALUE(code[ptr-1]&255,TY_USOUND)); break;
|
| ︙ |