代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.cxx
/*
* switch.cxx
*
* Cooperative multi-threading stack switch function.
*
* Portable Windows Library
*
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
*
* The contents of this file ar
switch.sbk
.set reorder
.globl main
.text
.text
.align 2
.ent main
main:
.frame $sp,32,$31
.set noreorder
.cpload $25
.set reorder
addu $sp,$sp,-32
.mask 0xc2800000,-4
sw $23,16($sp)
.cprestore 20
sw $30,24($sp)
switch.sbk
.486
.model flat
extrn __fltused:near
extrn __ftol:near
public _main
_TEXT segment
_main:
push ebx
push esi
push edi
push ebp
mov ebp,esp
sub esp,8
lea edi,(L6)
mov dword ptr (-4)[ebp],edi
jmp L5
L2:
switch.sbk
.globl main
.text
.align 16
.type main,@function
main:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
subl $8,%esp
leal .LC6,%edi
movl %edi,-4(%ebp)
jmp .LC5
.LC2:
movl -4(%ebp),%edi
movsb
switch.sbk
.globl main
.text
.text
.ent main
main:
ldgp $gp,0($27)
lda $sp,-80($sp)
.mask 0x4006000,-64
.frame $sp,80,$26,48
stq $13,0($sp)
stq $14,8($sp)
stq $26,16($sp)
.prologue 1
lda $14,L.6
br L.5
L.2:
ldb
switch.sbk
.global main
.section ".text"
.align 4
main:
save %sp,-96,%sp
set .L6,%i5
ba .L5; nop
.L2:
ldsb [%i5],%o0
call backslash; nop
mov %o0,%i3
set .L7,%o0
ldsb [%i5],%o1
mov %i3,%o2
call printf; nop
.L3:
a
switch.c
/*
* switch.c: implement 'switch' feature via WC & RA interfaces.
*
* ====================================================================
* Copyright (c) 2000-2004 CollabNet. All rights res
switch.asm
INCLUDE REGS386.INC
INCLUDE TRANS.INC
.386p
DGROUP group _DATA
_DATA segment word public 'DATA' use16
extrn _cs16real: word
extrn _ds16real: word
trs TRANS ; translation
switch.c
/*
* PPC-specific RTLinux switch support
*
* Copyright (C) 1999 Cort Dougan
*/
#include
#include
#include
#include