代码搜索结果
找到约 10,000 项符合
Assembly 的代码
mactest2.c
/* mactest2.c - An example of using inline assembly macros in a program */
#include
#define GREATER(a, b, result) ({ \
asm("cmp %1, %2\n\t" \
"jge 0f\n\t" \
"movl %1, %0
mactest2.c
/* mactest2.c - An example of using inline assembly macros in a program */
#include
#define GREATER(a, b, result) ({ \
asm("cmp %1, %2\n\t" \
"jge 0f\n\t" \
"movl %1, %0
ex1.txt
实验一:DSP指令实验
实验目的:
了解DSP的结构及管脚功能
掌握DSP的基本指令
实验要求:
让学生了解怎样连接对DSP进行简单的编程操作,运算控制等基本汇编语言及算术语言实验测试及除错验证。
程序文件:ex1.asm
实验步骤:
1、以Simulator方式启动CCS,在[Project]-[Open]菜单中打开ex1.mak;
...
sysinfo.def
; Module definition file for SYSINFO.DLL
LIBRARY SYSINFO
DESCRIPTION 'Sample assembly-language DLL'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE SINGLE
SEGMENTS
sysinfo.asm
;* SYSINFO.ASM
;*
;* Assembly-language source for example DLL. SYSINFO.DLL contains three
;* library routines, which any Windows process can call:
;*
;* GetSysTime Returns a ptr to a string "hh:
sysavware.s
/* sysAVware.s - BSP to vWare interface assembly routines */
/* Copyright 1984-2001 Wind River Systems, Inc. */
/*
modification history
--------------------
01e,14mar02,m_h align sysPrivateVwareP
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WindowsAppl
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WindowsAppl
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
//
[assembly: AssemblyTitle("ffD
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 有关程序集的常规信息通过下列属性集
' 控制。更改这些属性值可修改
' 与程序集关联的信息。
' 查看程序集属性的值