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
; The MIT License (MIT) ; ; Copyright (c) 2014 Microsoft ; ; 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...
Microsoft/X-Mem
src/win/x86_64/win_x86_64_asm_forwSequentialRead_Word256.asm
Assembly
mit
7,564
;****************************************************************************** ;* SIMD-optimized fullpel functions ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2003-2013 Michael Niedermayer ;* Copyright (c) 2013 Daniel Kang ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute ...
endlessm/chromium-browser
third_party/ffmpeg/libavcodec/x86/fpel.asm
Assembly
bsd-3-clause
2,768
; Game code ; Linux 32 bit ;----------------------------------- ; int nameEasterEgg() ;----------------------------------- ;nameEasterEgg: ;mov eax, name ;mov ebx, egg_name ;call strcmp ;ret
amittaigames/asmgame
linux32/libs/game.asm
Assembly
mit
214
TITLE Linear/Sequential search implemented in x86 assembly (MASM) ; Search for a value in an array of bytes by comparing each value with a key ; return the position of the key ; O(n) time complexity ; the address of the first element in the array must be in the edx ; and the arrays length in the ecx register ; the inde...
kennyledet/Algorithm-Implementations
Linear_Search/x86_Asm/mike168m/linear_search.asm
Assembly
mit
1,206
.386p descriptor struc limit_1 dw 0 ; Limit (0 - 15). base_1 dw 0 ; Base (0 - 15). base_2 db 0 ; Base (16 - 23). attr db 0 ; Attributes. bt6 db 0 ; Limit_2 (0 - 3), Attributes (4 - 7). base_3 db 0 ; Base (24 - 31). descriptor ends ;-------------------------------------------------------...
vimikeva/kpi_study
sys_prog/lab_7/test_8.asm
Assembly
mit
12,347
.text .globl main main: beq $t6,$t8, main
ruseman/csc211
beq.asm
Assembly
mit
43
.globl main .data str: .asciiz "Ah!" .text break 0 main: la $t0, gdt add $t1, $t0, 32 li $t2, 0xff inc: sb $t2, 0($t0) add $t0, $t0, 1 bne $t0, $t1, inc li $v0, 4 la $a0, str syscall
lczx/rijndael-mips
_dev_misc/mars_unattended_test/src/a.asm
Assembly
mit
208
;Este es un comentario ;Plantilla hecha por Kalun Lau ;Micontroladores 2019 UPC San Miguel list p=18f4550 ;Modelo de microcontrolador a usar #include <p18f4550.inc> ;Aquí van las directivas de preprocesador (bits de configuracion) CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator ...
tocache/picomones
UPC Microcontroladores 2019-1/Semana 1/orgate3.X/compuertaor3.asm
Assembly
cc0-1.0
1,155
;Copyright 2015 Sergey Ilmukhin ; ;Licensed under the Apache License, Version 2.0 (the "License"); ;you may not use this file except in compliance with the License. ;You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ;Unless required by applicable law or agreed to in writing, so...
sindar/C41_snippets
c41_snippets.asm
Assembly
apache-2.0
14,167
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR ALIGN 64 $L$poly:: DQ 0ffffffffffffffffh,000000000ffffffffh,00000000000000000h,0ffffffff00000001h $L$RR:: DQ 00000000000000003h,0fffffffbffffffffh,0fffffffffffffffeh,000000004fffffffdh $L$One:: DD 1,1,1,1,1,1,1,1 $L$Two:: DD 2,2,2,2,...
dkoontz/nodegit
vendor/openssl/asm_obsolete/x64-win32-masm/ec/ecp_nistz256-x86_64.asm
Assembly
mit
40,417
; 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. ; ==++== ; ; ; ==--== ; *********************************************************************** ; File: JitHelpers_Inl...
ragmani/coreclr
src/vm/amd64/JitHelpers_InlineGetThread.asm
Assembly
mit
44,438
;Cannot be automatically tested because it differs every time, ;I guess because of a date/time field. ; test source file for assembling to COFF ; build with (under DJGPP, for example): ; nasm -f coff cofftest.asm ; gcc -o cofftest cofftest.c cofftest.o ; This file should test the following: ; [1] Define and exp...
techkey/nasm
travis/test/cofftest.asm
Assembly
bsd-2-clause
2,235
.cpu "6502" .format "flat" * = $F000 COLUBK = $09 INT_RESERVED_0 = $80 BackgroundColor = $81 TYPE_VCSFramework_V2_Nothing = 0 SIZE_VCSFramework_V2_Nothing = 0 TYPE_System_Byte = 100 SIZE_System_Byte = 1 .include "../../../VCSCompiler/vil.h" // Repeatedly increments COLUBK without making any effort to handle scanlin...
Yttrmin/CSharpTo2600
6502DotNet/Examples/vcs/pocincrementbackground.asm
Assembly
mit
1,767
;=============================================================================== ; Copyright 2015-2020 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apa...
Intel-EPID-SDK/epid-sdk
ext/ipp-crypto/sources/ippcp/asm_intel64/pcprij128encryptctrpipee9as.asm
Assembly
apache-2.0
7,940
;; Kernel-specific mm-stuff. ;; TODO: SLAB, reference counting of pages, complete rewrite... append TO_INIT_16, mm.init_16 macro mm.init_16 { ; TODO: Detect memory here. } append TO_INIT_32, mm.init_32 macro mm.init_32 { mov edi, PAGE_ORIG mov ecx, 6000h xor eax, eax rep stosd ; 2MB pages .PDE = PDE.P + PDE.W...
lodvaer/YHBT
kernel/mm.asm
Assembly
bsd-3-clause
6,681
;--------------------------------------- ; CLi² (Command Line Interface) API ; 2013,2016 © breeze/fishbone crew ;--------------------------------------- ; MODULE: #2E checkFileExist ;--------------------------------------- ; Проверить существует ли файл в активной директории ; i:HL - имя файла(1-12),#00 ; o:NZ ...
LessNick/cli2
src/system/api/checkFileExist.asm
Assembly
bsd-3-clause
591
; ; 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...
vasilvv/esvp8
vp9/encoder/ppc/vp9_variance_altivec.asm
Assembly
bsd-3-clause
7,035
DIM EQU 15 .MODEL small .STACK .data .CODE .STARTUP MOV AX, DIM .EXIT END
neskov7/AssemblyProgramsCE
lab0/scritturaValoreInReg.asm
Assembly
mit
74
;-------------------------------------------------------------------- ; Praktikum SMD 2015 ; M.Wahyudin (140310120031) ; ; Name : LATIH15.ASM Penyesuaian Rangkaian Proteus ; Desc : Menampilkan karakter A ke display matriks 7x5 ; Input : - ; Output: Display matriks 7x5 ;------------------------------------------------...
hyuwah/fu-praktikum-smd
Modul 3/latih15proteus.asm
Assembly
mit
1,627
/* * Check that there are no pipeline hazards */ lc r100, 0x10000000 // test result output pointer lcs r101, halt lcs r102, failure lcs r103, success add r0, 100, 50 // r0:=150 add r1, r0, 3 // r1:=153, potential RAW hazard mul r2, r1, 109 // r2:=16677, potential RAW hazard mul r3, r2, r0 // r3:=2501550, p...
lxp32/lxp32-cpu
verify/lxp32/src/firmware/test020.asm
Assembly
mit
864
;; xOS Kernel API Reference ;; As of API version 1 XOS_WM_CREATE_WINDOW = 0x0000 XOS_YIELD = 0x0001 XOS_WM_PIXEL_OFFSET = 0x0002 XOS_WM_REDRAW = 0x0003 XOS_WM_READ_EVENT = 0x0004 XOS_WM_READ_MOUSE = 0x0005 XOS_WM_GET_WINDOW = 0x0006 XOS_WM_DRAW_TEXT = 0x0007 XOS_WM_CLEAR = 0x0008 XOS_MALLOC = 0x0009 X...
omarrx024/xos
libxos/src/xos.asm
Assembly
mit
1,068
DIM EQU 5 LF EQU 10 CR EQU 13 .MODEL SMALL .STACK .DATA RIS DW 0 errore1 db 'ERRORE: Caratteri non numerici introdotti!!!!!', CR, LF errore2 db 'ERRORE: Intero introdotto troppo grande!!!!!!!', CR, LF BASE DB 10 .CODE .STARTUP MOV AX,0 MOV DI,0 MOV CX,0 LETTURA: MOV AH , 01H INT 21H CMP AL,...
neskov7/AssemblyProgramsCE
lab2/es3.asm
Assembly
mit
889
/* * registerSwap.asm * * Created: 9/16/2014 * Author: audihurrr * Chip : Atmega169P */ ldi r17,0xa3 ; ldi r18,4 ; sts 0x0102,r17 ; sts 0x0103,r18 ; lds r0,0x0102 ; lds r1,0x0103 ; /* Use EOR (exclusive or) operations in order to minimize RAM usage! */ eor r0, r1 ; eor r1, r0 ...
audihurrr/micro
registerSwap.asm
Assembly
mit
360
list p=18f4550 ;directiva para decirle al programa el modelo de microcontrolador que se va a usar #include <p18f4550.inc> ;llamada a la librería de nombre de los registros del PIC18F4550 ;A continuación las directivas de configuración del microcontrolador CONFIG FOSC = INTOSCIO_EC ; Oscillator ...
tocache/picomones
UPC Microcontroladores 2018-0/006 mux7shola.X/maincode.asm
Assembly
cc0-1.0
2,553
; ; 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...
matsumoto-r/synciga
src/third_party/libvpx/source/libvpx/vp9/encoder/x86/vp9_sad_sse3.asm
Assembly
bsd-3-clause
29,895
;********************************************************************* ; DESCRIPTION : Include bestand voor embedded systems ; bevat standaard-routines ; FILE NAME : INCLUDE.ASM ; COMPILER : M-IDE Studio ; SUPPORT : AT89C5131 ; DATE : 28 oktober 2010 ; AUTEUR : E.R. van den Berg ;****************...
Zarthus/School
Year 3 (2014-09 to 2015-02)/Assembly/system_includes.asm
Assembly
mit
12,658
0;JGE
OwenDavison/nand2tetris_grading
ASMBLR/TestJumps03.asm
Assembly
cc0-1.0
6
use64 include 'common.inc' ; decoding routine decode: virtual at rdx .out fde64s end virtual push rbx rsi rdi ; prepare stuff mov rsi,rcx mov r8,rcx ; zero-out result xor ecx,ecx xor al,al mov rdi,rdx mov cl,sizeof.fde64s rep stosb ; process prefixes .prefix: l...
xwanderer/fde64
decode.asm
Assembly
bsd-2-clause
44,006
; Copyright (c) 2004, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
tianocore/edk
Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/WriteMm0.asm
Assembly
bsd-3-clause
1,308
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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...
abperiasamy/minio-xl
pkg/erasure/gf_4vect_dot_prod_avx2.asm
Assembly
apache-2.0
13,034
;******************************************************************************* ; @INSTITUTION ; University of Sao Paulo | Sao Carlos School of Engineering | SEL ;------------------------------------------------------------------------------ ; @DISCIPLINE ; Name: SEL0433 | Applications of Microprocessors I ; Profes...
andreMarcosPerez/SEL0433_microprocessorAplications
List_2/exercise4.asm
Assembly
mit
6,014
;================================================================================ ; Spawn Zelda (or not) ;-------------------------------------------------------------------------------- SpawnZelda: LDA.l $7EF3CC : CMP #$08 : BEQ + ; don't spawn if dwarf is present CMP #$07 : BEQ + ; don't spawn if frog is present C...
mmxbass/z3randomizer
zelda.asm
Assembly
mit
775
.MODEL SMALL .STACK 100H .CODE MAIN PROC CALL INDEC PUSH AX MOV AH,2 MOV DL,0DH INT 21H MOV DL,0AH INT 21H POP AX CALL OUTDEC MOV AH, 4CH INT 21H MAIN ENDP INCLUDE outdec.asm INCLUDE indec.asm END MAIN
nasim-aust/AUST_CSE_2214_ASSEMBLY_LAB
Input-output with indec outdec/mycode.asm
Assembly
mit
266
aseg org 3000h aMayuscula macro letra ld (aux), A ld A, letra cp 'a' jp M, paso cp 'z'+1 jp P, paso add A,'A'-'a' ld letra, A paso: ld A, (aux) jr aux+1 aux: ds 1 endm start: ld IX, cadena ld B, largo+1 jp djnz1 ciclo: aMayuscula (IX) inc IX djnz1: djnz ciclo rst 38h cadena: def...
scoffey/jz80sim
test/jzas/sintactic/valid/success56.asm
Assembly
mit
358
;********** PVM player *********** ; 19-08-2015 v0.01: Beat display at logo. ; v0.02: Raster bars added - Stable raster from Ricardo's code ; xx-09-2015 v0.10: VUMeter added ; 02-09-2015 v0.15: Playtime timer added ; 04-09-2015 v0.16: Code cleanup !to "mp_sw.prg" !sl "labels.txt" !source "src/macros.as...
c64scene-ar/sid-player
player-prototype-sidwizard/src/mp_sw.asm
Assembly
apache-2.0
16,719
_start: sub sp, sp, #0x20 stp x29, x30, [sp, #0x10] add x29, sp, #0x10 split: cbz x0, split ret
googleprojectzero/reil
disassembler/test_data/block_split.asm
Assembly
apache-2.0
105
; ; Copyright (c) 2013 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...
Topopiccione/libvpx
vpx_dsp/arm/idct8x8_add_neon.asm
Assembly
bsd-3-clause
16,296
; The MIT License (MIT) ; ; Copyright (c) 2014 Microsoft ; ; 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...
mgottscho/X-Mem
src/win/x86_64/win_x86_64_asm_revSequentialRead_Word128.asm
Assembly
mit
12,141
; 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/WriteDr0.asm
Assembly
apache-2.0
1,218
;************************************************************************** ; arch/z80/src/ez80/ez80_restorcontext.asm ; ; Copyright (C) 2008-2009 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/ez80/ez80_restorecontext.asm
Assembly
bsd-3-clause
4,138
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code bnSub proc uses edi esi ebx bnX:DWORD,bnY:DWORD ;----------------------; ; +x - +y = x-y ; ; +x - -y = +(x+y) ; ; -x - +y = -(x+y) ; ; -x - -y = y-x ; ;----------------------; mov edi,bnX mov esi,bnY mov ebx,[...
FloydZ/Crypto-Hash
BigNum/Mod/Base/bnSub.asm
Assembly
mit
680
dc.w word_3D9B6-Map_FBZMagneticPendulum dc.w word_3D9D0-Map_FBZMagneticPendulum dc.w word_3D9EA-Map_FBZMagneticPendulum dc.w word_3D9F2-Map_FBZMagneticPendulum word_3D9B6: dc.w 4 ; DATA XREF: ROM:0003D9AEo dc.b $F0, 7, 0, 0, $FF, $F0 dc.b $F0, 7, 8, 0, 0, 0 dc.b 0, 1, 0, $14, $FF, ...
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
Working Disassembly/Levels/FBZ/Misc Object Data/Map - Magnetic Pendulum.asm
Assembly
apache-2.0
761
;;; NASM solution to the 'Reversed Binary Numbers' programming puzzle ;;; ;;; The program expects to read a decimal integer from stdin, reverse the ;;; order of the bits in it, and write the resulting number back to stdout. ;;; It's required to handle integers in the range [1, 1e9], but is designed to ;;; handled the r...
aliquis/nasm-reversebinary
reversebinary.asm
Assembly
mit
4,825
global _start section .text _start: ; for gcc, this should be main() instead mov eax, 0x4 ; syscall handle for write() - see unistd.h mov ebx, 0x1 ; first write() parameter - 1 stands for stdout (and 0 is stdin, 2 is stderr, just like in bash) mov ecx, message ; second write() parameter - pointer to the buffer ...
mvendra/sandboxes
asm/asmhellow/helloworld.asm
Assembly
mit
687
; ----------------------------------------------------------------------------- ; ; The MIT License (MIT) ; ; Copyright (c) 2014 Jack Maloney ; ; 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...
jmmaloney4/steel-os
boot/boot.asm
Assembly
mit
6,130
org 00h mov p1,#0ffh mov a,#0Eh rs bit p2.0 rw bit p2.1 en bit p2.2 start: mov a, #38h acall command call delay call delay mov a,#0Eh acall command call delay call delay mov a,#01h acall command call delay call delay mov a,#06h acall command call delay call delay mov a,#80h acall command call delay call delay mov a,#'T...
chudimercy/digital-timer
assembly lan_code_3/lcd2.asm
Assembly
mit
1,649
.ORIG x3400 ;Simple 4-bit LFSR Based Pseudo-random number generator ;Checkout wikipedia for a visual: ; en.wikipedia.org/wiki/Linear_feedback_shift_register ;Note: I am implementing it backwards from wikipedia. ; i.e. the taps (inputs to xor) are the msbs and I shift left rather ; than right ;==========================...
mbartling/lc3Game
rng.asm
Assembly
mit
3,196
global start section .text bits 32 ;32-bit instructions in protected mode ;64-bit in long mode start: ;print `Hello, World!` to screen mov dword [0xB8000], 0x2F652F48 mov dword [0xB8004], 0x2F6C2F6C mov dword [0xB8008], 0x2F2C2F6F mov dword [0xB800C], 0x2F572F20 mov dwo...
yuhc/min-kernel-x86
src/arch/x86_64/boot_simple.asm
Assembly
mit
445
//; --------------------------------------------------------------------------- //; General ingame variables and stuff //; --------------------------------------------------------------------------- define Bank8Num $48 define BankANum $49 define PlayerXLo $83 define PlayerXHi $95 define PlayerYLo ...
devinacker/kale
src/patches/vars.asm
Assembly
mit
470
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC __vfprintf_l PUBLIC _printf PUBLI...
Dovgalyuk/AntiTaint
Epilog/asm/MSVC2015/func-omitfp.asm
Assembly
apache-2.0
3,980
bits 16 ; glb intptr_t : int ; glb uintptr_t : unsigned ; glb intmax_t : int ; glb uintmax_t : unsigned ; glb int8_t : signed char ; glb int_least8_t : signed char ; glb int_fast8_t : signed char ; glb uint8_t : unsigned char ; glb uint_least8_t : unsigned char ; glb uint_fast8_t : unsigned char ; glb int16_t : short ...
so1h/so1h
PRACT0/SO1HPUB/asm/biosdata.asm
Assembly
bsd-2-clause
7,022
; (tentative of) multi-subsystem PE ; would display Hello World no matter what the subsystem. ; not working, need work on imports loading %include '..\..\standard_hdr.asm' SUBSYSTEM equ IMAGE_SUBSYSTEM_WINDOWS_CUI ;CARACTERISTICS EQU IMAGE_FILE_EXECUTABLE_IMAGE | IMAGE_FILE_32BIT_MACHINE STD_OUTPUT_HANDLE...
angea/corkami
wip/MakePE/examples/PE/multisub.asm
Assembly
bsd-2-clause
2,302
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 1 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ ARCH_PPC32 , 0 .equ ARCH_PPC64 , 0 .equ HAVE_EDSP , 1 .equ HAVE_MEDIA , 1 .equ HAVE_NEON , 0 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , ...
matsumoto-r/synciga
src/third_party/libvpx/source/config/linux/arm/vpx_config.asm
Assembly
bsd-3-clause
2,373
;-------------------------------------------------------- ; 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:41:13 2015 ;-------------------------------------------------------- .module crc .optsdcc -mmcs51 --model-large ;---...
YifanJiangPolyU/SiK-master-Yifan-TDMA
Firmware-bk/obj/rf50/radio~rf50/crc.asm
Assembly
bsd-2-clause
22,550
ldl $123 and r7,r7,r6 lsr r6,r7,r0 hlt
mgohde/MiniMicroII
demoprgs/lsrtest.asm
Assembly
bsd-2-clause
39
;****************************************************************************** ;* MMX/SSE2-optimized functions for the RV40 decoder ;* Copyright (c) 2010 Ronald S. Bultje <rsbultje@gmail.com> ;* Copyright (c) 2010 Jason Garrett-Glaser <darkshikari@gmail.com> ;* Copyright (C) 2012 Christophe Gisquet <christophe.gisquet...
retsu0/FFmepg-Android
jni/ffmpeg/libavcodec/x86/rv40dsp.asm
Assembly
mit
11,927
/* * Copyright © 2012 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, merge, pub...
BtbN/intel-hybrid-driver
src/shaders/utils/mfc_batchbuffer_avc_intra.asm
Assembly
mit
5,256
;***************************************************************************** ;* x86-optimized functions for volume filter ;* Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the...
endlessm/chromium-browser
third_party/ffmpeg/libavfilter/x86/af_volume.asm
Assembly
bsd-3-clause
4,362
; enter with b = frame count/2 attrfuzz ld hl,0 ld (attrfuzz_src+1),hl attrfuzz_frmlp halt halt push bc call attrfuzz_frame pop bc djnz attrfuzz_frmlp ret attrfuzz_frame attrfuzz_src ld hl,0 ld de,0x5800 ld b,0 attrfuzz_lp rept 3 ld c,(hl) srl c sbc a,a and c ld (de),a inc de inc hl endm djnz at...
gasman/kisskill
attrfuzz.asm
Assembly
mit
360
include mpcp.inc .data text BYTE "abcdEfGhiJk",0 find_str BYTE "k",0 output BYTE "Resultado : %d",13,10,0 .code ; proto stringLength PROTO C string:PTR BYTE BUSCA PROTO C string: PTR BYTE, subString : PTR BYTE ; main main PROC C invoke BUSCA, OFFSET text, OFFSET find_str invoke printf, OFFSET...
FEUP-MIEIC/MPCP
Ficha 6 - Tratamento de sequencias/7.asm
Assembly
mit
1,617
;Rusu Cosmin, gr. 917, 14.10.2015, homework for lab 3, problem 13 assume cs:code, ds:data ;;m - [0, 100] ;h - [100, 300] ;yy - [0, 256] ;d - [-3, 15] ; ;(h+128)-(y+m+d) = h + 128 - y - m - d ; ; ; Solution for Signed representation ; ; data segment m db 10 h dw 150 yy dw 212 d db -3 x dw ? data ends code segme...
rusucosmin/courses
ubb/asc/lab02_30092015/CosminRusu_homework3_13_signed.asm
Assembly
mit
712
; ****************************************************************************************************************** ; ****************************************************************************************************************** ; ; Machine Language Monitor ; ; ******************************************...
paulscottrobson/wallpaper-one
software/monitor_rom/monitor.asm
Assembly
mit
41,050
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code bnFermatpt proc uses esi edi ebx bn:dword LOCAL cnt xor ecx,ecx; FALSE push ecx mov cnt,ecx bnCreateX edi,esi,ebx; tmp's invoke bnMov,edi,bn invoke bnDec,edi ; test a^(m-1) = 1 (mod m) mov eax,cnt .repeat movzx eax,...
FloydZ/Crypto-Hash
BigNum/Mod/Primes/bnFermatpt.asm
Assembly
mit
1,059
;****************************************************************************** ;* be_blur.asm: SSE2 \be blur ;****************************************************************************** ;* Copyright (C) 2013 Rodger Combs <rcombs@rcombs.me> ;* ;* This file is part of libass. ;* ;* Permission to use, copy, modify, an...
ninetian/ffmpeginstaller
libass-0.14.0/libass/x86/be_blur.asm
Assembly
apache-2.0
10,613
%define ARCH_ARM 0 %define ARCH_MIPS 0 %define ARCH_X86 0 %define ARCH_X86_64 1 %define ARCH_PPC32 0 %define ARCH_PPC64 0 %define HAVE_EDSP 0 %define HAVE_MEDIA 0 %define HAVE_NEON 0 %define HAVE_NEON_ASM 0 %define HAVE_MIPS32 0 %define HAVE_DSPR2 0 %define HAVE_MIPS64 0 %define HAVE_MMX 1 %define HAVE_SSE 1 %define HA...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/libvpx/source/config/win/x64/vpx_config.asm
Assembly
bsd-3-clause
2,360
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;; ;; Distributed under terms of the GNU General Public License ;; ;; ...
devlato/kolibrios-llvm
drivers/ethernet/RTL8139.asm
Assembly
mit
34,960
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f in $0xf,%al 8010000c <entry>:...
liadgi/Assignment2
kernel.asm
Assembly
mit
732,653
processor 6502 include "macros.asm" include "standard.asm" include "loadingPictureConstants.inc" ORG $1001 DC.W $100B,0 DC.B $9E,"4109",0,0,0 ; SYS4107 JMP MAINPRG ORG $1800,$00 include "fw_interface.asm" include "fw_bootstrap.asm" TEXTCOLOR = $71 ORG $5800 ds.b $800,$00 ;----------------------...
kosmonautdnb/TheLandsOfZador
Bootloader/_code/GlobalCode/demopart (Rainer Mührs in Konflikt stehende Kopie 2015-07-29).asm
Assembly
mit
4,948
;//////////////////////////////////////////////////////////////////////////////; ;/// void drawRect(int x, int y, int width, int height, int color) ///; ;//////////////////////////////////////////////////////////////////////////////; ; Label for procedure. drawRect: ;////////////////////////////////////////...
richgieg/RichOS
src/boot/graphics/drawRect.asm
Assembly
mit
3,084
section .multiboot_header header_start: dd 0xe85250d6 ; magic number (multiboot 2) dd 0 ; architecture 0 (protected mode i386) dd header_end - header_start ; header length ; checksum dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; insert optional mu...
scrogson/cosmos
src/arch/x86_64/multiboot_header.asm
Assembly
mit
424
.686 .model flat .xmm .data ___unnamed_float_0 dd 040000000h public ___unnamed_float_0 ___unnamed_float_1 dd 03f800000h public ___unnamed_float_1 ___unnamed_float_2 dd 040400000h public ___unnamed_float_2 ___unnamed_float_3 dd 040800000h public ___unnamed_flo...
artyompal/C-compiler
cc4x86/tests/regressive/asm_listings/float2_.asm
Assembly
mit
1,783
;***************************************************************** ;* - Description: Device definition file for RC Calibration ;* - File: t84.asm ;* - AppNote: AVR053 - Production calibration of the ;* RC oscillator ;* ;* - Author: Atmel Corporation: http://www.atmel.com ;* ...
smart-electro/BMS_SLAVE_V2.0
Software/AtTiny_programmer/RC calib Projekt/Device specific/t84.asm
Assembly
cc0-1.0
742
DEVICE ZXSPECTRUMNEXT : SLOT 7 : LABELSLIST "incbin80k.lbl" ; incbin80k.bin is from offset 2 letters 'a' to 't' with linux newlines (byte 10) ; for each letter, there's 80 of them + newline, repeated 51 times ; such one letter block = 51*81 = 4131 bytes (just over 4ki), there's 20 letters ; = 82620 ...
z00m128/sjasmplus
tests/devices/incbin80k/incbin80k.asm
Assembly
bsd-3-clause
4,025
format coff public encode public encode as '_encode' encode: mov edx,[esp+8] mov ecx,[esp+4] file 'bin\encode.bin' public decode public decode as '_decode' decode: mov edx,[esp+8] mov ecx,[esp+4] file 'bin\decode.bin'
leiacoder/fde32
fde32.asm
Assembly
bsd-2-clause
251
;; 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. LEAF_ENTRY macro Name, Section Section segment para 'CODE' align 16 public Name Name proc endm...
zenos-os/zenos
vendor/corert/src/Native/System.Private.TypeLoader.Native/amd64/MethodEntrypointStubs.asm
Assembly
mit
2,061
list p=18f4550 #include <p18f4550.inc> 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 bits (Brown-out Reset disabled in hardware and so...
tocache/picomones
UPC Microcontroladores 2019-2/Semana 5/sem5_sm.X/maincode.asm
Assembly
cc0-1.0
3,628
Map_361FAE: dc.w Frame_361FB6-Map_361FAE dc.w Frame_361FBE-Map_361FAE dc.w Frame_361FC6-Map_361FAE dc.w Frame_361FCE-Map_361FAE Frame_361FB6: dc.w 1 dc.b $F8, 5, 0, 0,$FF,$F8 Frame_361FBE: dc.w 1 dc.b $F8, 5, 0, 4,$FF,$F8 Frame_361FC6: dc.w 1 dc.b $F8, 5, 0, 8,$FF,$F8 Frame_361FCE: dc.w 1 dc.b $F...
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
Working Disassembly/General/Sprites/Star Pointer/Map - Star Pointer.asm
Assembly
apache-2.0
342
; interrupt vector section reset rjmp reset rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled rjmp unhandled unhandled: reti global bsp_init global bsp_putc global main_main reset: ldi r16, 0x8 out 0x...
windelbouwman/ppci-mirror
examples/avr/glue.asm
Assembly
bsd-2-clause
1,059
.global JpegTest0Pixels .global JpegTest0PixelsSize JpegTest0Pixels: .incbin "jpeg/test0.jpg" JpegTest0PixelsSize=.-JpegTest0Pixels
tokoro10g/stm32plus
examples/lds285/JpegPixels.asm
Assembly
bsd-3-clause
137
{ 'abc_class': 'AbcFile' , 'minor_version': 16 , 'major_version': 46 , 'int_pool': [ undefined , '10000' ] , 'uint_pool': [ undefined ] , 'double_pool': [ undefined , '3.14' ] , 'utf8_pool': [ undefined , '' , 'Object' , 'Array' ...
greyhavens/thane
tamarin-central/esc/test/sanity/tests/vars.es.asm
Assembly
bsd-2-clause
12,232
; hello.asm: loadable program that the shell can run ; To use: ; Build into a bare assembled binary ; Pretend it's a disk image and load it into your emulator ; Image it to a file in BBFS ; load by typing iuts name .org 0 #include "bbos.inc.asm" define WRITE_STRING 0x1004 SET PUSH, str_hello SET PUSH, 1 ; With newli...
interfect/bbfs
hello.asm
Assembly
mit
601
; _________ _________ _________ _________ _________ _________ ; ___\______ /___\____ /_____\____ /___\_____ /___\_____ /___\______ /___ ; \_ | | _ |_____/\_ ____ _ |/ _ |/ _ | | _/ ; |___|___|___|_____| sns |___________|___________|___________|___|___|___| ...
Javanaise/mrboom-libretro
tools/asm/src/mrboom.asm
Assembly
mit
363,957
EXTRN GetStdHandle: PROC EXTRN WriteFile: PROC EXTRN lstrlen: PROC EXTRN ExitProcess: PROC .DATA hFile QWORD 0 msglen DWORD 0 BytesWritten DWORD 0 msg BYTE "Hello x64 World!", 13, 10, 0 .CODE main PROC ;int 3 ; breakpoint for debugger sub rs...
markfinal/BuildAMation
tests/AssemblerTest1/source/helloworld64.asm
Assembly
bsd-3-clause
644
assume cs:code,ds:data data segment t1 dw ? t2 dw ? sum dw ? b dw ? a dw ? newl db ,13,10,"$" string db 5 db ? db 5 dup (?) data ends code segment start: mov ax,data mov ds,ax call readInput mov a,bx call readInput mov b,bx mov ax,b mov t1,ax mov ax,a mov bx,t1 add ax,bx mov t2,ax mov ax,t2 mov ...
rusucosmin/courses
ubb/lftc/lab6/test/syntax_error.asm
Assembly
mit
1,522
; Copyright 2015 Adam <https://github.com/n00btube> ; MIT license. ; Makes save points refill Samus' energy and supplies, like the ship. ; ; Hijacks the save station PLM and uses some free space in that bank ($84), as ; well as any other bank of your choosing. This *is* the cross-bank version. lorom ; hijack point:...
theonlydude/RandomMetroidSolver
patches/common/src/refill_before_save.asm
Assembly
mit
4,119
;Statically mapped at $A1A000 Referenced by the front end. Do not move without coordination. InvertedTileAttributeLookup: SEP #$20 LDA $8A : CMP.b #$47 : BEQ .turtleRock LDA Overworld_TileAttr, X JML.l Overworld_GetTileAttrAtLocation_continue .turtleRock LDA Inverted_TR_TileAttributes, X JML.l Overworld_GetTileAt...
mmxbass/z3randomizer
invertedstatic.asm
Assembly
mit
342
; ; COMMUNICATING WITH MODEM: PORTS & IRQ ; ; Compile with FASM for Menuet ; include "lang.inc" include "..\..\..\..\macros.inc" use32 org 0x0 db 'MENUET01' ; 8 byte id dd 0x01 ; header version dd START ; start of code dd I_END ; size of image dd 0x1000 ...
devlato/kolibrios-llvm
programs/develop/examples/rtdata/trunk/rtdata.asm
Assembly
mit
4,711
starter: bne $k1,$zero,checkintrupt j f095 j runP checkintrupt: addi $a0,$zero,10 addi $a1,$zero,1 beq $a1,$k1,isuserint j runP isuserint: beq $a0,$v0,exitint exitint: j f093 runP: j f094 addi $a1,$zero,-1 beq $a1,$v0,ex j f020 ex: add $zero,$zero,$zero
CoffeeMIPS/netbeans
FCFS.asm
Assembly
apache-2.0
274
;; This file is a part of the IncludeOS unikernel - www.includeos.org ;; ;; Copyright 2017 IncludeOS AS, Oslo, Norway ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http:;;www....
AnnikaH/IncludeOS
lib/LiveUpdate/src/hotswap64.asm
Assembly
apache-2.0
3,349
21 00 50 4E 0D 51 21 01 50 7E 23 BE DA 14 00 46 77 2B 70 23 15 C2 09 00 0D C2 05 00 76
bogas04/asm8085
test/bubbleSort.asm
Assembly
mit
87
; ; HALO: HAribote-os LOader for EFI ; ; Copyright (c) 2016,2018 Nerry, All rights reserved. ; ; 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 ...
neri/halo
src/haloasm-ia32.asm
Assembly
mit
3,460
; ---------------------------------------------------------------------------------------- ; Writes "Hello, World" to the console using only system calls. Runs on 64-bit Linux only. ; To assemble and run: ; ; nasm -felf64 hello.asm && ld hello.o && ./a.out ; ---------------------------------------------------------...
adeekshith/code-snippets
assembly/hello.asm
Assembly
apache-2.0
1,070
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-iparam-stdcall.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ??_C@_0BA@NNIFAFEJ@?$CFd?5?$CFd?5?$CFd?5?$CFd?5?$CFs?6?$A...
Dovgalyuk/AntiTaint
Epilog/asm/MSVC2010/func-iparam-stdcall-omitfp-opt.asm
Assembly
apache-2.0
1,883
[bits 32] %macro exit %1 mov eax,1 mov ebx,%1 int 0x80 %enmacro %macro write %2 push eax mov eax,4 mov ebx,1 mov ecx,%1 mov edx,%2 int 0x80 pop eax %enmacro segment .text global _start _start: ...
jozadaquebatista/Assembly-Overview
non_zero.asm
Assembly
apache-2.0
611
01:    ; BOOL __stdcall DllMain(HINSTANCE hinstDLL, DWORD fdwReason,LPVOID lpvReserved) 02:                _DllMain@12 proc near 03: 55               push    ebp ; function prologue 04: 8B EC            mov     ebp, esp ; function prologue 05: 81 EC 30 01 00+  sub     esp, 1...
shxdow/practical-reverse-engineering
practical-reverse-engineering/chapter_01/page33/exercise01/exercise01.asm
Assembly
mit
10,827
; Shows that the square timer's period is (raw + 1) * 2, not raw + 1 ; with a divide-by-two before the duty sequencer. ; ; I also ran the square at highest pitch ($4002 = 8), quickly ; wrote 255 to $4002 then 8 to $4002 again. This would cause the ; timer to be loaded once with the higher value. Looking in a sound ; ed...
peteward44/WebNES
project/testRoms/apu/square_timer_div2/square_timer_div2/square_timer_div2.asm
Assembly
mit
2,298
bits 64 blendvpd xmm2,xmm1,xmm0 vblendvpd xmm2,xmm1,xmm0,xmm0 vblendvpd xmm2,xmm1,xmm0 vblendvpd ymm2,ymm1,ymm0,ymm0 vblendvpd ymm2,ymm1,ymm0 vcvtsi2sd xmm9,xmm10,ecx vcvtsi2sd xmm9,xmm10,rcx vcvtsi2sd xmm9,xmm10,dword [rdi] vcvtsi2sd xmm9,xmm10,qword [rdi] vpextrb [rax],xmm1,0x33 vpextrw [...
techkey/nasm
travis/test/avx.asm
Assembly
bsd-2-clause
1,001
assume cs:code, ds:data data segment a dw 1010111001101100b b dw 0111110100100110b c dw ? data ends code segment start: mov ax, data mov ds, ax mov dx, a and dx, 1b ;isolate the bit 0 from a mov ax, a ;ax = a mov ax, 10b ;isolate the bit 1 from a shl ax, 1 ;put the isolate bit 1 from a to pos 2 or...
rusucosmin/courses
ubb/asc/lab05/a.asm
Assembly
mit
1,121
; Listing generated by Microsoft (R) Optimizing Compiler Version 13.10.3077 TITLE .\CRLCache.cpp .386P include listing.inc if @Version gt 510 .model FLAT else _TEXT SEGMENT PARA USE32 PUBLIC 'CODE' _TEXT ENDS _DATA SEGMENT DWORD USE32 PUBLIC 'DATA' _DATA ENDS CONST SEGMENT DWORD USE32 PUBLIC 'CONST' CONST ENDS _BSS...
SrivastavaConsultingGroup/DigitalSignature
Xmlsign/nssdebug/CRLCache.asm
Assembly
mit
183,852
section .data hello: db 'Hello World!',10 ; Hello World with \n helloLen: equ $-hello ; Length of hello World string section .text global _start _start: call _hello_world_endless call _exit _hello_world: mov eax, 4 ; The syscall for write mov ebx, 1 ; File descriptor 1 - stdout mov ecx, he...
kije/assembly_experiments
test3.asm
Assembly
bsd-3-clause
710