12.07.2015 Views

assembly - Projeto Pesquisa - Furb

assembly - Projeto Pesquisa - Furb

assembly - Projeto Pesquisa - Furb

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Acesso aos atributosclasse TRetangulotopo, esquerda, fundo, direita: inteiro;construtor constroi;iniciotopo := 7;esquerda := 77;fundo := 777;direita := 7777;fim;fim; Deslocamento calculado pelo compiladorconsultado a tabela de simbolos do TAD. Descolamentos 0, 2, 4 e 6, respectivamente<strong>Furb</strong>olconstrutor constroi;iniciotopo := 7;esquerda := 77;(...)fim;<strong>assembly</strong>01) TRetangulo@constroi proc near02) push bp03) mov bp, sp04) sub sp, 005)06) mov ax,707) mov es,word ptr [bp+6]08) mov word ptr es:[0],ax09)10) mov ax,7711) mov es,word ptr [bp+6]12) mov word ptr es:[2],ax13)14) (...)15) TRetangulo@constroi endp

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!