MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / stackLine

Method stackLine

gui/qt/debugger.cpp:2234–2243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2232}
2233
2234void 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

Callers

nothing calls this directly

Calls 3

QStringClass · 0.85
int2hexFunction · 0.85
mem_peek_wordFunction · 0.85

Tested by

no test coverage detected