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_revStride8Write_Word256.asm
Assembly
mit
3,945
.ORIG x3860 ;void delay(count); ; Delay ; Input: Number to count down from ; Output: None DELAY ADD R0, R0, #-1 BRzp DELAY RET .END
mbartling/lc3Game
delay.asm
Assembly
mit
133
; ; int asm_isneg(int n) ; BITS 64 SECTION .text GLOBAL asm_isneg asm_isneg: CMP EDI, 0 JS _less _greater: MOV RAX, 0 JMP _end _less: MOV RAX, 1 _end: RET
DarkyZShadow/BF-Interpreter
src/libs/libmy/asm_isneg.asm
Assembly
mit
199
include syscall .data .format string '%d test\n' .text .global main: main: ; Print 20 LDV A, 20 PSH A LDV A, .format PSH A LDV A, .sys_printf PSH A SYS HLT
redfast00/RCPU
asm/printf.asm
Assembly
mit
179
%ifidn __OUTPUT_FORMAT__,obj section code use32 class=code align=64 %elifidn __OUTPUT_FORMAT__,win32 $@feat.00 equ 1 section .text code align=64 %else section .text code %endif global _DES_SPtrans align 16 __x86_DES_encrypt: push ecx ; Round 0 mov eax,DWORD [ecx] xor ebx,ebx mov edx,DWORD [4+ecx] xor eax,esi xor...
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/openssl/config/archs/VC-WIN32/asm/crypto/des/des-586.asm
Assembly
mit
34,856
format PE64 console 5.0 entry start MEM_LARGE_PAGES = 20000000h include 'win64a.inc' include 'params.inc' include 'struct_eh.inc' include 'macro_eh.asm' section '.text' code readable executable start: mov eax, esp cmp rax, rsp jne _Exit sub esp, 0x108 and esp, -32 frame call [GetCurrentThread] ...
xenoncat/equihash-xenon
Windows/quickbench_avx2.asm
Assembly
mit
4,578
checkTerrainLeft lda playerPosition_LO sec sbc #1 sta mapPointer_LO lda playerPosition_HI sbc #0 sta mapPointer_HI jmp checkTerrain checkTerrainRight lda playerPosition_LO clc adc #1 sta mapPointer_LO lda playerPosition_HI adc #0 sta mapPointer_HI jmp checkTerrain checkTerrainUp lda playerPosition_L...
badvision/lawless-legends
Platform/C64/src/includes/checkTerrain.asm
Assembly
apache-2.0
743
MOV [0] 43 MOV [1] 13 MOV [2] 25 MOV [3] 22 MOV [4] 29 JLS [3] [0] [2] DPRINT 454 HALT JLS [4] [0] [1] DPRINT 745 HALT DPRINT 66 HALT
ocus/TinyASM_Haskell
test-suite/programs/unit/jls_0x18.asm
Assembly
bsd-3-clause
134
;3.2 Machine state ; ;When the boot loader invokes the 32-bit operating system, the machine must have the following state: ; ;‘EAX’ ; Must contain the magic value ‘0x2BADB002’; the presence of this value indicates to the operating system ;that it was loaded by a Multiboot-compliant boot loader (e.g. as opposed to an...
Izikiel/intel_multicore
DeliriOS_64bits/grub-init/src/loader.asm
Assembly
mit
4,803
; classic circle interference pattern ; uses large sprite of concentric circles drawn in two layers ; requires 6x versions of sprite in all offsets i.e. lots of memory .start_fx_interference INTERFERENCE_shadow_addr = MODE7_VRAM_SHADOW + MODE7_char_width + 3 ; currently writing 36x22 character screen INTERFERENCE_...
bitshifters/teletextr
src/fx/interference.asm
Assembly
mit
6,878
section ".data" xdef pSnd_GetMode pSnd_GetMode: move.w state_and_mode,d0 move.w d0,d1 ;Extrait modes voice1 andi.w #%0000000001111000,d0 lsr.w #3,d0 ;Extrait modes voice2 andi.w #%0011110000000000,d1 lsr.w #6,d1 or.w d1,d0 rts
bcherry/bcherry
oldstuff/tigcc/PolySnd/sources/statique/GetMode.asm
Assembly
mit
239
; 1 2 3 4 5 6 7 ;234567890123456789012345678901234567890123456789012345678901234567890 ;===================================================================== ; ; *** TEST *** ; ;--------------------------------------------------------------...
nikAizuddin/lib80386
src/converter/cvt_string2double/test/_start.asm
Assembly
mit
2,661
; $Id: VBoxBiosAlternative.asm $ ;; @file ; Auto Generated source file. Do not edit. ; ; ; Source file: post.c ; ; BIOS POST routines. Used only during initialization. ; ; ; ; Copyright (C) 2004-2015 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http...
egraba/vbox_openbsd
VirtualBox-5.0.0/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative.asm
Assembly
mit
892,399
;este es un comentario list p=18f4550 ;modelo de procesador #include<p18f4550.inc> ;libreria de nombre de registros ;Bits de configuracion del microcontrolador CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT)) CONFIG PWRT = ON ; Power-up Timer Enable b...
tocache/picomones
UPC Microcontroladores 2021-1/Semana 02/20211_el53_simplex1.X/maincode4.asm
Assembly
cc0-1.0
1,570
; an ELF with bogus sections values ; Ange Albertini, BSD Licence 2013 BITS 32 %include 'consts.inc' ELFBASE equ 08000000h org ELFBASE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ELF Header segment_start: ehdr: istruc Elf32_Ehdr at Elf32_Ehdr.e_ident EI_MAG ...
angea/corkami
wip/elf/dummy_secvals.asm
Assembly
bsd-2-clause
4,337
__SHRL32: ; Right Logical Shift 32 bits srl d rr e rr h rr l ret
haroldo-ok/really-old-stuff
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/shrl32.asm
Assembly
apache-2.0
94
/* * 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/Common/NV12_Load_8x5.asm
Assembly
mit
3,413
;**************************************** ;* ClearIt v.61 beta * ;* Keith Batten * ;**************************************** ;* -What it Does- * ;* Installs and returns a 1 in ans * ;* Uninstalls and returns a 0 in ans * ;* Fakes Reset All ...
kbatten/ClearIt
ClearIt.asm
Assembly
mit
5,487
#include "kernel.inc" #include "corelib.inc" .db "KEXC" .db KEXC_ENTRY_POINT .dw start .db KEXC_STACK_SIZE .dw 40 .db KEXC_NAME .dw name .db KEXC_HEADER_END name: .db "progcalc", 0 start: ;Get a lock on the devices we intend to use pcall(getLcdLock) pcall(getKeypadL...
boos1993/progcalc
main.asm
Assembly
mit
3,769
DEFINE P6LEVELMOVE, SPACE=ROM SEGMENT P6LEVELMOVE extern _Green extern _DrawPkName extern _Red extern _Select extern _Move extern _LoadPic extern _LPicBank1 extern _DrawMoveName extern _DrawMoveName_AlignRight extern _MoveList public MoveList extern _LoadLevelMoves extern _LoadBreedMove...
encukou/ti83-dex
levelmove.asm
Assembly
mit
138,531
;****************************************** ; Bootloader.asm ; A Simple Bootloader ;****************************************** WHITE_ON_BLUE EQU 17H READ_SUCCESS EQU 0H ELF_OFFSET EQU 18h KERNEL_LOCATION EQU 600h [bits 16] start: jmp word boot ;; constant and variable definitions bootMsg db "Booting the Damsteen ...
Sebazzz/sdos
bootloader/bootloader.asm
Assembly
mit
3,280
;; invalid numeric literals errors ;; missing digits DD # ;DD $ => is actual valid syntax for current address pointer DD 0x DD % ;; hard 32b overflow DD 0xFFFFFFFF ; OK DD 0x100000000 ; overflow error D...
z00m128/sjasmplus
tests/parsing/numeric_constants_invalid.asm
Assembly
bsd-3-clause
928
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif section .text code align=64 global CRYPTO_rdrand ALIGN 16 CRYPT...
endlessm/chromium-browser
third_party/openscreen/src/third_party/boringssl/win-x86_64/crypto/fipsmodule/rdrand-x86_64.asm
Assembly
bsd-3-clause
731
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SAFE CRACKER ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; GAME ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;...
glen-mac/COMP2121-16s1
src/main.asm
Assembly
mit
15,278
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT $SG5303 DB '%d', 00H _DATA ENDS PUBLIC __local_stdio_printf_options PUBLIC __local_stdio_scanf_options PUBLIC _vfprintf_l PUBLIC printf PUBLIC _vfscanf...
Dovgalyuk/AntiTaint
Epilog/asm/MSVC2015-64/func-alloca-omitfp.asm
Assembly
apache-2.0
8,296
;-------------------------------------------------------- ; 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 golay .optsdcc -mmcs51 --model-large ;-...
YifanJiangPolyU/SiK-master-Yifan-TDMA
Firmware-bk/obj/hm_trp/radio~hm_trp/golay.asm
Assembly
bsd-2-clause
179,696
/* * Sumo Bot Test Code Project * * org: 10/13/2014 * auth: Nels "Chip" Pearson * * Target: LCD_CDM-116100 Demo Board, 8MHz, ATmega328P * * Resources * SRAM * * IO * */ .nolist .include "m328pdef.inc" .list .ORG $0000 rjmp RESET .ORG OC1Aaddr ; 0x16 Timer/Counter1 Compare Match A rjmp pwm_tmr1...
CmdrZin/chips_avr_examples
SumoBot_Code_Dev/SumoRing/asm/src/main.asm
Assembly
mit
2,597
; -------------------------------------------------------------------- ; ; sbox_canright_x64.asm ; ; @version 1.0 (June 2007) ; ; This file contains the implementation of the subBytes ; step of the AES. subBytes does the transformation on the ; AES state in R15 to R8. subBytes_rk expects an array of ; 8 variab...
GaloisInc/hacrypto
src/C/bitsliced_aes/aes_bitsliced/aes_bitsliced/aes_bitsliced/sbox_canright_x64.asm
Assembly
bsd-3-clause
16,783
/* * 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/saveNV12_16x16.asm
Assembly
mit
3,381
;; 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. ;; ----------------------------------------------------------------------------------------------------------- ;; #i...
zenos-os/zenos
vendor/corert/src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm
Assembly
mit
3,074
;************************* instrset64.asm ********************************** ; Author: Agner Fog ; Date created: 2003-12-12 ; Last modified: 2018-04-24 ; Source URL: www.agner.org/optimize ; Project: asmlib.zip ; Language: assembly, NASM/YASM syntax, 64 bit ; ; C++ prototype: ;...
shines77/StringMatch
src/main/asm/instrset_x64.asm
Assembly
mit
6,265
; ; kernel/src/fault.asm ; [default rel] [section .text] extern abort global dbz global uop global ssf global gpf %ifdef __ARCH_X86_64 dbz: push rdi push rsi xor rsi, rsi mov rdi, dbz_str call abort pop rsi pop rdi iretq uop: push rdi push rsi mov rsi, [rsp + 0x10] mov rdi, uop_str call abort po...
sjrct/frosk-current
kernel/src/fault.asm
Assembly
apache-2.0
990
; Generated at 3/12/2016 8:37:32 PM DebugStub_ComReadEAX: Call DebugStub_ComReadAL ROR EAX, 8 Call DebugStub_ComReadAL ROR EAX, 8 Call DebugStub_ComReadAL ROR EAX, 8 Call DebugStub_ComReadAL ROR EAX, 8 DebugStub_ComReadEAX_Exit: mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComReadEAX_Exit...
Cyber4/Cosmos
source/Cosmos.Debug.DebugStub/SerialHelpers.asm
Assembly
bsd-3-clause
2,207
locals jumps .model large, WINDOWS PASCAL ; Ïîäêëþ÷àåì ôàéë îïèñàíèÿ êîíñòàíò è ñòðóêòóð API include windows.inc ; Îïèñûâàåì èñïîëüçóåìûå ôóíêöèè extrn BEGINPAINT:PROC extrn CREATEWINDOW:PROC extrn DEFWINDOWPROC:PROC extrn DISPATCHMESSAGE:PROC extrn ENDPAINT:PROC extrn GETMESSAGE:PROC extrn GETSTOCKO...
ivan-uskov/micro-controllers
assembler/!buk-Asm/уч4-для_Win/window.asm
Assembly
mit
5,556
include "../common/equs.inc" org 0xbce0 ;--------------------------------------- ; mypager2 - switch to the low bank specified in the accumulator. ; Interupts must be disabled before this function is called mypager2: ret ; just return until the proper paging code is installed into this location defs 31, 0 ;-----...
pjshumphreys/querycsv
env/zx/residos128/page2page.asm
Assembly
mit
2,764
/* * System Timer Utility - MOD for Servo timing generation. * * org: 6/28/2014 * rev: 01/20/2015 * auth: Nels "Chip" Pearson * * Dependencies * none * * Target: Any AVR * * Usage: * .include sys_timers.asm * */ ; 1ms tic flags .equ FLOOR_1MS_TIC = GPIOR00 ; Floor/Line Detectors .equ RNG_1MS_TIC = G...
CmdrZin/chips_avr_examples
I2C_Slave_Code_Dev/I2C_SlaveCore/asm/src/sys_timers.asm
Assembly
mit
2,236
global _start section .text _start: mov eax, 4 ; write mov ebx, 1 ; stdout mov ecx, msg mov edx, msg.len int 0x80 ; write(stdout, msg, strlen(msg)); mov eax, 1 ; exit mov ebx, 0 int 0x80 ; exit(0) section .data msg: db "Hello, world!", 10 .len: equ $ - msg
melanj/my-spare-time-work
asm/hello.asm
Assembly
apache-2.0
276
;------------------------------------------------------------------------------------------------------- ; Copyright (C) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ;-------------------------------------------------------------...
mrkmarron/ChakraCore
lib/Backend/amd64/Thunks.asm
Assembly
mit
4,744
PUBLIC longjmp64 PUBLIC _setjmp3 PUBLIC modInternal .data? .code _setjmp3 : ; proc jmp_buf : qword arg : qword ; RCX = jmp_buf structure ; RDX = addr to jump back to mov qword ptr [rcx],rdx mov qword ptr [rcx+8],rbx mov qword ptr [rcx+18h],rbp mov qword ptr [rcx+20h],rsi ...
greyhavens/thane
tamarin-central/platform/win32/win64setjmp.asm
Assembly
bsd-2-clause
2,694
%include "asm/vesa.inc" [section .text] [BITS 16] vesa: .getcardinfo: mov ax, 0x4F00 mov di, VBECardInfo int 0x10 cmp ax, 0x4F je .edid mov eax, 1 ret .edid: cmp dword [.required], 0 ;if both required x and required y are set, forget this jne near .findmode mov ax, 0x4F15 mov bx, 1 xor cx, cx xor dx, dx m...
stryan/redox
kernel/asm/vesa.asm
Assembly
mit
4,889
; ; 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...
freedesktop-unofficial-mirror/gstreamer-sdk__libvpx
vp8/common/x86/subpixel_sse2.asm
Assembly
bsd-3-clause
46,669
(LABEL FACT3) (MOVE FP R0) (PUSH R0) (MOVE FP R2) (MOVE (3 FP) FP) (MOVE (-2 FP) R0) (MOVE R2 FP) (PUSH R0) (MOVE ($ 1) R0) (PUSH R0) (MOVE ($ 2) R0) (PUSH R0) (INCR R0) (MOVE FP R1) (MOVE SP FP) (MOVE SP R2) (SUB R0 R2) (PUSH R2) (PUSH R1) (JSR (@ 32)) (POP R1) (POP R2) (MOVE R1 FP) (MOVE R2 SP) (DECR SP) (JMP (@ 34))...
wolfviking0/compiler-vm.lisp
samples/fact.lisp.asm
Assembly
mit
1,940
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; string.asm ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; Forrest Yu, 2005 ; ++++++++++++++++++++++++++++++++++++++++++++++++++++...
RongbinZhuang/simpleOS
ver0/reference/chapter8/_base_/lib/string.asm
Assembly
mit
3,612
struc IDTEntry .offsetl resw 1 .selector resw 1 .zero1 resb 1 .attribute resb 1 .present equ 1 << 7 .ring1 equ 1 << 5 .ring2 equ 1 << 6 .ring3 equ 1 << 5 | 1 << 6 .task32 equ 0x5 .interrupt16 equ 0x6 .trap16 equ 0x7 .interrupt32 equ 0xE .trap32 equ 0xF .offsetm resw 1 .offseth resd 1 .zero2 res...
skylerberg/redox
kernel/asm/interrupts-x86_64.asm
Assembly
mit
2,337
;SYSTEM COLORS (.DTP) - COMPILE WITH FASM frame dd 0xB7B7B7 grab dd 0xE9E9E9 grab_button dd 0xA6A6A6 grab_button_text dd 0xffffff grab_text dd 0x747474 work dd 0xf3f3f3 work_button dd 0xf3f3f3 work_button_text dd 0x000000 work_text dd 0x000000 work_gra...
devlato/kolibrios-llvm
skins/Sad_grey/default.dtp.asm
Assembly
mit
341
@ @ Copyright http://www.rock-software.net @ @ ---------------------------------------------------------------------------- .syntax unified .thumb .cpu cortex-m3 @ ---------------------------------------------------------------------------- .global MEM_DataCopy @ ----------------------------------------------...
tokoro10g/stm32plus
lib/src/memory/MEM_DataCopy.asm
Assembly
bsd-3-clause
9,523
!!ARBfp1.0 # This is the fragment program for one # component data with no shading # We need some temporary variables TEMP temp1, temp2, temp3; # We are going to use the first # texture coordinate ATTRIB tex0 = fragment.texcoord[0]; # This is our output color OUTPUT out = result.color; # Look up the scalar...
b3c/VTK-5.8
VolumeRendering/vtkVolumeTextureMapper3D_OneComponentNoShadeFP.asm
Assembly
bsd-3-clause
687
.nds .create "output.bin",0 ldr r1,=12345678h ; test pool loads ldr r2,=12345678h ; test repeated load of the same immediate ldr r3,=8800h ; test ldr conversion to mov ldr r4,=0FFFFFFFFh ; test ldr conversion to mvn mov r5,0FFFFFFFFh ; test mov conversion to mvn and r6,~0FFh ; test and conversion to bic bic...
hrydgard/armips
Tests/ARM/Immediates/Immediates.asm
Assembly
mit
795
INCLUDE "hardware.inc" INCLUDE "header.inc" ;-------------------------------------------------------------------------- ;- RESTART VECTORS - ;-------------------------------------------------------------------------- SECTION "RST_00",HOME[$0000] ret SEC...
AntonioND/gbc-hw-tests
cpu/halt_if/init.asm
Assembly
mit
6,199
INCLUDE "hardware.inc" INCLUDE "header.inc" ;-------------------------------------------------------------------------- SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;--------------------...
AntonioND/gbc-hw-tests
interrupts/lcd_irq_delay_timer_no_halt_dmg_mode/main.asm
Assembly
mit
13,746
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-fparam.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _DATA SEGMENT $SG5417 DB '%f %f %f %s', 0aH, 00H _DATA ENDS PUBLIC ___...
Dovgalyuk/AntiTaint
Epilog/asm/MSVC2015/func-fparam-omitfp.asm
Assembly
apache-2.0
5,244
MOV [0] 10 MOV [1] 3 OR [0] [1] DPRINT [0] HALT
ocus/TinyASM_Haskell
test-suite/programs/unit/or_0x02.asm
Assembly
bsd-3-clause
48
; ; 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...
GoogleChromeLabs/wasm-av1
third_party/aom/aom_dsp/x86/quantize_ssse3_x86_64.asm
Assembly
apache-2.0
13,484
; A PE->TGA labyrinth generator ; TODO: fix large dimensions ; thanks to Gynvael for his TGA suggestion ; Ange Albertini, BSD LICENCE 2013 %include 'PE.inc' IMAGEBASE equ 400000h org IMAGEBASE bits 32 SECTIONALIGN equ 1000h FILEALIGN equ 200h istruc IMAGE_DOS_HEADER at IMAGE_DOS_HEADER.e_magic,...
angea/corkami
misc/laby/laby32.asm
Assembly
bsd-2-clause
6,112
;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// 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/DXMD/InjectableGenericCameraSystem/Interceptor.asm
Assembly
bsd-2-clause
8,570
BITS 64 ; used for setting the address of the playground ; 0xdeadbeefabad1dea is filled by the compiler mov rdx, 0xdeadbeefabad1dea
toastedcornflakes/JIT_brainfuck
asm/set.asm
Assembly
bsd-3-clause
132
# Display.asm # This file implements the Display functions. .globl Display .data tempBox: .space 20 # This is a temp box for drawing .text # Box Struct #################################### # Object Structure # 0-4 The x position # 4-8 The y position # 8-12 The width of the box # 12-16 The height of the bo...
DerPferd/PongMIPS
Display.asm
Assembly
mit
9,216
;------------------------------------------------------------------------- ; Sprite 2 Line Kernel - "Don't let them get you down kid! You got this" ; By Johnny Starr (c) 2104 ;------------------------------------------------------------------------- processor 6502 include "./libs/macro.h"...
johnnystarr/atari-lib
tests/sprites/2LK.asm
Assembly
apache-2.0
6,814
ORG 100 LDA Y CMA INC STA Y CICLE, LDA X ADD Y SPA BUN FINE STA X BSA INCQ LDA X BUN CICLE FINE, LDA X ADD Y SPA BUN CHECK CHECK, SNA BSA ZERO LDA X STA R HLT ZERO, DEC 0 STA R BSA INCQ HLT INCQ, DEC 0 LDA Q INC STA Q BUN INCQ I X, DEC 81 Y, DEC 9 Q, DEC 0 R, DEC 0 END
MircoT/py-pdp8-tk
ESEMPI/Es_DIV.asm
Assembly
mit
273
#define BASE_ADDR_0 0x00000000 // (core 0) #define BASE_ADDR_1 0x02000000 // (core 1) #define BASE_ADDR_2 0x04000000 // (core 2) #define BASE_ADDR_3 0x06000000 // (core 3) #// thread 0 on core 0 #int main() { # # int *localArr = (int *) BASE_ADDR_0; # int *remoteArr1 = (int *) BASE_ADDR_1; # int loop = 0; # # *(loca...
ilebedev/stacktool
tests/emra/PRED_MODE/asm/PR04.asm
Assembly
mit
2,846
[00000] {:noop} [00001] {:noop} [00002] {:out, {:value, 'Welcome to the Synacor Challenge!'}} [00068] {:out_newline, {:value, :newline}} [00070] {:out, {:value, 'Please record your progress by putting codes like'}} [00168] {:out_newline, {:value, :newline}} [00170] {:out, {:value, 'this one into the challenge we...
jwarwick/synacor
decoded.asm
Assembly
mit
676,127
# tests the assembler and not the simulator. mov r0,#0xff mov r1,#0xaa mov r2,#0b110
brgmnn/uob-cpu-simulator
src/instruction-test/hex-immediates.asm
Assembly
mit
88
;===================================================== ;math.asm ;Descrição: Diversos exemplos de operações matemáticas ;Data: 03/04/2012 ; ;Este programa pode ser montado com: ;nasm -f win32 math.asm ; ;Para gerar o executável (testado com o MingW): ;gcc -o math.exe math.obj asm_io.obj driver.c ; ;Dependências: asm_io...
feliposz/learning-stuff
assembly_x86/math.asm
Assembly
mit
1,926
BEGIN: NOW AT 0000:7C00, RELOCATE 0000:7C00 FA CLI disable int's 0000:7C01 33C0 XOR AX,AX set stack seg to 0000 0000:7C03 8ED0 MOV SS,AX 0000:7C05 BC007C MOV SP,7C00 set stack ptr to 7c00 0...
sergev/vak-opensource
utilities/writembr/mbr0.asm
Assembly
apache-2.0
5,103
xor r0,r0,r0 xor r1,r1,r1 xor r2,r2,r2 xor r3,r3,r3 xor r4,r4,r4 xor r5,r5,r5 xor r6,r6,r6 ldl $-1 lsr r0,r7,r0 ldl #main jmp r0,r7,r0 >main ldl $0 and r7,r7,r1 ldl $28 and r7,r7,r2 ldl #drawhex call r0,r7,r0 ldl $5 and r7,r7,r1 ldl #times load r0,r7,r2 ldl $8000 store r0,r7,r1 ldl $8002 store r0,r7,r2 ldl $7 and r7,r7...
mgohde/MiniMicroII
Assembler/hextest.asm
Assembly
bsd-2-clause
1,245
// SSS preview y fix origin 0x14F520 base 0x801339B0 j PreviewYFix constant PreviewYFix_Return(pc() + 4) pullvar pc, origin scope PreviewYFix: { lw t0, 0x02E4 (a0) // Preview y bnezl t0, End // If preview y != 0 swc1 f18, 0x02E4 (a0) // Update preview y End: j PreviewYFix_Return swc1 f18, 0x4C (a0) /...
abitalive/SuperSmashBros
Patches/Multiplayer_Hack/ASM/preview_y_fix.asm
Assembly
mit
365
extern _start_stack section .text global _start _start: xchg bx, bx push esp call _start_stack add esp, 4 mov eax, 1 xor ebx, ebx int 0x80
nxnfufunezn/redox
kernel/program-i386.asm
Assembly
mit
146
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2017 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/igzip/adler32_sse.asm
Assembly
mit
5,234
;Na memorijske lokacije 31h i 32h pohranite brojeve 16h i 2Eh. MOV 31h, #16h MOV 32h, #2Eh ;Kvadrirajte oba broja i zatim zbrojite dobivene kvadrate. MOV A, 31h MOV B, A MUL AB MOV R1, B MOV R0, A MOV A, 32h MOV B, A MUL AB ADD A, R0 ;Više značajne znamenke rezultata pohranite na memorijsku lokaciju 33h, ;a manje ...
frainfreeze/studying
home/Assembly/8051 ASM/14.asm
Assembly
mit
548
<?xml version = '1.0' encoding = 'ISO-8859-1' ?> <asm version="1.0" name="0"> <cp> <constant value="annotatingcode"/> <constant value="links"/> <constant value="NTransientLinkSet;"/> <constant value="col"/> <constant value="J"/> <constant value="enumLiteralType"/> <constant value="VariableSelection"/> ...
valeriocos/jbrex
JBrex/resources/annotatingcode.asm
Assembly
mit
217,421
%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...
guorendong/iridium-browser-ubuntu
third_party/ffmpeg/chromium/config/Chrome/linux/x64/config.asm
Assembly
bsd-3-clause
56,489
{ Game : RainbowSix.exe Version: 1.0 Date : 10-23-16 Author : Brian Coffey Host Only Makes all players & hostage invincible. Also makes Blackbeard's shield invincible. Note 1: enemymem might not be working properly due to patch 5.1. rest still works. Note 2: Uncomment line 60 (enemymem,sub edx,#99) to ...
BC93/Game-Hacking
god_mode.asm
Assembly
mit
2,200
;******************************************************************************** ;* * ;* Miguel Angel Gomez Maquez * ;* 0...
MiguelGomez/labs
Assembly/serial.asm
Assembly
apache-2.0
3,548
; ; kernel/src/tss.asm ; [bits 64] %include "common.inc" global setup_tss [section .text] setup_tss: xor rax, rax mov rdi, TSS_SEG_LOC mov rcx, 0x68 rep stosb mov rax, LOW_HALF_TOP - 4 mov qword [TSS_SEG_LOC + 4], rax mov dword [TSS_SEG_LOC + 0x64], 0x68 mov ax, TSS_SEL | 3 ltr ax ret
sjrct/frosk-current
kernel/src/tss.asm
Assembly
apache-2.0
303
; Generated at 4/14/2019 1:59:47 AM DebugWaitMsg: db 87, 97, 105, 116, 105, 110, 103, 32, 102, 111, 114, 32, 100, 101, 98, 117, 103, 103, 101, 114, 32, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 46, 46, 0 %ifndef Exclude_Memory_Based_Console DebugStub_Const_VidBase equ 753664 DebugStub_Cls: mov ESI, Debu...
CosmosOS/XSharp
playground/Gen1/Screen.asm
Assembly
bsd-3-clause
1,083
; FASTCALL boolean xor 8 version. ; result in Accumulator (0 False, not 0 True) ; __FASTCALL__ version (operands: A, H) ; Performs 32bit xor 32bit and returns the boolean #include once <xor8.asm> __XOR32: ld a, h or l or d or e ld c, a pop hl ; RET address pop de ex (sp), hl ld a...
haroldo-ok/really-old-stuff
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/xor32.asm
Assembly
apache-2.0
378
__MUL16: ; Mutiplies HL with the last value stored into de stack ; Works for both signed and unsigned PROC LOCAL __MUL16LOOP LOCAL __MUL16NOADD ex de, hl pop hl ; Return address ex (sp), hl ; CALLEE caller convention ;;__MUL16_FAST: ; __FASTCALL ENTRY: HL = 1st operand, DE = 2nd Operand ;; ...
haroldo-ok/really-old-stuff
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/mul16.asm
Assembly
apache-2.0
895
; match686.asm -- Asm portion of the optimized longest_match for 32 bits x86 ; Copyright (C) 1995-1996 Jean-loup Gailly, Brian Raiter and Gilles Vollant. ; File written by Gilles Vollant, by converting match686.S from Brian Raiter ; for MASM. This is as assembly version of longest_match ; from Jean-loup Gailly in defl...
xxxxnnxxxx/HttpProxy
附加工程/zlib-1.2.8/contrib/masmx86/match686.asm
Assembly
mit
15,346
; Program 8.2 ; x87 FPU Rounding Control - MASM (64-bit) ; Copyright (c) 2019 Hall & Slonka extrn ExitProcess : proc .data default_cw WORD 0000h nearest WORD 0000h down WORD 0400h up WORD 0800h zero WORD 0C00h result QWORD ? .code _main PROC finit ; initialize FPU fstcw default_cw...
brianrhall/Assembly
Chapter_8/Program 8.2_x87_FPU_RC/x86_64/Program_8.2_MASM.asm
Assembly
mit
1,060
LABEL_PRINT: pushad .LOOP: lodsb ;; [es:si] -> al test al, al je .FINISH mov ah, 0x0e int 0x10 jmp .LOOP .FINISH: popad ret LABEL_SEARCH_FILE: ;; flushFloppy xor ah, ah xor dl, dl int 0x13 ;; Search FILE mov ax, FILE_BASE mov es, ax mov cx, ROOT_SECT...
kelifrisk/justforfun
c/riskel/src/boot/bootfunc.asm
Assembly
mit
2,974
;=============================================================================== ;- Programm: 4x4BitPotenzRechnen ;- ;- Dateinname: 4x4BitPotenzRechnenEinfach.asm ;- Version: 1.0 ;- Autor: Benj Fassbind ;- ;- Verwendungszweck: uP-Schulung ;- ;- Beschreibung: ;- Dieses Programm berechnet die Potenz z...
randombenj/uController
src/Math/4x4BitPotenzRechnen/4x4BitPotenzRechnenEinfach.asm
Assembly
mit
5,929
; ; ASM -- National Computer Camps ; ; === STACK SEGMENT === MyStack segment stack DB 64 dup('12345678') MyStack endS ; === DATA SEGMENT === MyData segment howOldMsg DB "How old are you? ","$" equalAgeMsg DB "You're an Adult .","$" youngerAgeMsg DB "You're a Kid.","$" olderAgeMsg DB "You're a Teenager .","$"...
AAKMakes/ASM-projects
Source/Branch .asm
Assembly
cc0-1.0
1,947
.code addi $a0,$a0,10 test: addi $v0,$zero,20 addi $v1,$zero,3 syscall addi $t0,$zero,10 addi $v0,$zero,10 syscall .data 11 12 13 14 15
MostafaEbrahimi/OnlineCoffeeMIPS-OCM-
ProgramA.asm
Assembly
apache-2.0
135
global _start section .data align 16 quad1: dq 0x70ad80ad7fffffff quad2: dq 0x71ae01ff0f00ffbe quad3: dq 0xf100808080f0ff42 mydword: dd 0xcafebabe myaddress: dq 0x00adbeefc0de00ce %include "header.inc" movq mm0, [quad1] movq mm1, [quad2] movq mm2, [quad3] movq mm3, [quad2] paddusw mm0, [quad2] paddu...
nimdavtanke/www
virt.nimda.pro/tests/nasm/paddusw.asm
Assembly
mit
422
TITLE SecSwitchStacks.asm: Stack switching routine for Winnt emulation. ;------------------------------------------------------------------------------ ; Copyright (c) 2004, Intel Corporation ; All rights reserved. This program and the accompanying mater...
tianocore/edk
Sample/Cpu/WinNtThunk/Sec/Ia32/SecSwitchStacks.asm
Assembly
bsd-3-clause
2,118
fmaddpd xmm1, xmm2, xmm1, xmm3 ; illegal fmaddpd xmm1, xmm2, xmm3, xmm3 ; illegal fmaddpd xmm1, xmm2, xmm2, xmm3 ; illegal fmaddps xmm1, xmm2, xmm1, xmm3 ; illegal fmaddps xmm1, xmm2, xmm3, xmm3 ; illegal fmaddps xmm1, xmm2, xmm2, xmm3 ; illegal fmaddsd xmm1, xmm2, xmm1, xmm3 ; illegal fmaddsd xmm1, xmm2, xmm3...
wangscript/libjingle-1
trunk/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/sse5-err.asm
Assembly
bsd-3-clause
3,800
# THIS FILE MUST GIVEN WITH SUM.ASM .SECTION TEXT .STACK 1 START: MOV R0, 1 MOV R1, 2 CALL SUM LDC R2, STDOUT FWRTQ R5, R2, R0 MOV R0, 0XA FWRTB R5, R2, R0 HALT R31
plankp/RLVM
sample/sum_main.asm
Assembly
mit
176
; ; Copyright (C) 2019 Assured Information Security, Inc. ; ; 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...
connojd/hypervisor
bfintrinsics/src/arch/intel_x64/pause.asm
Assembly
mit
1,192
; -------------------------------------------------------------------- ; ; mu_swapmove_x64.asm ; ; @version 1.0 (June 2007) ; ; This file contains the implementation of the mu method and the ; murk method in x64 assembler. These methods are used to transform ; 4 blocks of data in normal representation into bits...
GaloisInc/hacrypto
src/C/bitsliced_aes/aes_bitsliced/aes_bitsliced/aes_bitsliced/mu_swapmove_x64.asm
Assembly
bsd-3-clause
6,248
#include once <u32tofreg.asm> #include once <ftou32reg.asm> #include once <stackf.asm> ; ------------------------------------------------------------- ; Floating point library using the FP ROM Calculator (ZX 48K) ; All of them uses C EDHL registers as 1st paramter. ; For binary operators, the 2n operator must be push...
haroldo-ok/really-old-stuff
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/xorf.asm
Assembly
apache-2.0
852
.file "example.cpp" .text .Ltext0: .section .text._ZN6NormalD2Ev,"axG",@progbits,_ZN6NormalD5Ev,comdat .align 2 .p2align 4,,15 .weak _ZN6NormalD2Ev .type _ZN6NormalD2Ev, @function _ZN6NormalD2Ev: .LFB6: .file 1 "/tmp/compiler-explorer-compiler...
mattgodbolt/compiler-explorer
test/demangle-cases/bug-713.asm
Assembly
bsd-2-clause
27,720
;Testname=avx512f; Arguments=-fbin -oavx512f.bin -O0 -DSRC; Files=stdout stderr avx512f.bin ; AVX-512F testcases from gas ;------------------------ ; ; This file is taken from there ; https://gnu.googlesource.com/binutils/+/master/gas/testsuite/gas/i386/x86-64-avx512f-intel.d ; So the original author is "H.J. Lu" <...
techkey/nasm
travis/test/avx512f.asm
Assembly
bsd-2-clause
1,047,221
;; 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
zenos-os/zenos
vendor/corert/src/Native/Runtime/amd64/GetThread.asm
Assembly
mit
743
;======================================= ; ; MSU-1 Enhanced Audio Patch ; Zelda no Densetsu - Kamigami no Triforce ; Modified for VT Randomizer ; ; Author: qwertymodo ; ; Free space used: 0x77DDD-0x77F8A ; ;======================================= !REG_MSU_STATUS = $2000 !REG_MSU_ID_0 = $2002 !REG_MSU_ID_1 = $2003 !RE...
mmxbass/z3randomizer
msu.asm
Assembly
mit
5,364
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-rets.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC __$ArrayPad$ PUBLIC _func EXTRN __imp__printf:PROC EXTRN __imp__...
Dovgalyuk/AntiTaint
Epilog/asm/MSVC2010/func-rets-stackp.asm
Assembly
apache-2.0
4,200
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/SO1H/asm/manej_0b.asm
Assembly
bsd-2-clause
25,495
.org 0x2000 SBI 0x04, 0 ;DDR4 - 0x04 SBI 0x04, 1 SBI 0x05, 0 ;PORTB - 0x05
andresarmento/avrsim
avrsh/bin/Release/test7.asm
Assembly
bsd-3-clause
86
; Copyright © 2021, VideoLAN and dav1d authors ; Copyright © 2021, Two Orioles, LLC ; 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 the above copy...
videolan/dav1d
src/x86/ipred16_sse.asm
Assembly
bsd-2-clause
60,966
#ת·¢²âÊÔÎļþ #×÷ÕßÄÜÁ¦²»×ãÖ®´¦£¬¶à¶àÖ¸½Ì #ÏîËþÀ¼×÷£¬ÈçÓÐÎÊÌ⣬ÇëÖÂÐÅqianlxc@126.com lui $a0,0xffff ori $a1,$0,0x0004 ori $a2,$0,0x3014 ori $s0,$0,0xaabb lui $s1,0xccdd ori $s2,156 jal fR_Jr_Rs nop jal fR_B_Rs beqreturn1:nop jal fR_R_Rs nop jal fR_I_Rs nop jal fR_L_Rs nop jal fR_MD_Rs #MD=mult div nop jal fR_MT_Rs nop ...
fzyz999/5-stage-MIPS
P6_test/HardP6/P6_HardTest.asm
Assembly
mit
10,469
;extern function extern cstart extern exception_handler extern spurious_irq extern mainC extern disp_str extern delay extern clock_handler ;extern variable extern dwDispPos extern gdt_ptr extern idt_ptr extern p_proc_ready extern tss extern k_reenter extern irq_table extern sys_call_table...
RongbinZhuang/simpleOS
ver0/4_osInOrder/2_inOut/kernel/asm/kernel.asm
Assembly
mit
5,271