Курсовая работа: Конкатенація строк Assembler

.486

.model flat, stdcall

option casemap :none

include \masm32\include\windows.inc

include \masm32\macros\macros.asm

include \masm32\include\masm32.inc

include \masm32\include\gdi32.inc

include \masm32\include\user32.inc

include \masm32\include\kernel32.inc

include \masm32\include\fpu.inc

includelib \masm32\lib\masm32.lib

includelib \masm32\lib\gdi32.lib

includelib \masm32\lib\user32.lib

includelib \masm32\lib\kernel32.lib

includelib \masm32\lib\fpu.lib

strCat PROTO lpszSource:DWORD, lpszAdd:DWORD

.data

strNum1 db "Type the the first number: ", 0

strNum2 db "Type the second number: ", 0

strArithm db "The result of fucntion: ", 0

strType1 db "Type the first string: ", 0

strType2 db "Type the second string: ", 0

strResult db "The result of concationation: ", 0

strZeroDiv db "Zero divide is forbidden. Function is undefined ", 13, 10

cons dq -2.0

one dq 1.0

y dq 0

.data?

buff db 128 dup(?)

К-во Просмотров: 424
Бесплатно скачать Курсовая работа: Конкатенація строк Assembler