| 2232 | } |
| 2233 | |
| 2234 | void MainWindow::stackLine() { |
| 2235 | int width = adlState(ui->checkADLStack->checkState()) ? 6 : 4; |
| 2236 | |
| 2237 | QString line = QString(QStringLiteral("<pre><b><font color='#444'>%1</font></b> %2</pre>")) |
| 2238 | .arg(int2hex(m_stackAddr, width), |
| 2239 | int2hex(mem_peek_word(m_stackAddr, width == 6), width)); |
| 2240 | m_stackAddr = (m_stackAddr + (width >> 1)) & 0xFFFFFF; |
| 2241 | |
| 2242 | ui->stackView->appendHtml(line); |
| 2243 | } |
| 2244 | |
| 2245 | //------------------------------------------------ |
| 2246 | // TI-OS View |
nothing calls this directly
no test coverage detected