On Fri, 9 Mar 2018 14:13:40 +0000, bartc declaimed the
following:
>
>Somewhat tidier than that for x64, which varies between Windows and
>Linux. Windows has the simpler one, and passes the first four arguments
>in rcx, rdx, r8 and r9.
>
>So not only are the registers not consecutive, but they couldn't even
>come up with a consistent naming scheme for the registers.
>
CX and DX are likely historical carry-overs from the 8008/8080 (A, C,
D, H, L, with an X to indicate a wide register).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|