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 |
|---|---|---|---|---|---|
%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/ChromeOS/linux/x64/config.asm | Assembly | bsd-3-clause | 56,489 |
[bits 32]
dd iConsole.$FILE_END - iConsole.$FILE_START
db "OrcaHLL Class", 0
db "iConsole", 0
iConsole.$FILE_START :
iConsole.$global.window :
dd 0x0
iConsole.$global.win :
dd 0x0
iConsole.$global.command :
dd 0x0
iConsole._init:
pop dword [iConsole._init.returnVal]
push eax
push ebx
push edx
mov ax, 0x0106
int 0... | jaredwhitney/OrcaHLL | aots/iconsole/iConsole.asm | Assembly | mit | 24,787 |
lorom
; -------------------------------------------------------------------
; Part 1: save when the player said YES
; hijack point: replace JSR $81F3 inside the main message box code.
; It turns out this bug happens because the code specially handles the ship's
; message and DOES NOT RETURN (for the ship to do the ac... | n00btube/sm-save-refills | bugfix-ship-save.xkas-06.asm | Assembly | mit | 1,295 |
section .data
mesg db "hello,", " world!",10
; this is a comment
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, mesg
mov rdx, 14
syscall
mov rax, 60
mov rdi, 0
syscall
| dlutxx/memo | asm/hello.asm | Assembly | mit | 201 |
;
; 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... | ittiamvpx/libvpx | vp9/common/arm/neon/vp9_iht16x16_add_neon_asm.asm | Assembly | bsd-3-clause | 25,124 |
; bubble8.asm
;
; Bubble sort of an array of bytes. Code taken from:
;
; http://www.6502.org/source/sorting/bubble8.htm
;
.word $8000
.org $8000
;THIS SUBROUTINE ARRANGES THE 8-BIT ELEMENTS OF A LIST IN ASCENDING
;ORDER. THE STARTING ADDRESS OF THE LIST IS IN LOCATIONS $30 AND
;$31. THE LENGTH OF THE LIST IS... | timofonic/fpga_nes | sw/asm/bubble8.asm | Assembly | bsd-2-clause | 1,458 |
; 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/ReadTsc.asm | Assembly | apache-2.0 | 1,217 |
;***********************************************************
;*
;* Enter Name of file here
;*
;* Enter the description of the program here
;*
;* This is the skeleton file Lab 3 of ECE 375
;*
;***********************************************************
;*
;* Author: Enter your name
;* Date: Enter Date... | mythmon/HelloDave | hellodave.asm | Assembly | mit | 6,788 |
Angle_LUT:
.db 84
.db 84
.db 83
.db 83
.db 82
.db 82
.db 81
.db 81
.db 80
.db 79
.db 79
.db 78
.db 77
.db 76
.db 75
.db 74
.db 73
.db 72
.db 71
.db 70
.db 69
.db 67
.db 66
.db 65
.db 85
.db 84
.db 84
.db 83
.db 83
.db 82
.db 82
.db 81
.db 81
.db 80
.db 79
.db 78
.db 78
.db 77
.db 76
.db 75
.db 74
.db 73
.db 71
.db 70
.... | KnightOS/demos | pixelmad/tnllut.asm | Assembly | mit | 5,408 |
.text
.global main:
test:
LDV A, 20
PSH A
POP D
RET
main:
LDV A, test:
CAL A
HLT
| redfast00/RCPU | asm/fpga_sys_debug.asm | Assembly | mit | 113 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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/aes_cbc_enc_128_x8.asm | Assembly | bsd-3-clause | 16,715 |
; fasm example of using the C library in Unix systems
; compile the source with commands like:
; fasm libcdemo.asm libcdemo.o
; gcc libcdemo.o -o libcdemo
; strip libcdemo
format ELF
include 'ccall.inc'
section '.text' executable
public main
extrn printf
extrn getpid
main:
call getpid
ccall printf, m... | gunmetal313/ExePacker | fasm/fasm17139_linux/examples/libcdemo/libcdemo.asm | Assembly | bsd-3-clause | 402 |
//******************************************************************************
//*
//* FULLNAME: Single-Chip Microcontroller Real-Time Operating System
//*
//* NICKNAME: scmRTOS
//*
//* PROCESSOR: ADSP-BF533 (Analog Devices)
//*
//* TOOLKIT: VDSP (Analog Devices)
//*
//* ... | scmrtos/scmrtos | port/blackfin/cces/bf6xx/os_target_a.asm | Assembly | mit | 6,986 |
global _start
section .data
align 16
myquad:
dq 0xad0000ceffffadad
mydword:
dd 0xcafebac0
shift1:
dq 0x07
shift2:
dq -4
%include "header.inc"
movq mm0, [myquad]
movq mm1, [myquad]
movq mm2, [myquad]
movq mm6, [myquad]
psrlw mm0, [shift1]
psrlw mm1, [mydword]
psrlw mm2, [shift2]
psrlw mm6, 0x5
... | nimdavtanke/www | virt.nimda.pro/tests/nasm/psrlw.asm | Assembly | mit | 342 |
/*
* 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.
*
*/
// Module name: saveNV12_16x4.asm
//
// Save a NV12 16x4... | halleyzhao/libva-intel-driver-fdo | src/shaders/h264/ildb/saveNV12_16x4.asm | Assembly | mit | 1,771 |
;
; 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... | rikaunite/gst-opera_libvpx | vp8/common/x86/postproc_sse2.asm | Assembly | bsd-3-clause | 22,871 |
;_____________________________________________________________________________
; boot12.asm FAT12 bootstrap for real mode image or loader
; Version 1.0, Jul 5, 1999
; Sample code
; by John S. Fine johnfine@erols.com
; I do not place any restrictions on your use of this source code
; I do not provide any warranty of t... | priyananda/student | bachelors/sem6/operating_systems/Helix/boot/boot0.asm | Assembly | mit | 6,809 |
;*******************************************************
;
; Stage2.asm
; Stage2 Bootloader
;
; OS Development Series
;*******************************************************
bits 16
; Remember the memory map-- 0x500 through 0x7bff is unused above the BIOS data area.
; We are loaded at 0x500 (0x50:0)
o... | ClaytonHunt/TonOS | SysBoot/Stage2/Pre-Source Control/stage2_3.asm | Assembly | mit | 2,575 |
;===============================================================================
; Copyright 2014-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_ia32/pcpsha256g9as.asm | Assembly | apache-2.0 | 13,483 |
Map_230E52: dc.w Frame_230E56-Map_230E52 ; ...
dc.w Frame_230E70-Map_230E52
Frame_230E56: dc.w 4
dc.b $E8, 7, 0, 0,$FF,$F0
dc.b $E8, 7, 8, 0, 0, 0
dc.b 8, 5, 0, 8,$FF,$F0
dc.b 8, 5, 8, 8, 0, 0
Frame_230E70: dc.w 2
dc.b 0, 6, 0, $C,$FF,$F0
dc.b 0, 6, 8, $C, 0, 0
| TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/Levels/CNZ/Misc Object Data/Map - Light Bulb.asm | Assembly | apache-2.0 | 306 |
; Copyright Oliver Kowalke 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; ----------------------------------------------------------------------------------
; | 0 | 1 ... | moonstonedac/moonstone | libraries/fc/vendor/boost_1.51/libs/context/asm/fcontext_x86_64_ms_pe_masm.asm | Assembly | mit | 11,964 |
;
; 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... | blloyd75/theoraplayer | vpx/vp8/common/x86/subpixel_sse2.asm | Assembly | bsd-3-clause | 46,749 |
-- HUMAN RESOURCE MACHINE PROGRAM --
a:
INBOX
b:
COPYTO 2
COPYFROM [2]
OUTBOX
BUMPUP 2
COPYFROM [2]
JUMPN a
JUMP b
| yuwanzeon/human-resource-machine-solutions | 37.asm | Assembly | mit | 166 |
; Lab 11 - The Stack
; @author Eddie Gurnee
; @version 12/04/2013
.orig x3000
; R6 = the pointer of the Stack
LD R6, LAB_base ;
LEA R0, LAB_out1 ;
PUTS ;
GETC ;
OUT ;
JSR PUSH ;
LD R0, LAB_ln ; new line
OUT ;
LEA R0, LAB_out2 ;
PUTS ;
GETC ; get fir... | pegurnee/2013-03-221 | Lab11/Lab11.asm | Assembly | mit | 5,901 |
# Any comments on the right hand side of the form "# Rx = " indicate what
# the value of that register should be when HLT prints out. Be careful
# not to change these values once they are set.
# This test is dependency free
# Initialize the registers for testing ease
LLB R1, 0x11 # R1 = 0x0011
LLB R2, 0x22 # R2 = 0... | somethingnew2-0/CS552-CPU | RoadRunner/programs/no_hazard_test.asm | Assembly | mit | 1,459 |
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; *** TEST ***
;
;-------------------------------------------------------------... | nikAizuddin/lib80386 | src/vector/vec_subtract_vs/test/test.asm | Assembly | mit | 1,818 |
/*
* Copyright 2018-2021 Mahdi Khanalizadeh
*
* 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 o... | Biolunar/liblinux | src/x86_64/gas/syscall4.asm | Assembly | apache-2.0 | 740 |
; RUSTOS LOADER
; STAGE 2
%include "src/asm_routines/constants.asm"
[BITS 64]
[ORG 0x8000]
stage2:
cli
; update segments
mov dx, GDT_SELECTOR_DATA
mov ss, dx ; stack segment
mov ds, dx ; data segment
mov es, dx ; extra segment
mov fs, dx ; f-segment
mov gs, dx ; g-segment
;... | Dentosal/rust_os | src/boot/stage2.asm | Assembly | mit | 3,618 |
;
; note register values for "ecx", "edx" and "eax" for instructions between tne nop's
;
SECTION .data
SECTION .text
global _start
_start:
nop
mov ecx, 00000002h
mov edx, 00000000h
mov eax, 00000008h
div ecx
inc ecx
div ecx
nop
mov eax, 1 ; exit system call
mov ebx, 0 ; return code
int 80H ; exit
... | paulnguyen/cmpe279 | modules/module1/hello/div2.asm | Assembly | apache-2.0 | 341 |
; Boot sector for GeekOS
; Copyright (c) 2001,2004 David H. Hovemeyer <daveho@cs.umd.edu>
; Copyright (c) 2003, Jeffrey K. Hollingsworth <hollings@cs.umd.edu>
; $Revision: 1.5 $
; This is free software. You are permitted to use,
; redistribute, and modify it as specified in the file "COPYING".
; Loads setup code and... | Wstyle32/GeekOS---Project0 | src/geekos/fd_boot.asm | Assembly | mit | 7,653 |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
write(fd, s, strlen(s));
6: 8b 45 0c ... | johnhhyang/os2 | forktest.asm | Assembly | mit | 21,124 |
;; Автор: CyberLight
;; Использование макро-команд
%include "stud_io.inc"
global _start
section .text
_start: xor eax, eax ;Очищаем регистр eax - он будет использован в качестве счетчика кол-ва напечатанных слов
again: PRINT "Hello" ;Вызов макроса для печати "Hello" на экран
PUTCHAR 10 ;Вывод символа перево... | CyberLight/nasm-learn | print_hello_use_macro/print_hello_use_macro.asm | Assembly | mit | 908 |
#EXPORT main
main:
LI R1, 20 ; prepare values
LI R2, 0x36 ; ; ; ; ; more comments !
ADD R3, R1, R2 ; addddddddd
SUB R4, R2, R1 ; subtract !!!!
MUL R5, R1, R2 ; multiply !
DIV R6, R1, R2 ; try the div its good
OR R7, R1, R2 ; and operation
HALT ; stop execution | ah450/RiSC-16-Simulator | test2.asm | Assembly | mit | 294 |
;Este es un comentario, se le antecede un punto y coma
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Llamada a la librería de nombre de los registros
;Directivas de preprocesador o bits de configuración
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale... | tocache/picomones | UPC Microcontroladores 2021-1/Semana 07/20211_ls5a_cuadrada_tmr0_1k.X/20211_ls53_mux7s_b.X/maincode_2.asm | Assembly | cc0-1.0 | 3,399 |
/*
* All Video Processing kernels
* 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.
*
*/
// Module name: PL16x8_PL8x4.asm... | fritsch/libva-intel-driver | src/shaders/post_processing/gen5_6/Common/PL16x8_PL8x4.asm | Assembly | mit | 935 |
; Generated at 22-5-2015 19:17:06
%ifndef Exclude_IOPort_Based_SerialInit
DebugStub_InitSerial:
Mov DX, 1
Mov AL, 0
Call DebugStub_WriteRegister
Mov DX, 3
Mov AL, 0x80
Call DebugStub_WriteRegister
Mov DX, 0
Mov AL, 0x01
Call DebugStub_WriteRegister
Mov DX, 1
Mov AL, 0x00
... | MetSystem/Cosmos | source/Cosmos.Debug.DebugStub/Serial.asm | Assembly | bsd-3-clause | 1,290 |
;Simple example of removing a directory with the rmdir API call. API calls found in this example program:
; rmdir, exit
; High level description of what theis example program does:
; Attempts ot remove the directory 'newdir' if it exists, using the rmdir API
; exits gracefully with exit().
section .text
global _start... | XlogicX/Learn | ASM_x86/LinuxAPI_09_rmdir.asm | Assembly | mit | 967 |
/*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012 Andy Brown <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
.global BulbPixels
.global BulbPixelsSize
.global AudioPixels
.global AudioPixelsSize
.global DocPixels
.global DocPixelsSize
.global ... | tokoro10g/stm32plus | examples/r61523_mdvl/CompressedPixels.asm | Assembly | bsd-3-clause | 830 |
[bits 32]
global idt_pointer
idt_pointer:
dd 0
dd 0
global load_idt
load_idt:
lidt [idt_pointer]
sti
ret
| campaul/vermilion | kernel/_idt.asm | Assembly | mit | 127 |
// this is a test comment at beginning
.CONSTANT
.DATA
// get ready for some code
.CODE
SET0 0x01
SET1 03
INT 02 // do something here, skip comment
SET0 02
SET1 0x43
INT 02
HALT
| jmacIndy/cpu | casm/sample2.asm | Assembly | mit | 213 |
os.seq :
push ebx
push ecx
push edx
seq.loop_0.start :
mov cl, [eax]
mov dl, [ebx]
cmp cl, 0
je seq.loop_0.go
cmp cl, dl
jne seq.loop_0.end
add eax, 1
add ebx, 1
jmp seq.loop_0.start
seq.loop_0.go :
pop edx
pop ecx
pop ebx
mov al, 0x1
ret
seq.loop_0.end :
pop edx
pop ecx
pop eb... | jaredwhitney/os3 | Tools/String/EqualityTests.asm | Assembly | mit | 906 |
Map_2294B4: dc.w Frame_2294C8-Map_2294B4 ; ...
dc.w Frame_2294CC-Map_2294B4
dc.w Frame_2294DA-Map_2294B4
dc.w Frame_2294FA-Map_2294B4
dc.w Frame_229514-Map_2294B4
dc.w Frame_229540-Map_2294B4
Map_AIZDisappearingFloor2:
Map_2294C0: dc.w Frame_229566-Map_2294C0 ; ...
dc.w Frame_2295A4-Map_2294C0
dc.w Frame_... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/Levels/AIZ/Misc Object Data/Map - Disappearing Floor.asm | Assembly | apache-2.0 | 2,411 |
TITLE 12080912 FINAL
.MODEL SMALL
.STACK 64
.DATA
NEW_FILE_TITLE DB ' UNTITLED TEXT FILE ' ;»õÆÄÀÏ Á¦¸ñ ÅØ½ºÆ®
FILE_TITLE DB 22 DUP (' ') ;ÆÄÀÏ Á¦¸ñ ÅØ½ºÆ®
FRAME DB 0C9H, 2 DUP ( 0CDH ), ' EDITOR : ', 66 DUP ( 0CDH ), 0BBH ;¿¡µðÅÍ Æ²
DB 22 DUP( 0BAH, 78 DUP (' '), 0BAH )
MENU_STR DB ' ', 0AFH,' Press F1-Menu',... | gunbaek/SimpleEditor4Console | SimpleEditor4Console/SimpleEditor4Console.asm | Assembly | apache-2.0 | 17,957 |
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 | StartScreen/_sfx/Global/song.asm | Assembly | mit | 17,474 |
%define ARCH_X86
%define ARCH_X86_32
%define HAVE_AVX
%define HAVE_MMX
%define HAVE_MMX2
%define HAVE_SSE
%define HAVE_SSSE3
%define HAVE_FAST_UNALIGNED
%define HAVE_PTHREADS
%define HAVE_ALIGNED_STACK
%define HAVE_ATTRIBUTE_MAY_ALIAS
%define HAVE_ATTRIBUTE_PACKED
%define HAVE_BSWAP
%define HAVE_DLFCN_H
%define HAVE_DL... | guorendong/iridium-browser-ubuntu | third_party/ffmpeg/chromium/config/Chromium/openbsd/ia32/config.asm | Assembly | bsd-3-clause | 2,067 |
;
; 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... | blloyd75/theoraplayer | vpx/vp8/common/arm/armv6/copymem16x16_v6.asm | Assembly | bsd-3-clause | 3,983 |
#include "ti86asm.inc"
.org _asm_exec_ram
nop
jp ProgStart
.dw 0
.dw ShellTitle
ShellTitle:
.db "New Assembly Program",0
ProgStart:
.end
| bcherry/bcherry | oldstuff/z80 ASM/test/test.asm | Assembly | mit | 149 |
;
; IDEAS:
; 1: Increment often succeeds a push of temporary, e.g. in the optimized version of #to:do: generated by the compiler,
; so add a Push Temp N and Increment - Shame can't do "push, inc and store" (because of failure case?).
;
; Dolphin Smalltalk
; Byte code Interpreter routines and helpers in Assembler for I... | objectarts/Dolphin | Core/DolphinVM/byteasm.asm | Assembly | mit | 168,031 |
*NAME OC-2 (main_sw - starter)
*TIME:24.00
*EXPRESS
*PAGE:999,LIST
*LIBRA:23
*DISC:705/SYSTEM,LCROSS
*FILE:LIB,67
*FILE:MEM,30,W
*PERSO:67
*TAKE TAPE:67
* *DISC:705/SYSTEM,WORKIN
* *FILE:LCROSS - PERSO ACCEMБЛEP+ЗAГPYЗЧИK+ЭMYЛЯTOP
* *FILE:ASSEM - OПИCAHИE И TEKCTЫ ACCEMБЛEPA И ЗAГPYЗ... | besm6/micro-besm | os/os2.asm | Assembly | mit | 26,575 |
.rsset $0010
game_state: .rs 1 ; x10 Game state
game_UNUSED: .rs 1 ; x11
game_scroll: .rs 2 ; x12 X or Y scroll position within a zone
game_zone: .rs 1 ; x14 Zone ID currently in
game_zone_screen: .rs 1 ; x15 Screen to span in the zone. Used only for l... | Daivuk/NESEngine | src/game.asm | Assembly | mit | 2,555 |
.data # Program at 3.1
.byte 102 # StringLiteral at 14.13
.byte 117 # StringLiteral at 14.13
.byte 110 # StringLiteral at 14.13
.byte 0 # StringLiteral at 14.13
.word CLASS_String # StringLiteral at 14.13
.word 2 # StringLiteral at 14.13
.word -3 # StringLiteral at 14.13
strLit_16: # ... | sundercode/compilers-homework | assignment5a/Butter.asm | Assembly | apache-2.0 | 62,514 |
page ,132
;*****************************************************************************;
; ;
; FILE NAME: setvect.asm ;
; ;
; DESCRIPTION: Microsoft C library routine _dos_setvect ;
; ;
; NOTES: ;
; ;
; HISTORY: ... | JFLarvoire/SysToolsLib | C/LoDosLib/setvect.asm | Assembly | apache-2.0 | 1,765 |
global _start
section .data
align 16
float0low:
dd 2147483647.0
float0high:
dd -2147483648.0
float1low:
dd 1235.678
float1high:
dd 1325400064
float2low:
dd -54.321
float2high:
dd -12345.6
float3low:
dd 123.456
float3high:
dd 1234.5678
myaddress:
dd 0xdeadbeef
%include "header.inc"
movaps xmm0, [floa... | copy/v86 | tests/nasm/cvttps2pi.asm | Assembly | bsd-2-clause | 458 |
;Este es un comentario, se le antecede un punto y coma
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Llamada a la librería de nombre de los registros
;Directivas de preprocesador o bits de configuración
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale... | tocache/picomones | UPC Microcontroladores 2021-1/Semana 07/20211_ls5a_cuadrada_tmr0_1k.X/20211_tmr0_int_titi_a.X/maincode.asm | Assembly | cc0-1.0 | 2,104 |
;******************************************************************************
;* SIMD-optimized halfpel functions for VP3
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the Free S... | endlessm/chromium-browser | third_party/ffmpeg/libavcodec/x86/hpeldsp_vp3.asm | Assembly | bsd-3-clause | 3,210 |
;
; jcgray.asm - grayscale colorspace conversion (64-bit SSE2)
;
; Copyright (C) 2011, 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 in jsimdext.inc
;
; This file should be assemb... | youtube/cobalt | third_party/libjpeg-turbo/simd/x86_64/jcgray-sse2.asm | Assembly | bsd-3-clause | 3,312 |
;; 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
;; Macro used to copy contents of newly updated GC heap locations to a shadow copy of the hea... | zenos-os/zenos | vendor/corert/src/Native/Runtime/amd64/WriteBarriers.asm | Assembly | mit | 14,438 |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.1.0 #7066 (Nov 22 2011) (MINGW32)
; This file was generated Sat Jan 23 21:06:10 2016
;--------------------------------------------------------
.module gpio
.optsdcc -mmcs51 --model-medium
... | Cagier/wixel-yDrip | libraries/src/gpio/gpio.asm | Assembly | mit | 30,295 |
; ----------------------------------- NES 2.0 Header -----------------------------------
.byte $4E, $45, $53, $1A
.byte 1 ; number of 16K PRG-ROM banks
.byte 0 ; number of 8K CHR-ROM banks
.byte $00 ; flags 6 (NROM, horizontal mirroring)
.byte $08 ; flags 7 (NROM, NES 2.0 enabled)
.byte $00 ; NES 2.0 extended map... | daniel5151/ANESE | roms/tests/joy/dma_sync_test_v2/dma_sync_test.asm | Assembly | mit | 2,293 |
INT 1
MOV XL, 10000000b
MOV XH, 0x00
MOV J, X
MOV D, [J]
MOV XL, D
OUT C
MOV XL, 10000001b
MOV XH, 0x00
MOV J, X
MOV D, [J]
MOV XL, D
OUT C
MOV XL, 10000010b
MOV XH, 0x00
MOV J, X
MOV D, [J]
MOV XL, D
OUT C
HLT | KPU-RISC/KPU | Assembler/AssemblyCode/INT.asm | Assembly | mit | 214 |
;;; Apple II/IIe reset-everything routine
;;; Copyright © 2017 Zellyn Hunter <zellyn@gmail.com>
!zone resetall {
;;; Reset all soft-switches to known-good state. Burns $300 and $301 in main mem.
RESETALL
sta RESET_RAMRD
sta RESET_RAMWRT
stx $300
sta $301
;; Save return address in X and A, in case we switch zero... | zellyn/a2audit | audit/resetall.asm | Assembly | mit | 636 |
section .data
buffer times 500 db 0
value db 0
section .text
global _start
_start:
mov ESI , 0
; PLUS
mov AH , byte [buffer + ESI]
ADD AH , 13
mov [buffer + ESI] , AH
loop_start_1:
mov AH , byte [buffer + ESI]
cmp AH , 0
je loop_end_1
; MINUS
mov AH , byte [buffer + ESI]
SUB AH , 1
mov [buffer + ESI] ,... | SamuelYvon/BrainCramp | Java/src/com/samuelyvon/BrainCramp/Compilation/nasm/out/mandelbrot.asm | Assembly | mit | 205,310 |
MOV [0] 7
JMP [0]
DPRINT 5
DPRINT 10
HALT
| ocus/TinyASM_Haskell | test-suite/programs/unit/jmp_0x0E.asm | Assembly | bsd-3-clause | 42 |
;
; 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... | blloyd75/theoraplayer | vpx/vp9/encoder/x86/vp9_dct_mmx.asm | Assembly | bsd-3-clause | 3,181 |
; Initial value
MOV F, 1
; Decrement the value multiple times
INC F
INC F
INC F
INC F
; Write register F to the Output Port
OUTB F
HLT | KPU-RISC/KPU | Assembler/AssemblyCode/INC.asm | Assembly | mit | 137 |
//===========================================================================//
// GLOSS - Generic Loader for Operating System Software //
// An extensible and configurable bootloader. //
//---------------------------------------------------------------------------//
... | AdrianCollado/SlickOS | Modules/Gloss/Arch/x86_64/Source/Memory/Clear.asm | Assembly | mit | 1,035 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2006-2008. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ... | devlato/kolibrios-llvm | kernel/tags/kolibri0.7.7.0/drivers/infinity.asm | Assembly | mit | 30,462 |
;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for IA32 platform
;
; Copyright (c) 2013-2015 Intel Corporation.
;
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies t... | google/google-ctf | third_party/edk2/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/IA32/S3Asm.asm | Assembly | apache-2.0 | 1,647 |
@********************************************************************
@* *
@* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
@* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
@* GOVERNED BY A BSD-STYLE SOURCE LICENS... | RichardsGameStudio/libtheoraplayer | theora/lib/arm/armfrag.asm | Assembly | bsd-3-clause | 17,944 |
;
; 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... | huangwenjun06/libvpx_mips | vp9/common/arm/neon/vp9_mb_lpf_neon.asm | Assembly | bsd-3-clause | 20,641 |
;*****************************************************************************
;* deblock-a.asm: x86 deblocking
;*****************************************************************************
;* Copyright (C) 2005-2016 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Fiona Glaser <fiona@x2... | malvanos/Video-SIMDBench | src/asm/x86/deblock-a.asm | Assembly | bsd-3-clause | 64,050 |
; 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_revStride8Read_Word256.asm | Assembly | mit | 3,345 |
;
;/*
; FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available ... | PUCSIE-embedded-course/stm32f4-examples | firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Source/portable/CCS/MSP430X/portext.asm | Assembly | mit | 5,911 |
;
; jidctflt.asm - floating-point IDCT (SSE & SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 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... | youtube/cobalt | third_party/libjpeg-turbo/simd/i386/jidctflt-sse2.asm | Assembly | bsd-3-clause | 21,790 |
; screen colors and so on
include "screensSetup.inc"
TEXTSCREEN_LEVELSTART = $00
TEXTSCREEN_LEVELCOMPLETE = $01
TEXTSCREEN_LIVELOST = $02
TEXTSCREEN_GAMEOVER = $03
NUMBERSSTARTINFONT = 16
SCREENS_TEXTCOLOR = $04
SCREENS_TEXTLUMINANCE = $06
screenFixed dc.b $00
textScreenNumber dc.b $00
goa... | kosmonautdnb/TheLandsOfZador | ScrollModus/_code/GlobalCode/screens.asm | Assembly | mit | 8,510 |
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; Minol ROM Image
;
; *******************************************************... | paulscottrobson/wallpaper-one | software/minol/minol.asm | Assembly | mit | 2,512 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;--------------------------------------------------------------------------
Main:
; -----------... | AntonioND/gbc-hw-tests | dma/hdma_modify_address/main.asm | Assembly | mit | 1,312 |
__ABS32:
bit 7, d
ret z
__NEG32: ; Negates DEHL (Two's complement)
ld a, l
cpl
ld l, a
ld a, h
cpl
ld h, a
ld a, e
cpl
ld e, a
ld a, d
cpl
ld d, a
inc l
ret nz
inc h
ret nz
inc de
ret
| haroldo-ok/really-old-stuff | mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/neg32.asm | Assembly | apache-2.0 | 213 |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; kernel.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++... | RongbinZhuang/simpleOS | ver0/reference/chapter6/b/kernel/kernel2.asm | Assembly | mit | 7,832 |
struc IDTEntry
.offsetl resw 1
.selector resw 1
.zero 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
... | stryan/redox | kernel/asm/interrupts-i386.asm | Assembly | mit | 2,137 |
;******************************************************************************
;* VP9 loop filter SIMD optimizations
;*
;* Copyright (C) 2013-2014 Clément Bœsch <u pkh me>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser Gen... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/ffmpeg/libavcodec/x86/vp9lpf.asm | Assembly | bsd-3-clause | 31,436 |
.device attiny2313
;běží na 8MHz, ckdiv8=1 (vypnuto)
; A L I A S Y
.def numL = r20
.def numH = r21
.def dispL = r22
.def dispH = r23
.def wOld = r24
.def InitLoopN = r25
.equ CUvodniIntervaly = 1 ;pocet intervalu cekani
.equ CInitLoopMax = 10 ;delka 1 intervalu cekani (s)
.equ CUnitSecs = 1 ;del... | MightyPork/avr-projects | archive/000000_asm_old/bomba/tmp/bomba_mx.asm | Assembly | mit | 4,979 |
; Keyboard library
; NAMESPACE: "keyboard"
; REQUIRES: "string"
keyboard:
; ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
; ### MACRO: "getKey"
;
; return:
; ah = BIOS scan code
; al = ASCII character
; (flag) zf = clear if key available, set otherwise
macro keyboard.getKey
{
mov ah, 0x10 ; ... | Trinitek/Turtle | keyboard.asm | Assembly | mit | 2,612 |
;-------------------------------------------------------------------------------
; Praktikum SMD 2015
; M.Wahyudin (140310120031)
;
; Name : LATIH2.ASM
; Desc : Baca DIPSWITCH di P1, tampilkan ke P2 dan P3
; Input : DIPSWITCH di P1
; Output: LED P2 dan P3
;-------------------------------------------------------------... | hyuwah/fu-praktikum-smd | Modul 1/latih2.asm | Assembly | mit | 693 |
# Lackstein
# Noah
# 260524490
.data
displayBuffer: .space 0x80000 # space for 512x256 bitmap display
errorBuffer: .space 0x80000 # space to store match function
templateBuffer: .space 0x100 # space for 8x8 template
imageFileName: .asciiz "pxlcon512x256cropgs.raw" # filename of image to load
templateFileNam... | lackstein/comp273 | Assignment 4/tmatch.asm | Assembly | mit | 9,348 |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "AsmMacros.h"
TEXTAREA
#define STACKSIZEOF_ExInfo ((SIZEOF__ExInfo + 15)&(~15))
#define HARDWARE... | gregkalapos/corert | src/Native/Runtime/arm64/ExceptionHandling.asm | Assembly | mit | 25,041 |
section ".data"
xdef pSnd_PlaySound_voice1
pSnd_PlaySound_voice1:
bset.b #0,State_voice
move.l a0,ptrstart_voice1
move.l a0,ptridle_voice1
bsr pSnd_SkipData_voice1
clr.l time_counter_voice1
move.w state_and_mode,d0
andi.w #%1111110010000000,d0 ;Mode PlaySound voice 1
ori.w #$0040,d0
move.w d0,stat... | bcherry/bcherry | oldstuff/tigcc/PolySnd/sources/statique/PlaySound_voice1.asm | Assembly | mit | 335 |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 ... | ckemere/ELEC327 | MSP430G2xx3_Code_Examples/Assembly_CCS/msp430g2x33_adc10_08.asm | Assembly | mit | 6,543 |
;; drawWindow [corelib]
;; Draws a window layout on the screen buffer.
;; Inputs:
;; IY: Screen buffer
;; HL: Window title text
;; A: Flags:
;; Bit 0: Set to skip castle graphic
;; Bit 1: Set to skip thread list graphic
;; Bit 2: Set to draw menu graphic (note the opposite use from others)
;; Notes:
;; ... | unlimitedbacon/corelib | src/graphics.asm | Assembly | mit | 6,394 |
;;----------------------------------------------------------------------------;;
;; Hacks for overlay 17 for arm9
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obta... | pleonex/Ninokuni | Assembly/overlay9_17.asm | Assembly | apache-2.0 | 1,740 |
;;============================================================================
;; MCKL/lib/asm/log.asm
;;----------------------------------------------------------------------------
;; MCKL: Monte Carlo Kernel Library
;;----------------------------------------------------------------------------
;; Copyright (c) 2013-2... | zhouyan/MCKL | lib/asm/log.asm | Assembly | bsd-2-clause | 8,504 |
;
; 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... | rowboat/external-libvpx | vp8/encoder/arm/neon/boolhuff_armv7.asm | Assembly | bsd-3-clause | 9,971 |
; Copyright (c) 2008-2009, diamond
; 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
; notice, this list of conditions ... | devlato/kolibrios-llvm | kernel/tags/kolibri0.7.7.0/sec_loader/trunk/boot/fat1x/bootsect.asm | Assembly | mit | 11,246 |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | thiz11/platform_external_libvpx | vp8/encoder/arm/neon/vp8_subpixelvariance8x8_neon.asm | Assembly | bsd-3-clause | 7,053 |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "AsmMacros.h"
EXTERN RhpShutdownHelper
EXTERN GetClasslibCCtorCheck
EXTERN memcpy
EXTERN m... | schellap/corert | src/Native/Runtime/arm/MiscStubs.asm | Assembly | mit | 11,240 |
; ASMJITR.ASM: Just-In-Time compiler for the Abstract Machine of the "Pawn"
; scripting language
; (C) 1999-2000, Marc Peter; beta version; provided AS IS WITHOUT ANY WARRANTIES
; I reached >155 million instr./sec on my AMD K6-2/366 with the Hanoi "bench"
; (27 disks, no output, DOS4/GW under Win95) with this implemen... | Fabsch/pawnccsamp | SOURCE/AMX/amxjitr.asm | Assembly | apache-2.0 | 60,757 |
org 7c00h
NEWBASE equ 600h
MBRLEN equ 100h
MARKER equ 0AA55h
start:
xor ax, ax ;ORIGINAL 33 c0
mov ss, ax
mov sp, start
sti
push ax
pop es
push ax
pop ds
cld
mov si, next
mov di, 61Bh
push ax
push di
mov cx, 1E5h
rep movsb
retf
ne... | angea/corkami | misc/mbr/win9xme.asm | Assembly | bsd-2-clause | 3,519 |
;
; 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... | huangwenjun06/libvpx_mips | vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | Assembly | bsd-3-clause | 43,373 |
bits 64
mov rax,11223344h
mov rax,dword 11223344h
mov eax,11223344h
mov [rax],dword 11223344h ; 32-bit operation
mov qword [rax],11223344h
mov qword [rax],dword 11223344h
mov rax,0_ffffffff_8899aabbh
mov rax,dword 0_ffffffff_8899aabbh
mov eax,0_ffffffff_8899aabbh
mov [rax],dword 0_ffffffff_8899aabbh ; 32-b... | techkey/nasm | travis/test/imm64.asm | Assembly | bsd-2-clause | 1,744 |
forever:
inner:
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
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc r1
brne inne... | minf/avrora | src/avrora/test/bench/nop.asm | Assembly | bsd-3-clause | 352 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.