登录
首页 » Asm » to-determine-a-leap-year

to-determine-a-leap-year

于 2011-10-25 发布 文件大小:1KB
0 162
下载积分: 1 下载次数: 3

代码说明:

  3、 题目:输入1842——2006年之间的十进制数。 要求: (1) 要求必须有提示信息,并独占一行。 (2) 判断是否是闰年,如果是输出“yes”,否则输出“no”。 (提示:先除100,如果除尽了再用400除如果除不尽是闰年。(如果刚才的100没有除尽则用4除,除尽则为闰年。) (3) 以二进制输出xxxx年8月29日距离1842年8月29日的月数。 (4) 以十进制输出xxxx年8月29日距离1842年8月29日的天数。 (3, the title: Enter 1842--2006 decimal number between the years. Requirements: (1) requires the existence of a message, and its own line. (2) to determine whether it is a leap year, if the output " yes" , otherwise output " no" . (Hint: first addition to the 100, except if divisible by the then 400 is a leap year if the indivisible (If you just use the 100 is not divisible by 4 except, divisible was a leap year.) (3) in the binary output xxxx August 29 from August 29, 1842 the number of months. (4) decimal output xxxx years from August 29, August 29, 1842 the number of days.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PL0词法分析程序
    说明:  三、 实验要求 1. 使用 PL/0 语言编写程序,实现输出斐波那契数列前 20 项数值。 2. 从 PL/0 编译程序源码中抽出词法分析部分,构建 PL/0 独立词法分析程序。功能:输入为 PL/0 源程序, 输出为单词符号的序列;对于标识符和无符号整数,显示单词种别和单词自身的值两项内容;对于其他单词符 号,仅显示其单词种别。 3. 使用 AutoFlowchart 画出独立词法分析程序的程序流程图,并分析每部分的功能和特点。(Iii. Experimental requirements 1. Use PL/0 language to write programs to output the first 20 values of Fibonacci sequence. 2. Extract the part of lexical analysis from PL/0 compiler source code, and build PL/0 independent lexical analysis program. Function: Input as PL/0 source program, Output a sequence of word symbols; For identifiers and unsigned integers, the word class and the value of the word itself are displayed. For other word characters , showing only its word class. 3. Use AutoFlowchart to draw the program flow chart of the independent lexical analysis program and analyze the functions and characteristics of each part.)
    2020-06-16 13:45:01下载
    积分:1
  • lex文法的源程序(编译原理相关)
    lex文法的源程序(编译原理相关)-lex grammar of the source (compiler principles relevant)
    2022-01-25 16:26:25下载
    积分:1
  • water_level_adgust-
    水位可调节的汇编程序与现成的软件仿真,可以打开模拟调试与学习,注释详细(Assembler level adjustable shelf software with the simulation, simulation debugging and learning can open, detailed notes)
    2014-04-03 18:09:34下载
    积分:1
  • 这 是 一 篇 基 于 C 语 言 的 单 片 机 电 子 时 钟 的 程 序
    这 是 一 篇 基 于 C 语 言 的 单 片 机 电 子 时 钟 的 程 序-This is a C language-based single-chip electronic clock procedures
    2022-09-14 15:10:03下载
    积分:1
  • ,片选接到p1.5 复位端 p1.4 中断端接到 int0 82c250工作在斜率模式下 ,RS 接51k电阻到地。 2,SJA10...
    ,片选接到p1.5 复位端 p1.4 中断端接到 int0 82c250工作在斜率模式下 ,RS 接51k电阻到地。 2,SJA1000与82C250的接口,逻辑上为SJA1000输出0(显性位),表现为低点平输出给82C250,则82C250输出 差分的低电平。SJA1000输出1(隐性位),表现为高电平或悬空输出给82C250,则82C250输出悬空状态。 3,周立功的中SJA_BCANCONF.ASM中对输出控制寄存器 的TX0的输出 极性的位的定义不对。 还有里面定义有接收错误标志码,不知道何时用。-, The election received a P1.5-chip client p1.4 interrupt reset int0 82c250 client received in the slope mode, RS then 51k resistor to ground. 2, SJA1000 with the 82C250 interface, logic for SJA1000 Output 0 (dominant bit), showing low level output to the 82C250, while the low-level differential output 82C250. SJA1000 Output 1 (recessive), and the performance of the output is high or left vacant to the 82C250, the vacant state 82C250 output. 3, Zhou Ligong in the SJA_BCANCONF.ASM of output control register TX0 output polarity bit the definition of wrong. Inside the definition also has to receive error flag code, I do not know when to use.
    2022-06-28 07:07:40下载
    积分:1
  • USART
    说明:  USART for atmega8 works
    2020-06-23 07:00:01下载
    积分:1
  • Single
    单片机LCD程序,用汇编语言写的,里面有详细的源代码和电路图-Single-chip LCD procedures, using assembly language to write, and there are detailed source code and circuit diagram
    2022-07-04 02:42:03下载
    积分:1
  • mimasuo
    密码锁 密码锁控制程序 汇编 实现-mimasuo
    2022-12-11 23:55:03下载
    积分:1
  • Maopao
    分别用C语言和汇编语言实现冒泡排序,有汇编语言实现时的流程图,通过比较运行的时间,体现汇编的高效(This is a best program which can help you learn huibain is more better.)
    2014-05-07 18:31:54下载
    积分:1
  • 方柱绕流的LBM代码(C++)
    Lattice boltzmann method 方柱扰流代码,C++(LBM Code for Square Column Spoiler)
    2020-06-20 00:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载