一些用到的汇编库&函数 2018-10-11

汇编系列文章:
https://www.jianshu.com/nb/29822876

可以直接到http://programming.msjc.edu/asm/help/上面搜索需要的函数。

库:
SmallWin.inc

  • https://cs.fit.edu/~mmahoney/cse3101/examples/Lib32/SmallWin.inc

Irvine32.inc

  • https://cs.fit.edu/~mmahoney/cse3101/examples/Lib32/Irvine32.inc

SetTextColor

  • http://programming.msjc.edu/asm/help/source/irvinelib/settextcolor.htm

  • Call args: EAX = Bits 0-3 = foreground color
    Bits 4-7 = background color
    Return arg: None

  • Example: Set for yellow text on blue background

    INCLUDE Irvine32.inc ;for color definitions
    
        mov  eax,yellow+(blue*16)
        call SetTextColor
    
  • Note: The colors defined in Irvine32.inc are:
    black, white, brown, yellow, blue, green, cyan, red, magenta, gray, lightBlue, lightGreen, lightCyan, lightRed, lightMagenta, and lightGray.

你可能感兴趣的:(一些用到的汇编库&函数 2018-10-11)