代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.vhd
-- 库声明
library IEEE;
use IEEE.STD_LOGIC_1164.all;
-- 实体声明
entity switch is
port (
din1 : in STD_LOGIC;
din2 : in STD_LOGIC;
sel : in STD_LOGIC;
dout : out STD_LO
switch.hex
:100023001200671200637F1E12003A9200A2009230
:060033000112005880F0EC
:0100390022A4
:03006700D2902212
:10003A00C20120900A7E00120003209002D201A27F
:01004A0001B4
:01004B002292
:0400630075B0F02262
switch.plg
礦ision2 Build Log
Project:
D:\Pont\Ch04_08 - Switch\Switch.uv2
Project File Date: 12/10/2004
Output:
Build target 'Target 1'
compiling Switch
switch.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
switch.ats
Section Main
var @myvar as atsString
@myvar = "red"
switch @MyVar
Case "red"
msgbox "red"
Case "green"
msgbox "blue"
Case Else
MsgBox "other"
end switch
End Section
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.h
/* switch.h
* Definitions needed for implementing context switching.
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initial
* call fram