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 |
|---|---|---|---|---|---|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2009-2011. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ... | devlato/kolibrios-llvm | kernel/trunk/drivers/apm.asm | Assembly | mit | 7,197 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... | flandr/minio | pkg/erasure/gf_5vect_dot_prod_avx.asm | Assembly | apache-2.0 | 9,170 |
/*
* 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... | uartie/vaapi-intel-driver | src/shaders/post_processing/gen5_6/Common/PL8x8_PL8x4.asm | Assembly | mit | 2,708 |
; 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/EnableInterrupts.asm | Assembly | apache-2.0 | 1,206 |
%macro import 1
%defstr %%incfile %!PROJECTBASEDIR/%{1}.inc
%defstr %%decfile %!'PROJECTBASEDIR'/%{1}.dec
db %%incfile, `\n`
db %%decfile, `\n`
%endmacro
%ifenv PROJECTBASEDIR
import foo
%else
%warning No PROJECTBASEDIR defined
%endif
%ifenv %!PROJECTBASEDIR
import foo
%else
%warning No PROJECTBASEDIR defined
%en... | endlessm/chromium-browser | third_party/nasm/test/ifenv.asm | Assembly | bsd-3-clause | 495 |
;//###########################################################################
;//
;// FILE: F2837xD_CodeStartBranch.asm
;//
;// TITLE: Branch for redirecting code execution after boot.
;//
;// For these examples, code_start is the first code that is executed after
;// exiting the boot ROM code.
;//
;// The codesta... | pohsu/MIT-Pico-Grid | Software/_DEMO0/2. Inverter_Controller/Inverter_RS485_CPU2/F2837xD_common/source/F2837xD_CodeStartBranch.asm | Assembly | mit | 3,233 |
;; (c) Copyright Kevin Thacker 2015-2016
;; This code is part of the Arnold emulator distribution.
;; This code is free to distribute without modification
;; this copyright header must be retained.
org &4000
scr_set_mode equ &bc0e
txt_output equ &bb5a
scr_set_border equ &bc38
km_wait_char equ &bb06
start:
ld a,2
cal... | floooh/yakc | misc/cpcacid_src/cpcacid_modetrig.asm | Assembly | mit | 5,957 |
data
even
banner:
dc.l .v1, .v2, .v3
.v1: dc.b $82,$00,$37,$08,$00,$02,$26,$00,$02
dc.b $37,$18,$34,$08,$30,$20,$34,$20,$37,$20,$3c,$40,$40,$18,$3e,$08
dc.b $3c,$20,$34,$20,$36,$20,$37,$40,$37,$10,$37,$10,$40,$30,$3e,$10
dc.b $3c,$20,$3b,$40,$39,$18,$3b,$08,$3c,$20,$3c,$20,$37,$20,$34,$20
dc.b $30,$20,$37,$18,... | michaelcmartin/bumbershoot | atari_st/banner.asm | Assembly | mit | 2,817 |
;/**
; uart2 - yes
; ïîõîæå ñîäåðæèò êîä îáñëóæèâàíèÿ îáìåíà äàííûìè ñ ÏÊ (COMPuter)
; âûçûâàåòñÿ íà÷àëî ïåðåäà÷è. îòïðàâêà, è âûêëþ÷åíèå ïåðåäà÷è
; ? ãäå àäðåñà áóôôåðîâ äëÿ ÷òåíèÿ è çàïèñè
; _COMP - ïðèçíàê ðàçìåùåíèÿ â ýòîì ôàéëå
;*/
;!FAIL
;// ñîõðàíÿòñÿ íå âûõîäèò, ãäå-òî âîçìîæíî
;// æåñòêî çàäàíû àäðåñà ìåæ... | zaqwes8811/micro-apps | matlab_ext/code-miners/projects/prepro/test-data/cb/_v3_COMP.asm | Assembly | mit | 12,912 |
;
; jdsample.asm - upsampling (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice i... | endlessm/chromium-browser | third_party/libjpeg_turbo/simd/x86_64/jdsample-sse2.asm | Assembly | bsd-3-clause | 23,461 |
/*
* 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... | 01org/intel-hybrid-driver | src/shaders/utils/end_thread.asm | Assembly | mit | 1,428 |
org 0x0100
%define PAGE_PRESENT (1 << 0)
%define PAGE_WRITE (1 << 1)
%include "descriptor.asm"
[SECTION .gdt]
GDT:
.NULL: equ $-GDT
UserDescriptor 0, 0
.CODE: equ $-GDT
UserDescriptor 0, DA_USER_CODE | DA_USER_P | DA_USER_CODE_L
.DATA: equ $-GDT
UserDescriptor 0, DA_U... | kelifrisk/justforfun | c/riskel/src/boot/kernel.asm | Assembly | mit | 4,803 |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.0.0 #6037 (Oct 31 2010) (MINGW32)
; This file was generated Mon Dec 10 17:37:56 2012
;--------------------------------------------------------
.module test_acc
.optsdcc -mmcs51 --model... | HamboLagos/vibes_lab | src/test_acc/test_acc.asm | Assembly | mit | 29,625 |
INCLUDE "macros.asm"
INCLUDE "constants.asm"
INCLUDE "battle/battle_engine.asm"
| ISSOtm/Aevilia-GB | battle.asm | Assembly | apache-2.0 | 89 |
Map_66B4E: dc.w word_66B50-Map_66B4E
word_66B50: dc.w 4
dc.b $E0, $F, 0, 0, $FF, $E0
dc.b $E0, $F, 0, $10, 0, 0
dc.b 0, $F, $18, $10, $FF, $E0
dc.b 0, $F, $18, 0, 0, 0
| TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/Levels/LRZ/Misc Object Data/Map - Knuckles Boulder.asm | Assembly | apache-2.0 | 200 |
; 64b shellcode
; original code by Bill McDermott http://mcdermottcybersecurity.com/articles/windows-x64-shellcode
; nasm port by Ange Albertini
bits 64
; code starts here *********************************************************************************
sub rsp, 28h ;reserve stack space for ca... | angea/corkami | misc/ports/mcdermott64.asm | Assembly | bsd-2-clause | 7,255 |
.ORIG x1234
ADD R1, R3, R3
ADD R1, R3, R3
ADD R1, R3, R3
ADD R1, R3, R3
JSRR R6
ADD R1, R3, R3
ADD R1, R3, R3
ADD R1, R3, R3
ADD R1, R3, R3
.END
| Zaydax/PipelineProcessor | lab3_test_harness/test/state_data_in/27.asm | Assembly | mit | 145 |
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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.
In addition to t... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/config/h8300/crti.asm | Assembly | bsd-3-clause | 2,105 |
.ORIG x3000
LEA R3, TARGET
LDW R3, R3, #0
AND R0, R0, #0
LEA R1, VALUE
LDW R2, R1, #0
BRnz ERROR
ADD R0, R0, #15
LOOP ADD R0, R0, #-1
LSHF R2, R2, #1
BRp LOOP
BRnzp DONE
ERROR ADD R0, R0, #-1
DONE STB R0, R3, #0
HALT
VALUE .FILL xFABC
TARGET .FILL x1234
.END | Zaydax/PipelineProcessor | lab3_test_harness/test/state_data_in/log2e.asm | Assembly | mit | 291 |
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 4/cuadradon.X/maincodemon.asm | Assembly | cc0-1.0 | 1,279 |
/* stuff needed for libgcc on win32.
*
* Copyright (C) 1996, 1998, 2001, 2003 Free Software Foundation, Inc.
* Written By Steve Chamberlain
*
* 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 Foundat... | avaitla/Haskell-to-C---Bridge | gccxml/GCC/gcc/config/i386/cygwin.asm | Assembly | bsd-3-clause | 2,978 |
;---------------------------------------
; CLi² (Command Line Interface) fonts
; 2015,2016 © breeze/fishbone crew
;---------------------------------------
MODULE light_fnt
org #C000
sFont db #7f,"FNT" ; #7f+"FNT" - 4 байта сигнатура, что это формат файла FNT
db #02 ; 1 байт версия формата
d... | LessNick/cli2 | src/res/fonts/8x8/light.fnt.asm | Assembly | bsd-3-clause | 2,936 |
; Creating PligIns for DiE MASM by kosfiz
.386
.model flat,stdcall
option casemap:none
include ..\include\windows.inc
include ..\include\kernel32.inc
include ..\include\user32.inc
includelib ..\lib\kernel32.lib
includelib ..\lib\user32.lib
.data
PlugName db "Example Plugin(Masm)",0
infostr db "Example Plugin For Di... | alcherk/old-DIE | Plugins PDK/PDK/Masm/DiEPlug.asm | Assembly | bsd-2-clause | 1,699 |
;SKIN (.SKN) - COMPILE WITH FASM
include 'me_skin.inc'
SKIN_PARAMS \
height = bmp_base.height,\ ; skin height
margins = [5:1:45:1],\ ; margins [left:top:right:bottom]
colors active = [binner=0x101010:\ ; border inner color
bouter=0x101010:\ ; border out... | devlato/kolibrios-llvm | skins/humanoid_OSX/humanoid_OSX_yellow/default.asm | Assembly | mit | 1,218 |
/* Special support for trampolines
*
* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
* Written By Michael Meissner
*
* 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; eit... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/config/rs6000/tramp.asm | Assembly | bsd-3-clause | 3,429 |
.public main
.data
a: .word 0x12345678
.text
main:
ldch r1, 0
ldcl r1, 0
add r1, 0x1234
sub r1, 0x1230
call r4, 0
add r1, 345
halt
.bss
aa: .skip 4
bb: .skip 2
.align | znjRoLS/ss | assembly_tests/testBss.asm | Assembly | mit | 210 |
.include "m328Pdef.inc"
;.org 0x0080
.org 0x0000
_blinks:
call _clear
call _real_code
ret
_real_code:
ldi r23, 0xa
add r24, r23
ret
_clear:
clr r1
clr r25
ret
| daltonmatos/avrgcc-mixed-with-avrasm2 | experiments/blink_call.asm | Assembly | bsd-3-clause | 184 |
; Defined in isr.c
[extern isr_handler]
[extern irq_handler]
; Common ISR code
isr_common_stub:
; 1. Save CPU state
pusha ; Pushes edi,esi,ebp,esp,ebx,edx,ecx,eax
mov ax, ds ; Lower 16-bits of eax = ds.
push eax ; save the data segment descriptor
mov ax, 0x10 ; kernel data segment descriptor
mov ds, ax
mov ... | geekskool/WriteYourOwnOS | src/backupJames/TextEditor/cpu/interrupt.asm | Assembly | mit | 6,117 |
; name: JMP to address from memory. Jmp definition does not have dst, but only src.
; code: "FF20FF26FF00FFA443FF000000FF25FF00000067FFA443FF000000FF2425FF000000"
[bits 16]
jmp [bx+si]
jmp [0xff]
[bits 32]
jmp [eax*2+ebx+0xff]
jmp [0xff]
[bits 64]
jmp [eax*2+ebx+0xff]
jmp [0xff]
| tpisto/pasm | tests/012_JMP_to_address_from_memory__Jmp_definition_does_not_have_dst__but_only_src.asm | Assembly | mit | 281 |
; *******************************************************************
; Lesson 10 - Interrupts and Pull-ups
;
; This lesson will introduce interrupts and how they are useful. It will
; also introduce internal weak pull-ups that are available on most PICs.
;
; It should be noted that this lesson is more efficent than th... | Classrooms/Microcontrollers | PIC16/assy/interrupt.asm | Assembly | mit | 7,832 |
// Try and create two Data blocks that overlap each other
define MEMORY_MAP = LOROM
define ROM_SIZE = 1
include "../../../src/common/memory.inc"
createDataBlock(rom0, 0x808000, 0x80ffaf)
createDataBlock(rom1, 0x81c000, 0x81ffff)
createDataBlock(rom2, 0x818000, 0x81cfff) // ERROR
createDataBlock(rom3, 0x820000, ... | undisbeliever/untech-engine | unit_tests/static-tests/common/memory.overlapromblock2.error.asm | Assembly | mit | 331 |
SECTION "graphics", ROMX[$4000], BANK[1]
db $00, $18, $24, $24, $24, $24, $18, $00
db $00, $18, $38, $18, $18, $18, $3C, $00
db $00, $38, $44, $04, $08, $10, $3C, $00
db $00, $18, $24, $04, $38, $04, $38, $00
db $00, $24, $24, $24, $3C, $04, $04, $00
db $00, $3C, $20, $20, $3C, $04, $3C, $00
db $00, $1C, $20, $20, $3... | gerikkub/gameboycart | roms/mbc_test/mbc_test.asm | Assembly | apache-2.0 | 3,401 |
%include 'head.inc'
EntryPoint:
push handler
push dword [fs:0]
mov [fs:0], esp
_
mov eax, 'hXMV'
mov ecx, 10
mov dx, 'XV'
in eax, dx
_
push 42
call [__imp__ExitProcess]
_c
handler:
push Msg
call [__imp__printf]
add esp, 1 * 4
_
push 0
call ... | angea/corkami | wip/Exceptions/trig_privinsvmw.asm | Assembly | bsd-2-clause | 459 |
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/welt1_luca1.asm | Assembly | mit | 36,684 |
;
; jidctred.asm - reduced-size 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 should be assembled... | endlessm/chromium-browser | third_party/angle/third_party/glmark2/src/src/libjpeg-turbo/simd/jidctred-mmx.asm | Assembly | bsd-3-clause | 27,762 |
title 'Master Network I/F Module'
page 54
;***************************************************************
;***************************************************************
;** **
;** S e r v e r N e t w o r k I / F M o d u l e **
;** ... | samplx/z80pack | cpmsim/srcmpm/netwrkif-2.asm | Assembly | mit | 22,034 |
gdt_start:
gdt_null: ; the mandatory null descriptor
dd 0x0
dd 0x0
gdt_code: ; the code segment descriptor
; base =0x0 , limit =0xff00 ,
; 1st flags : ( present )1 ( privilege )00 ( descriptor type )1 -> 1001 b
; type flags : ( code )1 ( conforming )0 ( readable )1 ( accessed )0 -> 1010 b
; 2nd flags : ( granularity )0... | DanielEliad/os | boot/16bit/pm/gdt.asm | Assembly | mit | 1,738 |
; Copyright © 2020, VideoLAN and dav1d authors
; Copyright © 2020, 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... | endlessm/chromium-browser | third_party/dav1d/libdav1d/src/x86/cdef_avx512.asm | Assembly | bsd-3-clause | 31,900 |
;*!
;* \copy
;* Copyright (c) 2009-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... | endlessm/chromium-browser | third_party/openh264/src/codec/decoder/core/x86/intra_pred.asm | Assembly | bsd-3-clause | 42,874 |
; DFS/ADFS Disk op routines
; helpful for streaming, faster loading to SWR etc.
; http://chrisacorns.computinghistory.org.uk/docs/Acorn/Manuals/Acorn_DiscSystemUGI2.pdf
; Our SWR loader is 60% faster than *SRLOAD
DISKSYS_DEBUG = FALSE
DISKSYS_CATALOG_ADDR = SCRATCH_RAM_ADDR
DISKSYS_BUFFER_ADDR = DISKSYS_CATALOG_ADDR+5... | bitshifters/teletextr | lib/disksys.asm | Assembly | mit | 11,426 |
XOR E, E
MOV E, 00000001b
SUB D, E
| KPU-RISC/KPU | Assembler/AssemblyCode/TTL/SUB1.asm | Assembly | mit | 36 |
global _show_cursor
_show_cursor:
push bp
mov bp, sp
call os_show_cursor
pop bp
ret
| I8087/mlib | src/show_cursor.asm | Assembly | bsd-2-clause | 107 |
//-------------------------------------------------------
// Exemples décrivant la syntaxe de l'assembleur
//-------------------------------------------------------
// Un programme comporte deux sections (texte et données)
// qui doivent toujours être dans cet ordre. La taille
// de la section ... | ttben/ProjetCS6 | code/Examples/syntax.asm | Assembly | cc0-1.0 | 3,774 |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; klib.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++... | RongbinZhuang/simpleOS | ver0/reference/chapter5/g/lib/kliba.asm | Assembly | mit | 996 |
/*
* 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... | 01org/iotg-lin-gfx-va-driver | src/shaders/h264/ildb/AVC_ILDB_Dep_Check.asm | Assembly | mit | 8,901 |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, 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. Th... | tenpoku1000/UEFI_SecureBoot | src/lib/external/BSD/UDK/MdePkg/Library/BaseLib/X64/ReadEs.asm | Assembly | mit | 1,024 |
;
; Third sample source program
; Count the occurrences of a character in a file (in public domain)
;
; Initialization
.ORIG x1000
AND R2, R2, #0
LD R3, PTR
GETC
LDR R1, R3, #0
; Test character for end of file
TEST ADD R4, R1, #-4 ; EOT is x04
... | pegurnee/2015-01-341 | projects/project2_lc3_symbol_table_python/p3.asm | Assembly | mit | 819 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Copyright (C) KolibriOS team 2004-2013. All rights reserved.
;; PROGRAMMING:
;; Ivan Poddubny
;; Marat Zakiyanov (Mario79)
;; VaStaNi
;; Trans
;; Mihail Semenyako (mike.dld)
;; Sergey Kuzmin (Wildwest)
;; Andrey Halyavin (halyavin)
;; Mihail ... | devlato/kolibrios-llvm | kernel/branches/Kolibri-A/trunk/kernel.asm | Assembly | mit | 83,829 |
;; calculate
;; Calculates oldNumber (operator) newNumber
;; Stores the result in newNumber and clears the operator
;; Inputs:
calculate:
push af
push hl
kld(a, (operator))
cp 0
kjp(z, .noOP)
cp 1
kjp(z, .add)
cp 2
kjp(z, .sub)
cp 3
kjp(z... | boos1993/progcalc | calculate.asm | Assembly | mit | 8,728 |
; *********************************************************
; DankOS BOOTLOADER: Loads KERNEL.SYS at 9000:0100
; *********************************************************
org 0x7C00 ; BIOS loads us here (0000:7C00)
bits 16 ; 16-bit real mode code
jmp short code_start ; Jump to the start of the code
... | CHAD2430/DankOS-1 | bootloader/bootloader.asm | Assembly | bsd-2-clause | 2,232 |
/*
* Femto OS v 0.92 - Copyright (C) 2008-2010 Ruud Vlaming
*
* This file is part of the Femto OS distribution.
*
* This program 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, version 3 of the License.... | andyOsaft/02_SourceCode | femtoOs_binaries/FemtoOS_0.92/MainCode/femtoos_devices/femtoos_ATtiny261.asm | Assembly | mit | 7,076 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2009-2011. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ... | devlato/kolibrios-llvm | kernel/trunk/core/test_malloc.asm | Assembly | mit | 5,788 |
; This file is a part of the IncludeOS unikernel - www.includeos.org
;
; Copyright 2015 Oslo and Akershus University College of Applied Sciences
; and Alfred Bratterud
;
; 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 ... | AndreasAakesson/IncludeOS | src/arch/x86_64/interrupts.asm | Assembly | apache-2.0 | 2,165 |
# Test operators - regular function calls
# assemble a small program
.ORG 020
# mark stack to call function 1
MKS
# push three parameters
LITC 0222
LITC 0444
LITC 0456
# call function 1
OPDC 040
# accidentially call function 3
OPDC 042
LOR
# stop
ZPI
# program descriptor for functions
.ORG 040
.WORD 075000... | stacklover/b5500emulator | testing/subtest2.asm | Assembly | mit | 1,574 |
# a ball that bounces around the edged of the screen
jmp .loop
.loop
jsr .moveball
jsr .delay
jmp .loop
# moves the ball position, bounces on collision
.moveball
# TODO
.jmr
# TODO delay clock so game loop isnt too fast
.delay
.jmr | tyleregeto/8bit-emulator | src/programs/bouncing_ball.asm | Assembly | mit | 242 |
;
; 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... | allwinner-ics/platform_external_libvpx | vp8/common/arm/neon/mbloopfilter_neon.asm | Assembly | bsd-3-clause | 17,782 |
{ 'abc_class': 'AbcFile'
, 'minor_version': 16
, 'major_version': 46
, 'int_pool': [ undefined ]
, 'uint_pool': [ undefined ]
, 'double_pool': [ undefined ]
, 'utf8_pool': [ undefined
, ''
, 'Object'
, 'Array'
, 'RegExp'
, 'A'
, ... | greyhavens/thane | tamarin-central/esc/test/sanity/tests/switchType.es.asm | Assembly | bsd-2-clause | 11,908 |
;
; jcclrmmx.asm - colorspace conversion (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 should be assem... | wangscript/libjingle-1 | trunk/third_party/libjpeg_turbo/simd/jcclrmmx.asm | Assembly | bsd-3-clause | 13,129 |
; noise fx
; some test junk functions
.random
{
lda random_seed
beq doEor
asl a
beq noEor ;if the input was $80, skip the EOR
bcc noEor
.doEor
eor #&1d
.noEor
sta random_seed
rts
}
.random_seed EQUB 59
.random_seed2 EQUB 59
.fx_noise_update
{
lda random_seed2
sta ra... | bitshifters/teletextr | src/fx/noise.asm | Assembly | mit | 1,840 |
{ Game : RainbowSix.exe
Version: 1.0
Date : 11-22-16
Author : Brian Coffey
New Injection Point = "RainbowSix.exe"+EA1E13
Script for No Recoil.
Status: Working 11/22
}
[ENABLE]
aobscanmodule(INJECT_No_Recoil,"RainbowSix.exe"+EA1E13,F3 0F 10 4B 70 44)
alloc(newmem_no_recoil,2048,"RainbowSix.exe"+EA1... | BC93/Game-Hacking | No_Recoil_Version_2.asm | Assembly | mit | 5,268 |
segment .text
global _cpuid_impl
_cpuid_impl:
push ebx
push esi
mov esi, [esp+12]
mov eax, [esp+16]
mov ecx, [esp+20]
cpuid
mov [esi], eax
mov [esi+4], ebx
mov [esi+8], ecx
mov [esi+12], edx
pop esi
pop ebx
ret
| sttr00/crypto | cpuid/cpuid_impl.asm | Assembly | bsd-2-clause | 247 |
; all of these should fail on i8080
add iy,bc ; #FD09
add iy,de ; #FD19
ld iy,#100 ; #FD210001
ld (#100),iy ; #FD220001
inc iy ; #FD23
inc iyh ; #FD24
dec iyh ; #FD25
ld iyh,0 ; #FD2600
add ... | z00m128/sjasmplus | tests/i8080/op_IY_FD.asm | Assembly | bsd-3-clause | 2,842 |
include mdef.inc
modstart cosf
xdefp _cosf
_cosf proc
fcos
fnstsw ax
test eax, 0x400
jnz L1
ret
L1: fldpi
fadd st,st
fxch st(1)
L2:
fprem1
fnstsw ax
test eax,0x... | devlato/kolibrios-llvm | programs/develop/open watcom/trunk/clib/math/cosf.asm | Assembly | mit | 447 |
bits 64
pextrw rax,xmm0,0
| endlessm/chromium-browser | third_party/nasm/test/pextrw.asm | Assembly | bsd-3-clause | 29 |
;******************************************************************************
;* x86-SIMD-optimized IDCT for prores
;* this is identical to "simple" IDCT written by Michael Niedermayer
;* except for the clip range
;*
;* Copyright (c) 2011 Ronald S. Bultje <rsbultje@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* ... | leighpauls/k2cro4 | third_party/ffmpeg/libavcodec/x86/proresdsp.asm | Assembly | bsd-3-clause | 10,085 |
/***************************************************************/
/* */
/* PROJECT NAME : RTOSDemo */
/* FILE : reset_program.asm */
/* DESCRIPTION : Reset Program ... | openthread/ot-rtos | third_party/freertos/repo/FreeRTOS/Demo/RX700_RX71M_RSK_GCC_e2studio_IAR/src/Renesas_Source/reset_program.asm | Assembly | bsd-3-clause | 5,325 |
;Koristeći indirektno adresiranje preko registra R0, na adresu 20h upišite vrijednost 1Eh.
;Uvećajte podatak u registru R0 za 1. Koristeći indirektno adresiranje, na lokaciju čija je adresa upisana
;u R0 upišite vrijednost 1Fh.
MOV R0, #20h
MOV @R0, #1Eh
INC R0
MOV @R0, #1Fh
END
| frainfreeze/studying | home/Assembly/8051 ASM/19.asm | Assembly | mit | 286 |
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; FUNCTION NAME: qr_decomposition
; FUNCTION DOCUMENTATION: <See doc/description file>
;
; ... | nikAizuddin/lib80386 | src/matrix/qr_decomposition/src/qr_decomposition.asm | Assembly | mit | 8,083 |
;***************************************************************************
; PROGRAM: MEMMap
; PURPOSE: Memory Map
; ASSEMBLER: TASM 3.2
; LICENCE: The MIT Licence
; AUTHOR : MCook
; CREATE DATE : 26 June 15
;***************************************************************************
RO... | MatthewWCook/Z80Project | Z80 8bit CF Card Part 1/Code/MEMMap.asm | Assembly | mit | 589 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 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:
;
; * Redistribu... | lukego/intel-ipsec | code/avx/mb_mgr_hmac_sha_256_submit_avx.asm | Assembly | bsd-3-clause | 10,771 |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha512_block_data_order
ALIGN 16
sha512_block_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha512_block_data_order:
mov rdi,rcx
mov rsi,rdx
... | youtube/cobalt | third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm | Assembly | bsd-3-clause | 62,797 |
;*****************************************************************************
;* pixel-32.asm: h264 encoder library
;*****************************************************************************
;* Copyright (C) 2003-2008 x264 project
;*
;* Authors: Laurent Aimar <fenrir@via.ecp.fr>
;* Loren Merritt <lorenm@u... | bamos/parsec-benchmark | pkgs/apps/x264/src/common/x86/pixel-32.asm | Assembly | bsd-3-clause | 10,317 |
; 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_Fas... | swgillespie/coreclr | src/vm/amd64/JitHelpers_Fast.asm | Assembly | mit | 30,304 |
.686p
.mmx
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
comparezero proc ptrA:DWORD
push eax
push esi
mov esi, dword ptr [esp+4+8]
mov eax, dword ptr [esi ]
or eax, dword ptr [esi+ 4]
or eax, dword ptr [esi+ 8]
or eax, dword ptr [esi+12]
test eax, eax
pop esi
... | FloydZ/Crypto-Hash | ecdsa128/src/GFp_src/src/comparezero.asm | Assembly | mit | 358 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Copyright (C) KolibriOS team 2004-2013. All rights reserved.
;; PROGRAMMING:
;; Ivan Poddubny
;; Marat Zakiyanov (Mario79)
;; VaStaNi
;; Trans
;; Mihail Semenyako (mike.dld)
;; Sergey Kuzmin (Wildwest)
;; Andrey Halyavin (halyavin)
;; Mihail ... | devlato/kolibrios-llvm | kernel/trunk/kernel.asm | Assembly | mit | 159,131 |
.mmx
.xmm
.data?
CMWCBuffer dd 4096 dup (?)
.data
CMWCi dd 4095
CMWCc dd 362436
CPHI dd 9e3779b9h
.code
CMWCInit proc uses ecx ebx eax esi x:Dword
mov edx, x
mov MWCc, edx
mov ebx, offset CMWCBuffer
xor ecx, ecx
mov eax, CPHI
mov [ebx + 4 * ecx], edx
add eax, edx
add ecx, 1
mov [ebx + 4 * ecx], e... | FloydZ/Crypto-Hash | Generators/CMWC.asm | Assembly | mit | 953 |
;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
; ==++==
;
;
; ==--==
include <AsmMacros.inc>
include AsmConstants.inc
SHF_GETMETHODFRAMEVPTR equ ?GetMethodFrameVPtr@StubHelperFrame@@SA_KXZ
exte... | Priya91/coreclr | src/vm/amd64/InstantiatingStub.asm | Assembly | mit | 4,335 |
; file names?
;
;==============================================================================
; VBP -- a virtual bass player
; By SirPython of Code Review and GitHub
;
; 12_bar_blues.asm
;==============================================================================
org 100h
jmp start
%include "mem.asm"
start:
c... | SirPython/VBP | 12_bar_blues.asm | Assembly | mit | 473 |
; Virtual-3D library, version 1.0
;
; MIT License
;
; Copyright (c) 2017 - 2021 TheMachine02
;
; 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 limitat... | TheMachine02/Virtual3D | lib/math.asm | Assembly | mit | 6,699 |
;Este es un comentario, esta es una plantilla
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Llamo a la librería de nombre de los regs
#include "LCD_LIB.asm"
;Zona de los bits de configuración (falta)
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT... | tocache/picomones | UPC Microcontroladores 2018-2/Semana 06/20182_lcdhelloworld.X/ciruela.asm | Assembly | cc0-1.0 | 1,780 |
%include "x86inc.asm"
global zero_to_32
global zero_to_32_1
global angle_ap
global eight_16
global left_top_pshuffb_0_15
global pshuffb_reverse
global pshuffb_reverse_4
global pshuffb_reverse_8
global pshuffw_zero
SECTION .rodata align=16
zero_to_32 DW 0, 0, 0, 0, 0, 0, 0, 0
DW 1, 1, 1, 1,... | Rodeo314/Gitl265 | common/x86/intra_pred_x86-a.asm | Assembly | apache-2.0 | 13,135 |
; 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)
;Sort Priorities: X char, Char line, Y char
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: No
barbaro_gira:
DE... | fjpena/sword-of-ianna-zx | artwork/barbaro_gira.asm | Assembly | apache-2.0 | 772 |
.MODEL SMALL
.286
.STACK 100H
COD SEGMENT PARA
ASSUME CS:COD,DS:DAT,SS:STACK
BPB EQU 11
AT EQU PUT_CURSOR
DATS EQU CS:[DATSEG]
BOOTS EQU CS:[BOOTSEG]
FATS EQU CS:[FATSEG]
ROOTS EQU CS:[ROOTSEG]
BUFS EQU CS:[BUFSEG]
BUF1S EQU CS:[BUF1SEG]
CLUSS EQU CS:[CLUSSEG]
FAT EQU BOOT+512/16
ROOT EQU FAT
BUF EQU FA... | majioa/defrag | defrag.asm | Assembly | mit | 15,195 |
;*****************************************************************************
;* Copyright (C) 2013-2017 MulticoreWare, Inc
;*
;* Authors: Min Chen <chenm003@163.com>
;* Nabajit Deka <nabajit@multicorewareinc.com>
;* Praveen Kumar Tiwari <praveen@multicorewareinc.com>
;*
;* This program is free softw... | ninetian/ffmpeginstaller | x265/source/common/x86/v4-ipfilter8.asm | Assembly | apache-2.0 | 370,952 |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG5155 DB '%d %d %d %d %s', 0aH, 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC printf
PUBLIC func
PUBLIC main
EXTRN __... | Dovgalyuk/AntiTaint | Epilog/asm/MSVC2015-64/func-iparam-stdcall-omitfp-stackp.asm | Assembly | apache-2.0 | 5,436 |
; Z80 test - the full version.
;
; Copyright (C) 2012 Patrik Rak (patrik@raxoft.cz)
;
; This source code is released under the MIT license, see included license.txt.
macro testname
db "full"
endm
maskflags equ 0
onlyflags equ 0
postccf equ ... | jbert/zog | z80test-1.0/src/z80full.asm | Assembly | mit | 396 |
;; NOTE: To allow the use of this file for both ARMv6M and ARMv7M,
;; we will only use 16-bit Thumb intructions.
.extern _lc_ub_stack ; usr/sys mode stack pointer
.extern _lc_ue_stack ; symbol required by debugger
.extern _lc_ub_table ; ROM to R... | shengwen1997/write_os | src/lib/CMSIS/ST/STM32F4xx/Source/Templates/TASKING/cstart_thumb2.asm | Assembly | mit | 3,808 |
;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
; ==++==
;
;
; ==--==
; ***********************************************************************
; File: JIThelp.asm
;
; ******************************************... | kangaroo/coreclr | src/vm/i386/jithelp.asm | Assembly | mit | 88,930 |
;
; Copyright (c) 2014 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/x86/vpx_subpixel_bilinear_sse2.asm | Assembly | bsd-3-clause | 10,159 |
# 'nop' test case code
# modifying this code with cause tests to fail!
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
halt
| brgmnn/uob-cpu-simulator | src/instruction-test/nop.asm | Assembly | mit | 283 |
;http://kipirvine.com/asm/gettingStartedVS2013/index.htm
; AddTwo.asm - adds two 32-bit integers.
; Chapter 3 example
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.code
main proc
mov eax,5
add eax,6
;invoke ExitProcess,0
main endp
end main
| carlosvilela/Funcoes-Diversas | Assembly/Estrutura_Basica.asm | Assembly | mit | 281 |
;;
;; MBR for TinyFDISK
;;
;; Copyright (c) 1998-2013, MEG-OS project
;; 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 above copyright not... | neri/osz | src/tfdisk/tfmbr.asm | Assembly | bsd-2-clause | 2,584 |
/*
* Decode Intra_16x16 macroblock
* 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.
*
*/
// Kernel name: Intra_16... | halleyzhao/libva-intel-driver-fdo | src/shaders/h264/mc/Intra_16x16.asm | Assembly | mit | 1,576 |
%macro test 1-3 5 -2
bits %1
%undef MEM
%if %1 == 16
%define MEM [di]
%elif %1 == 32
%define MEM [edi]
%elif %1 == 64
%define MEM [rdi]
%endif
imul al
imul byte MEM
imul ax
imul word MEM
imul eax
imul dword MEM
%if %1 == 64
imul rdx
imul qword MEM
%endif
imul ax,cx
imul ax,MEM
imul ax,word MEM
imu... | techkey/nasm | travis/test/imul.asm | Assembly | bsd-2-clause | 1,734 |
;First ASM
Mystack segment stack
DB 64 dup('12345678')
Mystack endS
MyData segment
namePrompt DB "What is your name? ","$"
nameBuffer DB "1234567890123456"
helloMsg DB "Hello, ","$"
buffer1 DB "A Long First Name$"
buffer2 DB "A Long Last Name$"
buffer3 DB "abc"
buffer4 DB "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | AAKMakes/ASM-projects | Source/Input (2).asm | Assembly | cc0-1.0 | 1,921 |
; Pipo - Splash Sound of Japanese Personal Computer for OSZ
; WTFPL/PUBLIC DOMAIN
%include "osz.inc"
[bits 16]
[org 0x0100]
xor bp, bp
mov cx, 2000
call _beep
mov cx, 1000
;call _beep
;ret
_beep:
mov ah, OSZ_BEEP
call bp
mov ah, OSZ_SLEEP
mov cx, 200
call bp
xor cx, cx
mov ah, OSZ_BEEP
call bp
ret... | neri/osz | src/app/pipo.asm | Assembly | bsd-2-clause | 323 |
MACRO filler x1, x2, y1, y2
IF (y1 < 0)
ld hl,y1*2
add hl,sp
ld sp,hl
ENDIF
IF (0 <= y1)
ld hl,y1*2
add hl,sp
ld sp,hl
ENDIF
ld hl,y1*2
add hl,sp
ld sp,hl
dup (y2 - y1)
... | z00m128/sjasmplus | tests/macros/if_in_macro.asm | Assembly | bsd-3-clause | 750 |
section .text
global _start
_start:
xchg r8, rax
xchg r9, r8
xchg r10, r9
xchg r11, r10
xchg r12, r11
xchg r13, r12
xchg r14, r13
| tangentforks/vanar | src/asmcache/swp.asm | Assembly | bsd-3-clause | 133 |
bits 64
section .text
; In AMD64 SYSV ABI, params/return are as follows:
; rax rdi rsi rdx
; extern int simple_add(int a, int b, int *r)
global simple_add
simple_add:
mov eax, edi
add eax, esi ; result in RAX
mov [rdx], eax ; store / deref
ret
| PyrekP/FastBuildTemplate | source/some_lib/simple_amd64_sysv_nasm.asm | Assembly | mit | 276 |
[bits 32]
[extern start_kernel]
call start_kernel
jmp $
| coldnine/alpha | kernel/kernel_entry.asm | Assembly | mit | 56 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.