您现在的位置是:Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款 >
01 訂閱 英文縮寫名是否正確然后(用子程序結構編寫一程序:從鍵盤輸入一個兩位十進制的月份數(01~12),然后顯示出相應的英文縮寫名)
Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款2024-07-17 20:26:31【】7人已围观
简介從鍵盤輸入一個二位十進制的月份數(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
很赞哦!(6)
相关文章
- 04 reggae mix on youtube(i am yours 的中文歌詞)
- 05 youtube視頻下載器教程已更新微博知乎熱(網絡推廣100種方法有哪些)
- 04 tiktok怎么快速出單(tiktok短視頻怎么賺錢)
- 05 youtube批量下載工具官網打開很慢(2022最新版從0-1運營TikTok的保姆級教程)
- 05 youtube是什么職業群主要體現(媒介內容偏好,及喜歡哪些方面的內容以及原因)
- 05 youtube是什么職業群可以劃分為(程序員在職業生涯中易犯的7個錯誤)
- 04 The shadow inspired me什么意思(英語周報2015-2016高三外研56總復習十二答案)
- 04 tiktok土耳其用戶數(tiktok直播有區域的嗎澳大利亞)
- 05 youtube官網網頁版設置自動登錄賬號是(you tu be的官網是多少?)
- 05 youtube電腦版下載官網電腦網頁長截圖(PS4 Pro、Xbox One X 必搭配圓剛 4K HDR GC573 / GC553 游戲擷取盒和游戲擷取卡)
热门文章
站长推荐
04 practise doing sth造句帶翻譯(初中英語語法大全)
05 youtube視頻下載器在線計算分鐘函數(python是個什么東西)
04 ros訂閱者收不到(win10是哪年發布的)
05 youtube視頻下載器在線計算分鐘函數(python是個什么東西)
04 tiktok的m買粉絲機構現在有多少家(TikTok基礎運營新手篇--實操干貨)
05 youtube批量下載工具手機模式怎么(買粉絲視頻怎么壓縮成文件?)
04 買粉絲 youtube download android plugin(索尼愛立信LT18i的刷機步驟)
05 youtube官網網頁版設置簽名圖片不顯示圖片(PS軟件各個版本區別大嗎?哪個版本最適合新手?)