Thread View: pl.comp.lang.asm
2 messages
2 total messages
Started by Michal
Fri, 12 May 2006 16:27
Debuger fpu dla linuksa
Author: Michal
Date: Fri, 12 May 2006 16:27
Date: Fri, 12 May 2006 16:27
20 lines
1487 bytes
1487 bytes
Witam
Szukam debugera który umożliwiłby mi podgląd wartości rejestrów koprocesora.
Piszę procedurę zmiany rozmiaru obrazka (metoda najbliższego sąsiada) ale
coś się rozjeżdża i chciałbym zobaczyć dokładne co i jak.
W c wyglada to mniejwięcej tak:
dx = (double)mainPicture->width() / (double)tempPicture->width();
dy = (double)mainPicture->height() / (double)tempPicture->height();
for (int j=0; j<tempPicture->height(); j++)
ypoz = (j * dy);
for (int i=0; i<tempPicture->width(); i++) {
xpoz = (i * dx);
//ypoz = (j * dy);
tempPicture->setPixel(i, j, mainPicture->pixel(xpoz, ypoz));
}
}
W assemblerze mam 40 linii i ciężko jest to znaleźć.
Re: Debuger fpu dla linuksa
Author: Wojciech Muła
Date: Fri, 12 May 2006 16:50
Date: Fri, 12 May 2006 16:50
5 lines
1014 bytes
1014 bytes
Michal wrote: > Szukam debugera który umożliwiłby mi podgląd wartości rejestrów koprocesora. gdb, polecenia show registers, show registers nazwa_rejestru, show all-registers
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads