32/64-Bit 80x86 Assembly Language Architecture

Now to discuss a totally different but related topic. These functions fall into one of two categories: the function and the procedure. Now as we all learned in school, a function returns a value and a procedure does not, but their code is typically written the same. The only real difference is that the calling code makes use of the EAX and/or EDX/EAX regis- ter(s) when the function returns.

Function

Procedure

y = (x)

(x)

CALL

CALL destination

Mnemonic

P

PII

K6

3D!

3Mx+

SSE

SSE2

A64

SSE3

E64T

CALL

Категории