It's going to start school, I originally want to learn the development of the OS and threads, such as process communication or thread communication, but the lack of compilation, so I started to look at the compilation, the past branch structure of the food is very The example below is very good tool Masm5.0 is also available in Masm 8.0. Created at 12:09 2005-2-20dseg SegmentData1 DB 13h, 26HData2 DW 0Newline DB 0ahdata3 DB 6; variables can be used directly with natural numbers, but must use hexadecimal 30H-39HDATA4 DB 32H; 2DSEG Endssseg segment Stacksktop DB 20 DUP (0) SSEG Endscseg Segment Assume CS: CSEG, DS: DSEG Assut SS: SSEGSTART: MOV AX, DSEGMOV DS, AXMOV AX, SSEGMOV SS, AXMOV SP, Length Sktop; ********* **************** MOV DL, 'W'MOV AH, 02HINT 21HMOV DL,' E'mov AH, 02HINT 21HMOV DL, 'L'MOV AH, 02HINT 21HMOV DL,' C'mov AH, 02HINT 21HMOV DL, 'O'MOV AH, 02HINT 21HMOV DL,' MOV AH, 02HINT 21HMOV DL, 'E'mov AH, 02HINT 21h; Or welcome information MOV DL, NewLinemov AH, 02HINT 21h
CMP Data3, 5jne Oneje EXITONE: MOV DL, 39H MOV AH, 02H INT 21h
******************** * EXIT: MOV AH, 4CH; exiting MOV Al, 0INT 21h; ************* *********** MOV AH, 4CHMOV Al, 0INT 21HCSEG Ends End Start I hope that these most basic things can give everyone some need to make up compilation, I also saw Javaapplet's things yesterday, I saw C # today Looking at Java, I really came crazy these days. Today is the most happy thing to know the function of using the RSS reader. I don't look at so many advertisements. I hate the advertisement but the future may rely on it. It's really Helpless
For newcomers, the entry is always painful, at least I am like this, but it is improved after getting started, and the impetuous is bone.