Intel汇编语言程序设计(第五版)chapt_11.pptVIP

  • 6
  • 0
  • 约2.49万字
  • 约 80页
  • 2018-03-07 发布于河南
  • 举报

Intel汇编语言程序设计(第五版)chapt_11.ppt

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

Assembly Language for Intel-Based Computers, 5th Edition Chapter 11: 32-Bit Windows Programming Chapter Overview Win32 Console Programming Writing a Graphical Windows Application Dynamic Memory Allocation IA-32 Memory Management Useful Questions How do 32-bit programs handle text input-output? How are colors handled in 32-bit console mode? How does the Irvine32 link library work? How are times and dates handled in MS-Windows? How can I use MS-Windows functions to read and write data files? Is it possible to write a graphical Windows application in assembly language? How do Protected mode programs translate segments and offsets to physical addresses? I’ve heard that virtual memory is good. But why is that so? Win32 Console Programming Background Information Win32 Console Programs API and SDK Windows Data Types Standard Console Handles Console Input Console Output Reading and Writing Files Console Window Manipulation Controlling the Cursor Controlling the Text Color Time and Date Functions Win32 Console Programs Run in Protected mode Emulate MS-DOS Standard text-based input and output Linker option : /SUBSYSTEM:CONSOLE The console input buffer contains a queue of input records, each containing data about an input event. A console screen buffer is a two-dimensional array of character and color data that affects the appearance of text in the console window. Classifying Console Functions Text-oriented (high-level) console functions Read character streams from input buffer Write character streams to screen buffer Redirect input and output Event-oriented (low-level) console functions Retrieve keyboard and mouse events Detect user interactions with the console window Control window size position, text colors API and SDK Microsoft Win32 Application Programming Interface API: a collection of types, constants, and functions that provide a way to directly manipulate objects through programming Microsoft Platform Software Development Kit SDK: a collection of tools, libraries

文档评论(0)

1亿VIP精品文档

相关文档