equal
deleted
inserted
replaced
113 ;; Restore current String position |
113 ;; Restore current String position |
114 pop di |
114 pop di |
115 |
115 |
116 ;; add newline and string terminator |
116 ;; add newline and string terminator |
117 newline: |
117 newline: |
|
118 inc di |
118 mov BYTE [di], 10 |
119 mov BYTE [di], 10 |
119 inc di |
120 inc di |
120 mov BYTE [di], 0 |
121 mov BYTE [di], 0 |
121 inc di |
122 inc di |
122 |
123 |
142 push DWORD len ;; Text Len |
143 push DWORD len ;; Text Len |
143 push DWORD msg ;; Pointer to String |
144 push DWORD msg ;; Pointer to String |
144 push DWORD 1 ;; stdout |
145 push DWORD 1 ;; stdout |
145 |
146 |
146 call asm_write ;; |
147 call asm_write ;; |
147 |
148 |
148 add esp, 12 ;; cleanup stack |
149 add esp, 12 ;; cleanup stack |
149 ret |
150 ret |