代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;
switch.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target
switch.inc
;***
; SWITCH.INC - 01-Oct-87 - BASCOM compiler and runtime common switch file
;***
.XLIST
;***
;
; Copyright 1987, Microsoft Corporation
;
;Purpose:
;
;********************************
switch.h
/***
* switch.h
*
* Copyright 1985, 1986, 1987 Microsoft Corporation
*
*******************************************************************************/
/*=================================
switch.inc
;***
;switch.inc - see switch.h for real definitions of switches
;
; Copyright 1985, 1986, 1987 Microsoft Corporation
;
;
;******************************************************************
switch.java
class Switch {
public static void main(String args[]) {
int i;
for(i=0; i
switch.s
/ switch -- switch on contents of r0
/
/
/ calling sequence --
/
/ jsr r5,switch; swtab
/
/ r0 is looked up in swtab and if found
/ control is returned to the corresponding place
/ if r0 is not foun
switch.h
/************************************************************************************
* arch/z80/src/ez80/switch.h
* arch/z80/src/chip/switch.h
*
* Copyright (C) 2008 Gregory Nutt. All rights re
switch.h
/************************************************************************************
* arch/z80/src/z80/switch.h
* arch/z80/src/chip/switch.h
*
* Copyright (C) 2008 Gregory Nutt. All rights res