輸入:以十進制的形式讀入要判斷的年份,從鍵盤取得的一個十進制數轉換為二進制數存入BX寄存器中,再將BX中的內容保存在變量year中。 判斷:首先將year中的內容首先除以4,不能被4整除,則一定不是閏年,能被4整除的,需再將year中的內容除以100,不能被100整除的,則一定是閏年,能被100整除的,需再將year中的內容除以400,能被400整除的,則是閏年,不能被400整除的,則不是閏年。 輸出:經判斷后,是閏年的輸出“This is a leap year!”,不是閏年的則輸出“ This is not a leap year! ”,然后輸出是否要繼續判斷另一年份是否是閏年的提示字符串“ Continue jugding(y/n)?”,輸入‘y’,則輸入要判斷的年份,輸入其它字符則結束程序。
上傳時間: 2015-09-21
上傳用戶:xmsmh
1.1 一般說明 IMP705/706/707/708和IMP813L等CMOS監控電路能監控電源及電池電壓和μP/μC的工作狀況。當電源電 壓降至4.65V以下(IMP705/707/813L)或4.40V以下(IMP706/708)時,即產生復位。 該系列產品能提供多種功能。每個器件在上電、掉電期間及在電壓降低的情況下可產生一個復位信號。 此外,IMP705/706/813L帶有一個1.6秒的看門狗定時器。IMP707/708雖然無看門狗功能,但是同時具有高電 平有效和低電平有效的復位輸出,IMP813L的引腳和功能與IMP705相同但只具有高電平有效的復位輸出。具 有1.25V門限的電源故障報警電路可用于檢測電池電壓和非5V的電源。所有器件都具有手動復位(MR)輸入。 看門狗定時器的輸出如果連接至MR將會觸發復位信號。 所有器件都具有8腳DIP、SO和MicroSO封裝。
上傳時間: 2014-01-14
上傳用戶:lanwei
IAR系列電子開發環境軟件破解,在此聲明,此破解僅限個人愛好者試用,鼓勵試用正版(:p)
上傳時間: 2015-09-29
上傳用戶:leehom61
用VB寫的,通過三菱FX1S系列的編程端口與電腦串口進行通訊,可對X、M、Y、D、T、C的寄存器進行讀寫控制,操作很簡單、方便
標簽:
上傳時間: 2015-09-29
上傳用戶:417313137
針對“虎書”中的tiger語言寫的語法分析器 根據書中對tiger語言的描述寫了72條文法,對所有沖突均進行了處理,都是無害的沖突。本分析器還能對部分錯誤恢復。 特別提示:使用命令"yacc -v tiger.grm"可得到文件y.output
上傳時間: 2014-01-13
上傳用戶:epson850
CCS編程環境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input signal. Array x, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array y, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array cor is the Correlation result, the length is 255, 32-bit floating point.
標簽: Correlation Algorithm programme the
上傳時間: 2013-12-21
上傳用戶:leixinzhuo
bject Inspector is a component suite that contains inspectors allowing you to change anything in your application at runtime. Object Inspector suite includes: TPropertyInterface component for easy access to any property or event of any component at runtime TComponentInspector customizable full-functional runtime object inspector control TComponentComboBox control for easy selecting component TCommonInspector abstract inspector control for inspect anything in your application TDBInspector ready-to-use database inspector control TIniInspector ready-to-use ini-file inspector control TApplicationInspector ready-to-use inspector control for changing Application properties at runtime TSystemColorsInspector ready-to-use inspector control for changing Windows colors Examples small and clean projects illustrating features of inspectors and TPropertyInterface components Source codes full source code of all components and useful internal classes
標簽: inspectors Inspector component allowing
上傳時間: 2015-10-02
上傳用戶:無聊來刷下
單片機通過DA對信號采樣,然后在液晶顯示波形。 功能:采集數據、存儲并Y路輸出。擴展:A,B路選通,單次/連續觸發方式切換, 鎖存當前波形,垂直方向增益,垂直方向移動波形
上傳時間: 2014-12-19
上傳用戶:sxdtlqqjl
數字信號處理實驗環節(開發環境用CCS2.2)Add-on Laboratory for DSP課程說明:數字信號處理實驗環節是由清華大學研究生公共課程《數字信號處理》的因材施教實驗環節。該環節的主要目的是幫助學生熟悉和掌握利用數字信號處理器件(DSP)進行數字信號處理算法的工程實現的基本過程和基本方法。所有選修《數字信號處理》課程的學生均可報名參加。但是受實驗條件所限,實際可以接受的人數為40-50人。
標簽: Laboratory Add-on 環節 數字信號處理
上傳時間: 2014-12-22
上傳用戶:rocwangdp
DFT進行頻譜分析時的三種現象 1、混疊:對連續信號采樣,要求連續信號是帶限的,采樣頻率要足夠高。Fs應滿足Nyquist采樣定理才不產生混疊。 采樣前加低通濾波器防混疊 2、頻譜泄漏:DFT對時域信號進行了截斷(相當于采樣信號乘了一個窗函數),時域的乘積相當于頻域卷積,改變了原信號頻譜。 改用其他窗函數(非矩形)改善泄漏。 3、柵欄現象:DFT 只給出了頻譜在采樣點上的取值,采樣點間的頻譜內容丟失。
上傳時間: 2014-01-23
上傳用戶:stewart·