全文预览

Intel汇编语言程序设计(第五版)chapt 11

上传者:业精于勤 |  格式:ppt  |  页数:80 |  大小:368KB

文档介绍
WPARAMРDWORDРBSTR, LPCSTR, LPSTRРPTR BYTEРWORDРWORDРLPCRECTРPTR RECTР8РIrvine, Kip R. Assembly Language for Intel-puters, 5/e, 2007.РStandard Console HandlesРSTD_INPUT_HANDLE ?standard input?STD_OUTPUT_HANDLE??standard output?STD_ERROR_HANDLE ?standard error outputРA handle is an unsigned 32-bit integer. The following MS-Windows constants are predefined to specify the type of handle requested:Р9РIrvine, Kip R. Assembly Language for Intel-puters, 5/e, 2007.РGetStdHandleРGetStdHandle returns a handle to a console stream?Specify the type of handle (see previous slide)?The handle is returned in EAX?Prototype:РSample call:РGetStdHandle PROTO,? nStdHandle:DWORD?; handle typeРINVOKE GetStdHandle, STD_OUTPUT_HANDLE?mov myHandle, eaxР10РIrvine, Kip R. Assembly Language for Intel-puters, 5/e, 2007.

收藏

分享

举报
下载此文档