?? 匯編樣本.txt
字號:
.386
.model flat,c
.stack 1024
.code
public Reverse
Reverse proc uses esi,arraychar:ptr
mov esi,arraychar
push 0
.repeat
mov al,[esi]
push ax
inc esi
.until byte ptr[esi]==0
mov si,arraychar
.while 1
pop ax
.break.if al==0
mov [esi],al
inc esi
.endw
ret
Reverse endp
end
#include<iostream.h>
extern"C"void Reverse(char *)
char chararray[30]="this is the mix programme!"
void main()
{
cout<<chararray<<'\n';
Reverse(chararray);
cout<<chararray<<'\n';
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -