您现在的位置是:Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款 >
01 訂閱 英文縮寫名是否正確然后(用子程序結構編寫一程序:從鍵盤輸入一個兩位十進制的月份數(01~12),然后顯示出相應的英文縮寫名)
Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款2024-06-16 08:49:51【】2人已围观
简介從鍵盤輸入一個二位十進制的月份數(01-12),然后顯示出相應英文縮寫名。用匯編語言實現,最好有流程圖自己做了一個C程序,從C轉匯編,希望對你有用:#include<stdio.h>#in
從鍵盤輸入一個二位十進制的月份數(01-12),然后顯示出相應英文縮寫名。用匯編語言實現,最好有流程圖
自己做了一個C程序,從C轉匯編,希望對你有用:
#include <stdio.h>
#include <stdlib.h>
void main()
{
char mon[12][4];
sprintf(mon[0],"%s", "Jan\0");
sprintf(mon[1],"%s", "Feb\0");
sprintf(mon[2],"%s", "Mar\0");
sprintf(mon[3],"%s", "Apr\0");
sprintf(mon[4],"%s", "May\0");
sprintf(mon[5],"%s", "Jun\0");
sprintf(mon[6],"%s", "Jul\0");
sprintf(mon[7],"%s", "Aug\0");
sprintf(mon[8],"%s", "Sep\0");
sprintf(mon[9],"%s", "Oct\0");
sprintf(mon[10],"%s", "Nov\0");
sprintf(mon[11],"%s", "Dec\0");
int a = getchar()-48;
int b = getchar()-48;
a = a*10 + b;
if(a<=12)
{
printf(mon[a-1]);
}
}
匯編:
push ebp
mov ebp,esp
sub esp,114h
push ebx
push esi
push edi
lea edi,[ebp-114h]
mov ecx,45h
mov eax,0CCCCCCCCh
rep stos dword ptr es:[edi]
mov eax,dword ptr [___security_買粉絲okie (417000h)]
xor eax,ebp
mov dword ptr [ebp-4],eax
mov esi,esp
push offset string "Jan\0" (415A20h)
push offset string "%s" (415820h)
lea eax,[ebp-38h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Feb\0" (415810h)
push offset string "%s" (415820h)
lea eax,[ebp-34h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Mar\0" (415A18h)
push offset string "%s" (415820h)
lea eax,[ebp-30h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "May" (415808h)
push offset string "%s" (415820h)
lea eax,[ebp-2Ch]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "May\0" (415A10h)
push offset string "%s" (415820h)
lea eax,[ebp-28h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Jul" (4157B0h)
push offset string "%s" (415820h)
lea eax,[ebp-24h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Jul\0" (415A08h)
push offset string "%s" (415820h)
lea eax,[ebp-20h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Aug\0" (4157A8h)
push offset string "%s" (415820h)
lea eax,[ebp-1Ch]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offset string "Sep\0" (415A00h)
push offset string "%s" (415820h)
lea eax,[ebp-18h]
push eax
call dword ptr [__imp__sprintf (4182C8h)]
add esp,0Ch
cmp esi,esp
call @ILT+310(__RTC_CheckEsp) (41113Bh)
mov esi,esp
push offse
很赞哦!(8471)
相关文章
- 01 youtube官網打不開原因解決方法是什么嗎(youtube購買內容和會員資格打不開)
- 02 兒童刊物訂閱排行榜最新(郵政書報雜志訂閱排行榜。)
- 02 健康青島買粉絲買粉絲申請(青島西海岸新區中考政策)
- 01 youtube官網打不開如何更換瀏覽器怎么下載視頻音頻(如何保存外網的視頻)
- 01 youtube官網打不開如何更換瀏覽器怎么關閉搜索框(macbook怎么刪除chrome的youtube)
- 02 元旦買粉絲買粉絲素材(中秋節買粉絲買粉絲的文章素材)
- 01 youtube官網打不開如何更換瀏覽器后臺運行命令行(微軟正測試為Edge瀏覽器引入YouTube集成和新的發現選項卡)
- 02 健康懷柔買粉絲聯系電話(北京市衛生局監督投訴電話是多少?)
- 02 兒童報紙雜志訂閱排行榜(小學生雜志訂閱榜前十名)
- 02 克魯格曼的新貿易理論認為什么可以促進(國際貿易對中國的作用和意義?)
热门文章
站长推荐
01 youtube官網打不開如何更換瀏覽器主頁買粉絲設置為(微軟正測試為Edge瀏覽器引入YouTube集成和新的發現選項卡)
02 元旦主題買粉絲內容(2023元旦買粉絲文案大全錦集131條)
02 兒童刊物訂閱排行(發表兒童文學的刊物有哪些?)
01 youtube官網打不開如何更換瀏覽器怎么關閉廣告推薦(macbook怎么刪除chrome的youtube)
01 youtube官網打不開如何更換瀏覽器主頁edge瀏覽器下載(微軟正測試為Edge瀏覽器引入YouTube集成和新的發現選項卡)
02 元旦放假通知買粉絲封面圖片(插畫風ppt模板-怎么制作買粉絲電子賀卡買粉絲電子賀卡)
01 youtube官網打不開如何更換瀏覽器主頁edge怎么設置兼容(微軟正測試為Edge瀏覽器引入YouTube集成和新的發現選項卡)
01 youtube官網打不開原因是什么如何防止電腦(youtube視頻的速率跟電腦配置有關嗎)