紧急求救问题!
哪位哥们做过下面三个问题其中的一个,或者会做其中的一个就行,回复一下答案,急用!小弟万分感谢!!1.编写一个字符串交换的程序,输入自己的拼音姓和名,运行后输出名和姓;
2.编写一个点歌系统的程序,预存几首歌曲,然后根据菜单点歌;
3.编写一个模拟钢琴程序,利用键盘和扬声器模拟一台简易钢琴。
.386
.model flat, stdcall
option casemap :none
include windows.inc
include user32.inc
include kernel32.inc
include masm32.inc
include gdi32.inc
includelib msvcrt.lib
includelib gdi32.lib
includelib user32.lib
includelib kernel32.lib
includelib masm32.lib
include macro.asm
_getch proto c
.data
buffer1 db 127 dup(?),0
buffer2 db 127 dup(?),0
.CODE
START:
invoke StdOut,CTXT("your family name:")
invoke StdIn,offset buffer1,sizeof buffer1
invoke StdOut,CTXT("your name:")
invoke StdIn,offset buffer2,sizeof buffer2
invoke StdOut,offset buffer2
invoke StdOut,offset buffer1
invoke _getch
invoke ExitProcess,0
end START