code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
list p=18f4550
#include <p18f4550.inc>
;Zona de los bits de configuración (falta)
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT))
CONFIG PWRT = ON ; Power-up Timer Enable bit (PWRT enabled)
CONFIG BOR = OFF ; Brown-out Reset Enable bi... | tocache/picomones | UPC Microcontroladores 2018-2/Semana 02/20182_prendeapaga2.X/cincocincocinco.asm | Assembly | cc0-1.0 | 1,685 |
Map_6820C: dc.w word_68226-Map_6820C
dc.w word_6822E-Map_6820C
dc.w word_68236-Map_6820C
dc.w word_68244-Map_6820C
dc.w word_6824C-Map_6820C
dc.w word_68254-Map_6820C
dc.w word_6829E-Map_6820C
dc.w word_682A6-Map_6820C
dc.w word_682C0-Map_6820C
dc.w word_682F2-Map_6820C
dc.w word_68306-Map_6820C
... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Robotnik/Map - Robotnik Ship.asm | Assembly | apache-2.0 | 2,957 |
/*
LD/ST C の テストプログラム
*/
start:
// 4バイト store したものを 1, 2, 4 バイト load するテスト
LD C, $deadbeef
ST C, [0]
LD C, [0]O
CMP C, $ef
JNE test-failed
LD C, [0]H
CMP C, $beef
JNE test-failed
LD C, [0]
CMP C, $deadbeef
JNE test... | suzukiplan/vgs-cpu | src/test/asm_ld_st_c.asm | Assembly | bsd-2-clause | 4,089 |
include 'a32.inc'
_start:
VM_CREATE_THREAD thread2, t_stack
VM_CREATE_THREAD thread3, t_stack
VM_CREATE_THREAD thread4, t_stack
thread1:
LOAD_R1 'A'
VM_CALL 0
JMPF thread1
thread2:
LOAD_R1 'B'
VM_CALL 0
JMPF thread2
thread3:
LOAD_R1 'C'
VM_CALL 0
JMPF thread3
thread4:
LOAD_R1 'D'
VM_CALL 0
JMPF thread4
t... | Benderx2/FVM | examples/thread.asm | Assembly | bsd-2-clause | 423 |
.code
NtUserDefSetText PROC
mov r10, rcx
mov eax, 107Fh
syscall
ret
NtUserDefSetText ENDP
END | MortenSchenk/BHUSA2017 | tagWND_KASLR_1703/Syscall.asm | Assembly | mit | 108 |
nt!AuthzBasepRemoveSecurityAttributeFromLists:
fffff803`22141f74 4183cbff or r11d,0FFFFFFFFh
fffff803`22141f78 458ad0 mov r10b,r8b
fffff803`22141f7b 4584c9 test r9b,r9b
fffff803`22141f7e 7431 je nt!AuthzBasepRemoveSecurityAttributeFromLists+0x3d (fffff803`22141fb1)
... | shxdow/practical-reverse-engineering | practical-reverse-engineering/chapter_03/page123/exercise06/AlpcpUnregisterCompletionListDatabase.asm | Assembly | mit | 6,956 |
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at ... | google/google-ctf | third_party/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ReadMm7.asm | Assembly | apache-2.0 | 1,281 |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | awatry/libvpx.opencl | vp8/common/x86/iwalsh_mmx.asm | Assembly | bsd-3-clause | 4,194 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | Intel-HLS/GKL | src/main/native/compression/isa-l-master/erasure_code/gf_5vect_mad_sse.asm | Assembly | mit | 10,727 |
/*
* Common module to set offset into the scoreboard
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
//
//... | halleyzhao/libva-intel-driver-fdo | src/shaders/h264/mc/set_SB_offset.asm | Assembly | mit | 1,000 |
; MASM.ASM
; --------
; uFMOD public source code release. Provided as-is.
; *** This stub allows compiling uFMOD sources using MASM32.
.386
.model flat
ifdef f44100
FSOUND_MixRate = 44100
FREQ_40HZ_p = 1DB8Bh
FREQ_40HZ_f = 3B7160h
PCM_format = 3
else
ifdef f22050
FSOUND_MixRate = 22050
FREQ_40HZ_p... | devlato/kolibrios-llvm | programs/develop/libraries/ufmod/masm.asm | Assembly | mit | 5,234 |
;; rdtmain - main part of test program for RDX execution.
;; returns true (0) if its parameter equals the phrase "hello"
;; "hello" is stored in the library part, to complicate the
;; linkage.
;; assemble and link with the following commands:
;; nasm -f rdf rdtmain.asm
;; nasm -f rdf rdtlib.asm
;; ldrd... | coapp-packages/nasm | rdoff/test/rdtmain.asm | Assembly | bsd-2-clause | 1,179 |
/*
* Copyright © <2010>, Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merg... | uartie/vaapi-intel-driver | src/shaders/h264/ildb/loadNV12_16x4.asm | Assembly | mit | 3,725 |
PROG equ 0x5c53
NEWPPC equ 0x5c42
NSPPC equ 0x5c44
VARS equ 0x5c4b
NXTLIN equ 0x5c55
org 0xc000
jp hello
ld bc, newProgEnd-newProg
ld de, newProg
loadBasic:
;set NEWPPC to $000a
ld hl, $000a
ld (NEWPPC), hl
;set NSPPC to 0
push af
ld a, 0
ld (NSPPC), a
pop af
;set VARS to prog + (newProgEn... | pjshumphreys/querycsv | env/zx/backups/replace.asm | Assembly | mit | 1,186 |
; Ejercicio 7 del TP 2.
aseg
org 1000h
start: ld A, 13h ; carga registro A con 13h
add A, 20h ; se suma 20h
add A, 0CFh ; se suma CFh
rst 38h
end start
| scoffey/jz80sim | test/jzas/sintactic/valid/success30.asm | Assembly | mit | 218 |
kp_song
kp_reloc
dc.w kp_song_registers
dc.w kp_speed
dc.w kp_grooveboxpos
dc.w kp_grooveboxlen
dc.w kp_groovebox
dc.w kp_patternlen
dc.w kp_patternmap_lo
dc.w kp_patternmap_hi
dc.w kp_insmap_lo
dc.w kp_insmap_hi
dc.w kp_volmap_lo
dc.w kp_volmap_hi
dc.w kp_sequence
kp_song_registers
kp_speed
dc.b $02
kp_g... | kosmonautdnb/TheLandsOfZador | Musics/LevelSongs/source/welt4_star1.asm | Assembly | mit | 37,560 |
; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 4
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;M... | fjpena/sword-of-ianna-zx | artwork/barbaro_espada_golpebajo.asm | Assembly | apache-2.0 | 2,189 |
LongLong:
.long 0x0001e240,0x00000000
.type LongLong,@object
.size LongLong,8
.align 4
.globl Int
Int:
.long 123
.type Int,@object
.size Int,4
.align 2
.globl Short
Short:
.word 4660
.type Short,@object
... | ibuclaw/gcc-explorer | test/cases/icc-static.asm | Assembly | bsd-2-clause | 469 |
; asmsyntax=nasm
gdt:
gdt_null:
dd 0
dd 0
gdt_code:
dw 0xffff
dw 0
db 0
db 10011010b
db 11001111b
db 0
gdt_data:
dw 0xffff
dw 0
db 0
db 10010010b
db 11001111b
db 0
gdt_end:
gdt_desc:
dw gdt_end - gdt - 1
dd gdt
| duckinator/semplice | src/stage2/gdt.asm | Assembly | mit | 250 |
;;;
;;; tritiled22_nobutton.asm : PIC12F1571 code for CRxxxx LED glow marker
;;;
;;; 16ms flash period reduces flicker
;;; 2 pulses per loop increases brightness
;;; resets PIC every 256 flashes to re-initialize RAM values
;;;
;;; estimated run-times:
;;; CR2032 (220 mAh): 2 years
;;; CR2354 (560 mAh): 5 years... | tedyapo/tritiled | software/tritiled22/src/tritiled22_nobutton.asm | Assembly | mit | 2,169 |
DEVICE ZXSPECTRUM128
nop ; this test can't have space in file name, because of `--sld=...` option
nop ; but this file is assembled twice! (as two input files)
| z00m128/sjasmplus | tests/test build script and options/opt sld/opt_sld_explicit.asm | Assembly | bsd-3-clause | 179 |
;
; jimmxint.asm - accurate integer IDCT (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file shoul... | jiangzhu1212/oooii | Ouroboros/External/libjpegTurbo/simd/jimmxint.asm | Assembly | mit | 26,451 |
title CpuIoAccess.asm
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2005, Intel Corporation
;* All rights reserved. This program and the accompanying materials
;* are licens... | tianocore/edk | Sample/Cpu/Pentium/CpuIo/RuntimeDxe/Ia32/CpuIoAccess.asm | Assembly | bsd-3-clause | 3,427 |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | awatry/libvpx.opencl | vp8/encoder/x86/variance_impl_sse2.asm | Assembly | bsd-3-clause | 47,154 |
%include "pm.inc"
org 0100h
jmp LABEL_BEGIN
[section .gdt]
; GDT
; 段基址, 段界限 , 属性
LABEL_GDT: Descriptor 0, 0, 0
; 空描述符
LABEL_DESC_NORMAL: Descriptor 0, 0ffffh, DA_DRW
; Normal 描述符
LABEL_DESC_CODE32: Descriptor 0, SegCode32Len-1, DA_C+... | RongbinZhuang/simpleOS | ver0/2_pro/2longJmp/pmtest2.asm | Assembly | mit | 4,584 |
; DOSboot.asm - Boot from DOS loader
; Written in 2013 by Congdm
;
; To the extent possible under law, the author(s) have dedicated
; all copyright and related and neighboring rights to this software
; to the public domain worldwide. This software is distributed
; without any warranty.
; You should have received... | softzian/ElseeSystem | source/DOSboot.asm | Assembly | cc0-1.0 | 3,874 |
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2017, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and ... | FransBouma/InjectableGenericCameraSystem | Cameras/Prey/InjectableGenericCameraSystem/Interceptor.asm | Assembly | bsd-2-clause | 16,373 |
; Generated at 3/12/2016 8:37:32 PM
DebugStub_AsmBreakEIP dd 0
DebugStub_AsmOrigByte dd 0
DebugStub_DoAsmBreak:
Mov ESI, [DebugStub_CallerESP]
Mov EAX, [DebugStub_AsmBreakEIP]
Mov [ESI - 12], EAX
Call DebugStub_ClearAsmBreak
Call DebugStub_Break
DebugStub_DoAsmBreak_Exit:
mov dword [static_field__... | Cyber4/Cosmos | source/Cosmos.Debug.DebugStub/AsmBreak.asm | Assembly | bsd-3-clause | 1,677 |
section .text
global _start
_start:
mov rbx, rax
mov rbx, r8
mov rbx, r9
mov rbx, r10
mov rbx, r11
mov rbx, r12
mov rbx, r13
mov rbx, r14 | tangentforks/vanar | src/asmcache/lx.asm | Assembly | bsd-3-clause | 138 |
;/****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - MMX and XMM forward discrete cosine transform -
; *
; * Copyright(C) 2002 Pascal Massimino <skal@planet-d.net>
; *
; * This program is free software; you can redistribute it and/or modify it
; * und... | ninetian/ffmpeginstaller | xvidcore/src/dct/x86_asm/fdct_mmx_skal.asm | Assembly | apache-2.0 | 16,430 |
.686p
.model flat, stdcall
option casemap: none
.code
tes PROC t: Ptr BYTE
LOCAL n: Ptr BYTE
mov eax, t
mov n, eax
ret
tes ENDP
END
| mmoeller86/jsonx64 | test.asm | Assembly | mit | 145 |
list p=p12f1840
include <p12f1840.inc>
__CONFIG _CONFIG1, _FOSC_INTOSC & _MCLRE_OFF & _WDTE_OFF
__CONFIG _CONFIG2, _LVP_OFF
org 0
;;; Set internal oscillator to 32 MHz
movlw 0xF0 ; store OSCCON value (=1111 0000=) in W
movlb 0x01 ; Select page bank 1
movwf 0x19 ; move value of W to register at OSCCON (addres... | mdennehy/PIC12F | lightchaser/lightchaser.asm | Assembly | mit | 4,660 |
;Este es un comentario, se le antecede un punto y coma
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Llamada a la librería de nombre de los registros
;Directivas de preprocesador o bits de configuración
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale... | tocache/picomones | UPC Microcontroladores 2020-2/Semana 06/20202_rtc_led_500ms.X/maincode.asm | Assembly | cc0-1.0 | 1,869 |
PLC_2A0498: dc.w Frame_2A04FC-PLC_2A0498 ; ...
dc.w Frame_2A04FE-PLC_2A0498
dc.w Frame_2A0502-PLC_2A0498
dc.w Frame_2A0506-PLC_2A0498
dc.w Frame_2A050A-PLC_2A0498
dc.w Frame_2A050E-PLC_2A0498
dc.w Frame_2A0512-PLC_2A0498
dc.w Frame_2A0516-PLC_2A0498
dc.w Frame_2A051A-PLC_2A0498
dc.w Frame_2A051E-PLC_2... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Knuckles/DPLC - Knuckles 2P.asm | Assembly | apache-2.0 | 3,289 |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
ALIGN 32
_aesni_ctr32_ghash_6x:
vmovdqu xmm2,XMMWORD[32+r11]
sub rdx,6
vpxor xmm4,xmm4,xmm4
vmovdqu xmm15,XMMWORD[((0-128))+rcx]
vpaddb xmm10,xmm1,xmm2
vpaddb xmm11,xmm10,xmm2
vpaddb xmm12,xmm11,xmm2
vpaddb xmm13,xmm12,xm... | MTASZTAKI/ApertusVR | plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/openssl/config/archs/VC-WIN64A/asm/crypto/modes/aesni-gcm-x86_64.asm | Assembly | mit | 22,188 |
;
; Copyright (c) 2014-2015, Alexey Frunze
; 2-clause BSD license.
;
bits 16
extern ___start__
extern __start__bss
extern __stop__bss
section .text
global __start
__start:
mov ax, ss
mov [cs:_ss], ax ; preserve SS as the data segment, which we may need to access from ISRs
mov ds, ax ; D... | gdos/SmallerC | v0100/srclib/c0ds.asm | Assembly | bsd-2-clause | 3,622 |
; code name HYPER BALL | 68K code
;==============================================================================;
include "include/neogeo.inc" ; Neo-Geo Hardware and System ROM definitions
include "include/ram_bios.inc" ; BIOS RAM locations
include "include/input.inc" ; Input defines
include "ram_user.inc" ... | freem/hyperball | src_68k/main.asm | Assembly | mit | 7,052 |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... | mcm852/Op-Sys-proj1 | zombie.asm | Assembly | mit | 39,481 |
PAGE ,132
TITLE System utilities, not relying on MS-DOS.
;*****************************************************************************;
; ;
; FILE NAME: PUTCHCOL.ASM ;
; ;
; DESCRIPTION: Routine to display a string with a given color attribute ;
; ;
; ... | JFLarvoire/SysToolsLib | C/BiosLib/putchcol.asm | Assembly | apache-2.0 | 2,804 |
ORG RESET
mov a, #100
mov b, #10
call multiply
; at this point, the result of 100*10 = 1000 = 03e8h is stored in registers a and b
; a = e8
; b = 03
jmp $
multiply:
mul ab
ret
| fnaith/notepad_plus_plus_tips | test/function.asm | Assembly | apache-2.0 | 177 |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 1b ... | reutz19/xv6_ass2 | cat.asm | Assembly | mit | 43,389 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "var",BSS
repeat_loop: DS 1
SECTION "Main",HOME
GLOBAL LCD_function
LCD_function::
push af
ld a,[rLY]
cp a,100
jr nz,._not_100
; 100
ld a,101
ld [rLYC],a
pop af
xor a,a
ld b,a
ld c,a
ld d,a
reti
._not_100:
pop af
ld [hl+],a
ld [hl],b
inc... | AntonioND/gbc-hw-tests | lcd/ly_clocks/main.asm | Assembly | mit | 3,593 |
[BITS 16]
[ORG 0x7C00]
MOV SI, DataString
CALL OutString
HLT
OutCharacter: ;modified registers: AH, BH, BL
;ASCII value is in register AL
MOV AH, 0x0E ;Tell BIOS that we need to print one character on screen.
MOV BH, 0x00 ;Page no.
MOV BL, 0x07 ;Text attribute 0x07 is light grey font on black background
INT ... | DuskDragon/ImplosionOS | kernel/bootloader.asm | Assembly | mit | 920 |
PLC_3607EC: dc.w Frame_360816-PLC_3607EC
dc.w Frame_36081C-PLC_3607EC
dc.w Frame_360822-PLC_3607EC
dc.w Frame_360828-PLC_3607EC
dc.w Frame_36082E-PLC_3607EC
dc.w Frame_360834-PLC_3607EC
dc.w Frame_36083A-PLC_3607EC
dc.w Frame_360840-PLC_3607EC
dc.w Frame_360846-PLC_3607EC
dc.w Frame_36084C-PLC_3607EC
... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Flybot/DPLC - Flybot.asm | Assembly | apache-2.0 | 1,586 |
;*!
;* \copy
;* Copyright (c) 2010-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of source code must retain the abo... | chenxy/openh264 | codec/encoder/core/asm/coeff.asm | Assembly | bsd-2-clause | 11,754 |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; string.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++... | RongbinZhuang/simpleOS | ver0/reference/chapter5/g/lib/string.asm | Assembly | mit | 1,185 |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
include AsmMacros.inc
include asmconstants.inc
Thread__GetAbortContext equ ?GetAbortContext@Th... | poizan42/coreclr | src/vm/amd64/RedirectedHandledJITCase.asm | Assembly | mit | 7,956 |
\ ******************************************************************
\\ VGM Player
\\ Code module
\ ******************************************************************
VGM_PLAYER_ORG = *
_VGM_TRIGGER_BEAT_ON_VOLUME = TRUE
ORG &0380
GUARD &03E0
\ ******************************************************************
\ * ... | bitshifters/beeb-step | lib/vgmplayer.asm | Assembly | mit | 8,912 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | Intel-HLS/GKL | src/main/native/compression/isa-l-master/erasure_code/gf_2vect_mad_sse.asm | Assembly | mit | 6,391 |
; ASM source file created by SevenuP v1.21
; SevenuP (C) Copyright 2002-2007 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 4
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;M... | fjpena/sword-of-ianna-zx | artwork/esqueleto/esqueleto_espada_golpealto.asm | Assembly | apache-2.0 | 2,191 |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 sub $0x20,%esp
int... | tzulang/os3 | init.asm | Assembly | mit | 42,058 |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.3.0 #8604 (Dec 30 2013) (Linux)
; This file was generated Tue Jul 7 11:37:29 2015
;--------------------------------------------------------
.module flash
.optsdcc -mmcs51 --model-large
;-... | YifanJiangPolyU/SiK-master-Yifan-TDMA | Firmware-bk/obj/hm_trp/radio~hm_trp/flash.asm | Assembly | bsd-2-clause | 14,809 |
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the ri... | chenxianqin/vaapi-intel-driver | src/shaders/post_processing/gen5_6/Core_Kernels/PL3_AVS_IEF_Unpack_8x4.asm | Assembly | mit | 3,477 |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.3.0 #8604 (Dec 30 2013) (Linux)
; This file was generated Tue Jun 23 12:38:30 2015
;--------------------------------------------------------
.module util
.optsdcc -mmcs51 --model-small
;--... | YifanJiangPolyU/SiK-master-Yifan-TDMA | Firmware-bk/obj/rfd900a/bootloader~rfd900a/util.asm | Assembly | bsd-2-clause | 12,376 |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... | luctrudeau/VideoExperiments | tf/adst/aom_dsp/arm/idct16x16_1_add_neon.asm | Assembly | mit | 8,426 |
; libgcc routines for ARC cpu.
/* Copyright (C) 1995, 1997,2004 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/config/arc/lib1funcs.asm | Assembly | bsd-3-clause | 4,922 |
;;; PC Speaker 1-bit digital audio
;;;
;;; This routine demonstrates producing crackly but recognizable
;;; sound with the PC speaker by jamming the high bit of PCM data
;;; into the PC speaker state.
;;;
;;; Because of the 60-microsecond transition time of the PC speaker,
;;; very high transfer rates start making this... | michaelcmartin/bumbershoot | dos/sound/1bitdac.asm | Assembly | mit | 4,069 |
processor 6502
include "scenesetup.inc"
ORG ENDFONTADR
incbin "finCharset.bin" | kosmonautdnb/TheLandsOfZador | EndingScene/_code/GlobalCode/finCharset.asm | Assembly | mit | 96 |
%define LoadImageEx (0x4065c0 - 0x116000)
%define RegularExit_OslLoadDrivers (0x405b99 - 0x116000)
%define SEGMENT_START (0x4c3000 - 0x116000)
BITS 64 ; Y U NO ALL THE BITS?
; TO CALL TO BOOTY, you want JUMP 0x4c301b ;)
SECTION .booty
driverPath db "\SystemRoot\zomgdabest.sy... | ahixon/booty | src/winload-hacks/assembly/codecave.asm | Assembly | mit | 1,042 |
.model small
.data
text db 10,13,'Your processor is: $'
n86 db '8086',10,13,'$'
n286 db '80286',10,13,'$'
n386 db '80386',10,13,'$'
n486 db '80486',10,13,'$'
n686 db '6x86',10,13,'$'
nPentium db 'Pentium',10,13,'$'
nPentiumII db 'Pentium II',10,13,'$'
nAMD db 'AMD',10,13,'$'
.code
s:
mov ax, @data
mov ds, ax
m... | vbmacher/qsOS | utils/hardware/cputype/cpu.asm | Assembly | apache-2.0 | 932 |
*
* $Id: amiga_callhooka.asm,v 1.3 2006-01-08 12:04:22 obarthel Exp $
*
* :ts=8
*
* Portable ISO 'C' (1994) runtime library for the Amiga computer
* Copyright (c) 2002-2015 by Olaf Barthel <obarthel (at) gmx.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificatio... | adtools/clib2 | library/amiga_callhooka.asm | Assembly | bsd-3-clause | 2,761 |
$NOMOD51
;-----------------------------------------------------------------------------
$include (c8051f020.inc) ; Include register definition file.
;Authors: Tyler Long, Wil Smith, and Vincent Watkins
;-----------------------------------------------------------------------------
; RESET and INTERRUPT... | tblong/school | ECET 3220/Code/Milestone_01/Milestone1/test.asm | Assembly | mit | 2,883 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | Intel-HLS/GKL | src/main/native/compression/isa-l-master/crc/crc32_ieee_by16_10.asm | Assembly | mit | 16,027 |
.686p
.mmx
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
compareone proc ptrA:DWORD
push eax
push esi
mov esi, dword ptr [esp+4+8]
mov eax, dword ptr [esi+12]
or eax, dword ptr [esi+ 8]
or eax, dword ptr [esi+ 4]
test eax, eax
jnz @F
cmp dword ptr [esi], 1
@@: p... | FloydZ/Crypto-Hash | ecdsa128/src/GFp_src/src/compareone.asm | Assembly | mit | 365 |
// Rockman X3 Practice ROM hack
// by Myria
//
arch snes.cpu
// LoROM org macro - see bass's snes-cpu.asm "seek" macro
macro reorg n
org ((({n}) & 0x7f0000) >> 1) | (({n}) & 0x7fff)
base {n}
endmacro
// Warn if the current address is greater than the specified value.
macro warnpc n
{#}:
if {#} > {... | Myriachan/RockmanX3Practice | hack.asm | Assembly | mit | 5,174 |
DebugStub_CallerEBP dd 0
DebugStub_CallerEIP dd 0
DebugStub_CallerESP dd 0
DebugStub_TraceMode dd 0
DebugStub_DebugStatus dd 0
DebugStub_PushAllPtr dd 0
DebugStub_DebugBreakOnNextTrace dd 0
DebugStub_BreakEBP dd 0
DebugStub_CommandID dd 0
DebugStub_BreakOnAddress:
Pushad
Call DebugStub_ComReadEAX
Mo... | Coder-666/COSMOS | source2/Compiler/Cosmos.Compiler.DebugStub/DebugStub.asm | Assembly | bsd-3-clause | 5,562 |
ORG 100
BSA MUL
IN_X, DEC 74
IN_Y, DEC 41
OUT, DEC 0
HLT
MUL,HEX 0
CLA
CLE
BUN START
N, DEC -16
X, DEC 0
Y, DEC 0
RIS, DEC 0
START, LDA MUL I
STA X
ISZ MUL
LDA MUL I
STA Y
ISZ MUL
LOOP, LDA Y
CIR
STA Y
SZE
BUN SUM
BUN AFTSUM
SUM, LDA RIS
ADD X
STA RIS
AFTSUM, CLE
LDA X
CIL
CLE
STA X
LDA Y
SPA
BUN FINE
ISZ N
BUN L... | MircoT/js-pdp8 | lib/test/sources/bsa_args.asm | Assembly | mit | 371 |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "kxarm.h"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATA SECTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;... | zenos-os/zenos | vendor/corert/src/Native/System.Private.TypeLoader.Native/arm/ConstrainedCallSupportHelpers.asm | Assembly | mit | 3,485 |
.686
include /masm32/include/io.asm
.data
lpstrMessage db "Hello, World", 13,10,0
lpstrMsgInput db "Type number> ",0
msgArr db "====Array===",0
num dd 5
arr dd 10 dup(?)
.code
start:
outstr offset lpstrMsgInput
inint32 eax
outstr offset lpstrMessage
sub eax, 5
outint32 eax, 3
newline
outint32 num
newline
outstr ... | KubSU/SIOMASM | Tests/MainTest.asm | Assembly | mit | 470 |
include "macro_blake2b_avx2.asm"
macro RecordRdtsc
{
rdtsc
mov rcx, [rbp+EH.debugptr]
mov [rcx], eax
mov [rcx+4], edx
add rcx, 8
mov [rbp+EH.debugptr], rcx
}
macro Record reg1
{
mov rcx, [rbp+EH.debugptr]
mov [rcx], reg1
add rcx, 8
mov [rbp+EH.debugptr], rcx
}
_ProcEhSolver:
push r15
push r14
... | xenoncat/equihash-xenon | Windows/proc_ehsolver_avx2.asm | Assembly | mit | 19,247 |
;==============================================================
; WLA-DX banking setup
;==============================================================
.memorymap
defaultslot 0
slotsize $8000
slot 0 $0000
.endme
.rombankmap
bankstotal 1
banksize $8000
banks 1
.endro
;===================================================... | haroldo-ok/really-old-stuff | mastersystem/tml2-test/wla-dx/helloworld/Hello World.asm | Assembly | apache-2.0 | 29,488 |
; init32.asm: 32-bit, protected-mode initialization
;
; Copyright 2015, 2016 Vincent Damewood
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain th... | vendu/Ukko | stage2/init32.asm | Assembly | bsd-2-clause | 6,890 |
section .usrtext
global usermain
usermain:
mov eax, msg
int 0x83
int 0x82
ret
msg db 'Hello from userland!', 0xA, 0 | TwoUnderscorez/DuckOS | src/asm/testuserapp.asm | Assembly | bsd-3-clause | 131 |
%define ARCH_AARCH64 0
%define ARCH_ALPHA 0
%define ARCH_ARM 0
%define ARCH_AVR32 0
%define ARCH_AVR32_AP 0
%define ARCH_AVR32_UC 0
%define ARCH_BFIN 0
%define ARCH_IA64 0
%define ARCH_M68K 0
%define ARCH_MIPS 0
%define ARCH_MIPS64 0
%define ARCH_PARISC 0
%define ARCH_PPC 0
%define ARCH_PPC64 0
%define ARCH_S390 0
%def... | espadrine/opera | chromium/src/third_party/ffmpeg/chromium/config/Chromium/win/ia32/config.asm | Assembly | bsd-3-clause | 46,983 |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | thiz11/platform_external_libvpx | vp8/encoder/x86/ssim_opt.asm | Assembly | bsd-3-clause | 6,259 |
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; Console Handler
;
; *******************************************************... | paulscottrobson/wallpaper-one | software/minol/source/console.asm | Assembly | mit | 4,824 |
;;
;; Screen.asm -- Real Mode Screen Routines
;;
;; Copyright (c) 2007 by Pablo Bravo
;; All Rights Reserved
;;
;;;;;;;;;;;;;;;;;;;;;;;;;NewLine;;;;;;;;;;;;;;;;;;;;;;;;;;
NewLine: db 13,10,0
;;;;;;;;;;;;;;;;;;;;;;;;;Print;;;;;;;;;;;;;;;;;;;;;;;;;;
Print:
push bp
mov bp, sp
push si
push ax
push... | yandroskaos/XkyOS | XkyOS/Source/Core/Boot/Screen.asm | Assembly | apache-2.0 | 2,305 |
;;----------------------------------------------------------------------------;;
;; Align the position of the textbox hero menu
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;;... | pleonex/Ninokuni | Assembly/textbox/menu_hero.asm | Assembly | apache-2.0 | 983 |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "AsmMacros.h"
TEXTAREA
#ifdef FEATURE_CACHED_INTERFACE_DISPATCH
EXTERN RhpResolveInterfaceM... | mjp41/corert | src/Native/Runtime/arm/StubDispatch.asm | Assembly | mit | 6,269 |
; Generated at 20-7-2015 14:42:43
DebugStub_TracerEntry:
cli
Pushad
Mov [DebugStub_PushAllPtr], ESP
Mov [DebugStub_CallerEBP], EBP
Mov EBP, ESP
Add EBP, 32
Mov EAX, [EBP + 0]
Add EBP, 12
Mov [DebugStub_CallerESP], EBP
Mov EBX, EAX
MOV EAX, DR6
And EAX, 0x4000
Cmp EAX, 0x4000
JE De... | MetSystem/Cosmos | source/Cosmos.Debug.DebugStub/TracerEntry.asm | Assembly | bsd-3-clause | 99,033 |
;Testname=unoptimized; Arguments=-O0 -fobj -oalonesym-obj.obj; Files=stdout stderr alonesym-obj.obj
;Testname=optimized; Arguments=-Ox -fobj -oalonesym-obj.obj; Files=stdout stderr alonesym-obj.obj
section DOS32DATA align=16 public use32 FLAT class=DOS32DATA
global sym0000
glob... | endlessm/chromium-browser | third_party/nasm/test/alonesym-obj.asm | Assembly | bsd-3-clause | 4,559 |
; MIT License
; Copyright (c) 2017 ZetaChain_Native
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merg... | ZetaChain/ZetaChain_Native | ZetaChain/source/mining.asm | Assembly | mit | 2,115 |
;; idt.asm
;;
;; Provides functions for flushing the Interrupt Descriptor Table
; IDT table pointer
extern idt_ptr
; idt_flush
; Flushes IDT given a defined table pointer.
global idt_flush
idt_flush:
; Install IDT in CPU
lidt [idt_ptr]
ret | matheusportela/bandit-kernel | asm/idt.asm | Assembly | mit | 253 |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distributi... | intel/ipmctl | MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.asm | Assembly | bsd-3-clause | 1,481 |
format ELF
include "proc32.inc"
section '.text' executable
public _ksys_get_key
public _ksys_set_keyboard_mode
align 4
proc _ksys_get_key stdcall
mov eax,2
int 0x40
ret
endp
align 4
proc _ksys_set_keyboard_mode stdcall, mode:dword
mov edx,ebx
mov eax,66
xor ebx,ebx
inc ebx
mov ecx... | devlato/kolibrios-llvm | programs/develop/ktcc/trunk/libc/kolibrisys/keyboard.asm | Assembly | mit | 354 |
include 'me_skin.inc'
SKIN_PARAMS \
height = bmp_base.height,\ ; skin height
margins = [5:1:43:1],\ ; margins [left:top:right:bottom]
colors active = [binner=0x152D41:\ ; border inner color
bouter=0x0B1721:\ ; border outer color
bframe=0x152D41],\ ; border frame color
colors inact... | devlato/kolibrios-llvm | skins/MenuetOS/4.MenuetOS/1/MenuetOS.asm | Assembly | mit | 1,185 |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your code here. | TheVainBoy/nand2tetris | projects/04/mult/Mult.asm | Assembly | mit | 312 |
;//###########################################################################
;//
;// FILE: F2837xD_usDelay.asm
;//
;// TITLE: Simple delay function
;//
;// DESCRIPTION:
;// This is a simple delay function that can be used to insert a specified
;// delay into code.
;// This function is only accurate if executed from i... | nongxiaoming/rt-thread | bsp/tms320f28379d/libraries/common/source/F2837xD_usDelay.asm | Assembly | apache-2.0 | 4,284 |
format MS COFF
include '../macros.inc'
$Revision: 928 $
__REV__ = __REV
include "../proc32.inc"
include "../kglobals.inc"
include "../lang.inc"
CR0_PE equ 0x00000001 ;protected mode
CR0_WP equ 0x00010000 ;write protect
CR0_PG equ 0x80000000 ;paging
public _16bit_start
publ... | devlato/kolibrios-llvm | kernel/branches/kolibri_pe/boot/boot.asm | Assembly | mit | 2,594 |
**************************************************
* *
* APPLE-][ BASIC RENUMBER / APPEND SUBROUTINES *
* *
* VERSION TWO *
* RENUMBER *
* >CLR *
* >START= *
* >STEP= *
* >CALL -10531 *
* *
* OPTIONAL *
* >FROM= *
*... | zellyn/goapple2 | source/progaid/renumapp.asm | Assembly | mit | 2,332 |
;; Various system tales and such.
append TO_INIT_64, tables.init
macro tables.init
{
; Initializing the TSS is currently done in init/main.asm
}
; 1: 32bit code
; 2: 64bit kernel code
; 3: 32/64bit data
; 4: 64bit lusermode code
; 5: 64bit lusermode data
SEL_NULL = 0
SEL_CODE = 1 shl 3
SEL_LONG = 2 shl 3
... | lodvaer/YHBT | kernel/tables.asm | Assembly | bsd-3-clause | 1,818 |
.model tiny
.data
msg dw 13,10,"Enter the Binary String : $ "
msg1 dw 13,10,"Ascii Code : $"
array db 8 dup(0)
.code
mov cx,8 ; for looping
mov si,0 ; set si=0
;display msg
mov dx,offset msg
mov ah,09h
int 21h
enter:
; take numeric input, single digit
mov ah,01h
int 21h
; sub 30... | jatin69/lab-codes | microprocessors/binary to ascii.asm | Assembly | mit | 1,230 |
;**************************************************************************
; arch/z80/src/z180/z180_restoreusercontext.asm
;
; Copyright (C) 2012 Gregory Nutt. All rights reserved.
; Author: Gregory Nutt <gnutt@nuttx.org>
;
; Redistribution and use in source and binary forms, with or without
; modification, are pe... | gcds/project_xxx | nuttx/arch/z80/src/z180/z180_restoreusercontext.asm | Assembly | bsd-3-clause | 4,123 |
;
; jdcolss2-64.asm - colorspace conversion (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice i... | wangscript/libjingle-1 | trunk/third_party/libjpeg_turbo/simd/jdcolss2-64.asm | Assembly | bsd-3-clause | 3,360 |
;code made by lioran
!speed = $0003 ;changeing this will force you to change !timer aswell dont go higher than 8
!timer = $0018 ;$0C is good for speed 5
;$10 is good for speed 4
;$18 good for speed 3,
;$20 good for 2
;$if you see samus stick out the bottom, increase the value, if stick out the ... | theonlydude/RandomMetroidSolver | patches/common/src/elevators_speed.asm | Assembly | mit | 1,291 |
Sprite:
; Character 4 plane 0 + 1 (sprite part AA)
.db $00, $00, $00, $7F, $00, $40, $00, $40, $00, $40, $00, $40, $00, $40, $00, $40
; Character 4 plane 2 + 3 (sprite part AA)
.db $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00
; Character 5 plane 0 + 1 (sprite par... | michielvoo/SNES | examples/assets/sprite.asm | Assembly | mit | 4,371 |
;Author: BinaryCounter (23-09-17)
;Uncomment one of the following 2 lines when not assembling using the buildscript.
;rOFFSET EQUS "$c486" ;OFFSET for Trade
;rOFFSET EQUS "$d280" ;OFFSET for SaveFile
;When manually assembling for SaveFile uncomment one of these linse too, to turnoff LCD (to prevent burn-in of poke... | binarycounter/PkSploit | gb_asm/main.asm | Assembly | mit | 3,843 |
kp_insmap_lo
dc.b #<ins1
dc.b #<ins2
dc.b #<ins3
dc.b #<ins4
dc.b #<ins5
kp_insmap_hi
dc.b #>ins1
dc.b #>ins2
dc.b #>ins3
dc.b #>ins4
dc.b #>ins5
kp_volmap_lo
dc.b #<vol1
dc.b #<vol2
dc.b #<vol3
dc.b #<vol4
dc.b #<vol5
kp_volmap_hi
dc.b #>vol1
dc.b #>vol2
dc.b #>vol3
dc.b #>vol4
dc.b #>vol5 | kosmonautdnb/TheLandsOfZador | Musics/Global/soundfxinterface.asm | Assembly | mit | 314 |
global start
extern long_mode_start
section .text
bits 32
start:
mov esp, stack_top
mov edi, ebx
call check_multiboot
call check_cpuid
call check_long_mode
call init_page_tables
call enable_paging
call enable_SSE
lgdt [gdt64.pointer]
mov ax, gdt64.data
mov ss, ax ; stac... | alicemaz/rust-os | src/arch/x86_64/boot.asm | Assembly | mit | 4,416 |
##########################
# Name: Balazs Somfalvi
# Program: L12Q2BS.asm
##########################
#purpose: prints all numbers between a user input integer x and 1
.text
la $a0,prompt #prompts the user for a nonzero integer
li $v0,4
syscall
li $v0,5 #gets user input and moves it to $t0
syscall
move $t0... | onanism/CMPT101 | L12Q2BS.asm | Assembly | mit | 795 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.