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 |
|---|---|---|---|---|---|
class PaLdapProfile : PaConfigObject {
[string]$Name
[bool]$AdminUseOnly
[string]$Type
[string]$BaseDN
[string]$BindDN
[int]$BindTimeout
[int]$SearchTimout
[int]$RetryInterval
[bool]$RequireSSL
[bool]$VerifyServerCertificate
[array]$Servers
[string]$ConfigNode... | brianaddicks/poweralto3 | poweralto3/src/classes/main/PaLdapProfile.ps1 | PowerShell | mit | 911 |
ag --smart-case --ignore-dir bin --ignore-dir obj $args
| yjpark/dotfiles | windows/PowerShell/aliases/a.ps1 | PowerShell | mit | 56 |
function Replace-Package {
param(
[Parameter(Mandatory = $true)]
[string]
$ToBeReplaced,
[Parameter(Mandatory = $true)]
[string]
$Replacement,
[Parameter(Mandatory = $false)]
[string]
$Version = "",
[Parameter(ValueFromPipeline = ... | ApocalypticOctopus/Replace-Package | ReplacePackage.psm1 | PowerShell | mit | 1,824 |
<#
.SYNOPSIS
The script scan Active Directory and retrieve huge data of many sources like:
-User objects
-Computer objects
-Organizational Unit
-Forest
-Access control list
-Etc.
Ability to export data to CSV and Excel format. Default save format is CSV
.NOTES
Author : Juan Garrido (http://windowstips.wo... | liorvh/voyeur | Computers/Services.ps1 | PowerShell | mit | 2,138 |
#clean-up because I'm re-running this over and over
stop-process -Name VISIO -ea SilentlyContinue
remove-item c:\temp\testvisio5.vsdx -ea SilentlyContinue
import-module VisioBot3000 -Force
Diagram C:\temp\TestVisio5.vsdx -From C:\temp\IntegrationDiagram.vstx
# Define shapes, containers, and connectors for the diagra... | MikeShepard/VisioBot3000 | Examples/VisioDSL5_RelativePositioning.ps1 | PowerShell | mit | 1,198 |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... | tzulang/xv6_4 | rm.asm | Assembly | mit | 40,983 |
;idta.asm sets up all the intterupt entry points
extern default_handler
extern idt_ftoi
;error interrupt entry point, we need to only push the error code details to stack
%macro error_interrupt 1
global interrupt_handler_%1
interrupt_handler_%1:
push dword %1
jmp common_handler
%endmacro
;regular interrupt entry ... | MalcolmLorber/kernel | src/idta.asm | Assembly | mit | 1,579 |
;;; keydown-counter.asm -- Count keydown form P3.2 and outputs in P1 using LED
;; Author: Zeno Zeng <zenoofzeng@gmail.com>
;; Time-stamp: <2014-12-25 21:56:36 Zeno Zeng>
;;; Commentary:
;; Count keydown from P3.2 then ouputs using 8bit P1 (in LED)
;;; Code:
ORG 0000H
AJMP INIT
ORG 0003H
AJ... | zenozeng/ASM-80C51 | keydown-counter.asm | Assembly | mit | 670 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;--------------------------------------------------------------------------
Main:
ld a,$80
ld ... | AntonioND/gbc-hw-tests | interrupts/joy_interrupt_manual_delay/main.asm | Assembly | mit | 877 |
Map_347E30: dc.w Frame_347E4A-Map_347E30
dc.w Frame_347E4C-Map_347E30
dc.w Frame_347E66-Map_347E30
dc.w Frame_347E80-Map_347E30
dc.w Frame_347E9A-Map_347E30
dc.w Frame_347EB4-Map_347E30
dc.w Frame_347ECE-Map_347E30
dc.w Frame_347EE2-Map_347E30
dc.w Frame_347EFC-Map_347E30
dc.w Frame_347F16-Map_347E30
... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Sonic/Map - Sonic Snowboarding.asm | Assembly | apache-2.0 | 2,205 |
data segment
x dw 0FFFFh
s db "00000",0Dh,0Ah,"$"
data ends
code segment
assume cs:code, ds:data
main:
mov ax, data
mov ds, ax
mov bx, 4; 下标
mov ax, [x]
next:
mov dx, 0; 保证被除数的高16位为0
mov cx, 10
div cx; (DX:AX)/CX=AX..DX
add dl, '0'
mov s[bx], dl
cmp ax, 0
je done
dec bx
jmp next
... | Tao-J/hw | asm80386/16int2dec1.asm | Assembly | apache-2.0 | 437 |
global _check_for_key
_check_for_key:
push bp
mov bp, sp
mov ax, word [bp+4]
call os_check_for_key
pop bp
ret
| I8087/mlib | src/check_for_key.asm | Assembly | bsd-2-clause | 138 |
# Copyright 2020 The Cobalt Authors. All Rights Reserved.
#
# 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 ... | youtube/cobalt | third_party/libdav1d/include/config.asm | Assembly | bsd-3-clause | 1,067 |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha1_block_data_order
ALIGN 16
sha1_block_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha1_block_data_order:
mov rdi,rcx
mov rsi,rdx
mov rd... | chpatrick/boring-crypto | cbits/win-x86_64/crypto/fipsmodule/sha1-x86_64.asm | Assembly | mit | 62,409 |
; lzo1y_s2.asm -- lzo1y_decompress_asm_safe
;
; This file is part of the LZO real-time data compression library.
;
; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2005 M... | JosefMeixner/opentoonz | thirdparty/lzo/2.03/asm/i386/src_masm/lzo1y_s2.asm | Assembly | bsd-3-clause | 4,388 |
; This file contains the code that is gonna be linked at the beginning of
; the kernel binary.
; It should contain core CPU initialisation routines such as entering
; long mode, then it should call 'kernel_init'.
extern kernel_init
global startup
global load_tss
section .bss
align 4096
early_pagemap:
resq (512 *... | echidnaOS/echidnaOS | kernel/startup/startup.asm | Assembly | bsd-2-clause | 5,293 |
; rand-table.asm - Bruce Clark, Avik Das
;
; Linear congruential pseudo-random number generator, by Bruce Clark,
; ported to the Ophis assembler. This file contains the PRNG that uses a
; generated multiplication lookup table to significantly speed up number
; generation at cost of space and initial set up time.
;
; ... | avik-das/nesdev | lib/rand-table.asm | Assembly | bsd-3-clause | 5,510 |
;/*
; FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
; All rights reserved
;
; VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
;
; This file is part of the FreeRTOS distribution.
;
; FreeRTOS is free software; you can redistribute it and/or modify it under
; th... | kpeeyush/dusthawk | tiva/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm | Assembly | mit | 6,681 |
.586 ;Target processor. Use instructions for Pentium class machines
.MODEL FLAT, C ;Use the flat memory model. Use C calling conventions
.STACK ;Define a stack segment of 1KB (Not required for this example)
.DATA ;Create a near data segment. Local variables are declared after... | ShinoharaYuuyoru/Assembly-Language-Project | Test/Test/Test.asm | Assembly | mit | 653 |
; Single argument passed as a memory address stored in bx.
print_string:
pusha ; Save registers.
mov cx, [bx] ; Store the value saved at the memory
; address stored in bx in cx.
loop:
cmp cl, 0 ; Compare the low byte of cl to 0.
je end ; If it is zero, we have reached
; the end o... | timwilkens/smallos | print_string.asm | Assembly | apache-2.0 | 1,070 |
;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apa... | Intel-EPID-SDK/epid-sdk | ext/ipp-crypto/sources/ippcp/asm_intel64/pcprij128encryptofbe9as.asm | Assembly | apache-2.0 | 7,373 |
; when only single DEVICE directive is used in whole source, the DEVICE becomes "global"
; do device-only things before declaring actual DEVICE
ORG 0x8000
binStart:
BLOCK 8, 8 ; 8x value 8
binEnd:
SAVEBIN "single_device.bin", 0x8000, binEnd-binStart
; set ZX48 as global device
DEV... | z00m128/sjasmplus | tests/devices/single_device.asm | Assembly | bsd-3-clause | 337 |
BITS 64
default rel
%include "x86-helpers.asm"
nasm_util_assert_boilerplate
thunk_boilerplate
; depedent series of adds
define_bench rs_dep_add
xor eax, eax
.top:
times 128 add rax, rax
dec rdi
jnz .top
ret
; dependent series of muls, takes 3 per cycle
define_bench rs_dep_imul
xor eax, eax
.top:... | travisdowns/uarch-bench | x86-resource-stalls.asm | Assembly | mit | 5,251 |
ARCH_ARM equ 0
ARCH_MIPS equ 0
ARCH_X86 equ 0
ARCH_X86_64 equ 1
ARCH_PPC32 equ 0
ARCH_PPC64 equ 0
HAVE_EDSP equ 0
HAVE_MEDIA equ 0
HAVE_NEON equ 0
HAVE_NEON_ASM equ 0
HAVE_MIPS32 equ 0
HAVE_DSPR2 equ 0
HAVE_MIPS64 equ 0
HAVE_MMX equ 1
HAVE_SSE equ 1
HAVE_SSE2 equ 1
HAVE_SSE3 equ 1
HAVE_SSSE3 equ 1
HAVE_SSE4_1 equ 1
HAV... | mrcdk/linc_libvpx | lib/build/vpx_config.asm | Assembly | mit | 2,041 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
;--------------------------------------------------------------------------
SECTION "Main",HOME
;------------------------------------
ClearSprites:
push hl
ld b,144
call wait_ly
xor a,a
ld b,$A0
ld hl,$FE00
.loop:
ld [hl+],a
dec b
jr nz,.loop
pop hl
r... | AntonioND/gbc-hw-tests | lcd/mode2/mode2_oam_timing_spr_en_dmg_mode/main.asm | Assembly | mit | 5,024 |
;; 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
;; Allocate non-array, non-finalizable object. If the allocation doesn't fit into the curren... | shrah/corert | src/Native/Runtime/amd64/AllocFast.asm | Assembly | mit | 8,940 |
;code by unic0rn/Asm Force
org 100h
segment .code
mov al,13h
int 10h
xor ax,ax
mov dx,03C8h
out dx,al
inc dx
pal: push ax
not al
and al,0Fh
pop ax
push ax
ror ax,2
je ps1
ror ax,1
ps1: out dx,al
out dx,al
je ps2
ro... | unic0rn/asmforce | wsmz/stages/263.asm | Assembly | mit | 1,823 |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... | CHRISTOPHERDIEHL/xv6-mprotect | ln.asm | Assembly | mit | 43,052 |
; ******************************************************************************************************************
;
; Simple H/W Test
;
; Echo keystrokes and beep on lower 3 bits of ASCII code. Basic hardware check.
;
; **********************************************************************************... | paulscottrobson/wallpaper-one | software/miscellany/hardware_test.asm | Assembly | mit | 1,378 |
; The CHK macro causes a checksum to be computed and deposited at the current location.
; The starting point of the checksum calculation is indicated as an argument.
;
; The checksum is calculated as the simple arithmetic sum of all bytes starting
; at the provided address up to but not including the address of the CHK... | z00m128/sjasmplus | tests/macro_examples/sum_checksum.asm | Assembly | bsd-3-clause | 1,989 |
;§ £®«®¢®ª ¯à¨«®¦¥¨ï
use32 ; âà á«ïâ®à, ¨á¯®«ì§ãî騩 32 à §àï¤ëå ª®¬ ¤ë
org 0x0 ; ¡ §®¢ë© ¤à¥á ª®¤ , ¢á¥£¤ 0x0
db 'MENUET01' ; ¨¤¥â¨ä¨ª â®à ¨á¯®«ï¥¬®£® ä ©« (8 ¡ ©â)
dd 0x1 ; ¢¥àá¨ï ä®à¬ â § £®«®¢ª ¨á¯®«ï¥¬®£® ä ©«
dd start ; ... | devlato/kolibrios-llvm | programs/develop/libraries/box_lib/asm/trunk/editbox_ex.asm | Assembly | mit | 6,288 |
format MS COFF
section '.text' code readable executable
public _memset
_memset:
push edi
mov edi, [esp+8]
mov al, [esp+12]
mov ecx, [esp+16]
rep stosb
pop edi
ret
| devlato/kolibrios-llvm | programs/other/graph/memset.asm | Assembly | mit | 170 |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... | luctrudeau/aom | av1/encoder/x86/error_sse2.asm | Assembly | bsd-2-clause | 3,336 |
; decimal up counter
.model small
.stack
.data
temp dw 00
.code
mov ax,@data
mov ds,ax
mov cx,0063d
mov ax,0000h
lp3:mov temp,ax
mov ah,0fh ; clearing the screen every time
int 10h
mov ah,00h
int 10h
mov ax,temp
call disp
call delay
mov ax,temp
inc ax
loop lp... | Amanskywalker/mp-lab | lab programs/10a.asm | Assembly | mit | 567 |
// JEQ, JNE, JGT, JLT, JGE, JLE
MACRO JEQ ( _rX_, _rY_, _dest_ )
CMP _rX_ _rY_
JZ { _dest_ }
ENDMACRO
MACRO JNE ( _rX_, _rY_, _dest_ )
CMP _rX_ _rY_
JNZ { _dest_ }
ENDMACRO
// stackoverflow.com/a/36909033
MACRO JGT ( _rX_, _rY_, _dest_ ) // JC
CMP _rX_ _rY_
JC { _dest_ }
ENDMACRO
MACRO JLT (... | JetStarBlues/Nand-2-Tetris | Assembler/macros/comparisons.asm | Assembly | mit | 701 |
;Los comentarios van antecedidos de un punto y coma
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Librería de nombres de los registros
;Zona de declaración de los bits de configuración del microcontrolador
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits ... | tocache/picomones | UPC Microcontroladores 2020-1/Semana 01/20201-Prueba NOT.X/maincode.asm | Assembly | cc0-1.0 | 1,968 |
dc.w word_18AFC-Map_Invincibility
dc.w word_18AFE-Map_Invincibility
dc.w word_18B06-Map_Invincibility
dc.w word_18B0E-Map_Invincibility
dc.w word_18B16-Map_Invincibility
dc.w word_18B1E-Map_Invincibility
dc.w word_18B26-Map_Invincibility
dc.w word_18B2E-Map_Invincibility
dc.w word_18B36-Map_Invincibil... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Shields/Map - Invincibility.asm | Assembly | apache-2.0 | 1,061 |
_x$ = 8 ; size = 4
bool <lambda_38b13499cc98be0a488fd10e7e4a1541>::operator()(int)const PROC ; <lambda_38b13499cc98be0a488fd10e7e4a1541>::operator(), COMDAT
mov eax, DWORD PTR _x$[esp-4]
cmp eax, 42 ; 0000002aH
je SH... | WojciechMula/toys | autovectorization-tests/results/msvc19.28.29333-avx2/count_if.asm | Assembly | bsd-2-clause | 3,571 |
;---------------------------------------
; CLi² (Command Line Interface) API
; 2016 © breeze/fishbone crew
;---------------------------------------
; MODULE: #63 getCurrentDate
;---------------------------------------
; Получить текущую дату
; o:HL - год
; D - месяц
; E - день
; C - день недели
;---... | LessNick/cli2 | src/system/api/getCurrentDate.asm | Assembly | bsd-3-clause | 1,172 |
;Testname=test; Arguments=-O0 -fbin -opinsr16.bin; Files=stdout stderr pinsr16.bin
bits 16
pinsrw mm0,eax,0
pinsrw mm1,si,0
pinsrw mm2,[bx],0
pinsrw mm3,word [bx],0
pinsrb xmm0,eax,0
pinsrb xmm1,sil,0
; pinsrb xmm1,bh,0
pinsrb xmm2,[bx],0
pinsrb xmm3,byte [bx],0
pinsrw xmm0,eax,0
pinsrw xmm... | coapp-packages/nasm | test/pinsr16.asm | Assembly | bsd-2-clause | 1,081 |
;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2015 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... | liqianggao/libvpx | third_party/x86inc/x86inc.asm | Assembly | bsd-3-clause | 45,789 |
%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 bl, 1
mov di, VBEEDID
int 0x10... | alexzhang2015/redox | src/asm/vesa.asm | Assembly | mit | 4,846 |
LEN EQU 5
.MODEL small
.STACK
.DATA
VETT DB 1,2,3,-4,-5
RISULTATO DB 0
.CODE
.STARTUP
MOV DX, 0
MOV CX , LEN
MOV DI, 0
MOV AX, 0
CICLO:
ADD AL , VETT[DI]
INC DI
DEC CX
CMP CX,0
JNZ CICLO
CBW
MOV CX, LEN
IDIV CX
MOV RISULTATO, AL
.EXIT
END | neskov7/AssemblyProgramsCE | lab2/es1.asm | Assembly | mit | 283 |
.data
.waiting string "Waiting for A key...\n"
.text
.global main:
get_input:
psh A
psh C
mvi A, 1 ; syscall for stdin
ldv C, 0 ; mode for output
sys ; initiate system call
pop C
pop A
ret
main:
mvi A, 0
mvi b, .waiting
ldv c, 4
sys
mvi A, 97
mvi B, 0
ldv16 C, loop:
ldv16 D,... | francisrstokes/16bitjs | asm/loop-until-a-is-pressed.asm | Assembly | mit | 373 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | Intel-HLS/GKL | src/main/native/compression/isa-l-master/include/reg_sizes.asm | Assembly | mit | 7,433 |
loop:
cpl p1.0
nop
sjmp loop
end
| amtlib-dot-dll/EELC3034 | Lab1_3/main.asm | Assembly | cc0-1.0 | 38 |
;; 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 "ksarm64.h"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATA SECTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | gregkalapos/corert | src/Native/Runtime/arm64/InteropThunksHelpers.asm | Assembly | mit | 2,893 |
;
; jcsample.asm - downsampling (AVX2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2015, Intel Corporation.
; 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 a... | youtube/cobalt | third_party/libjpeg-turbo/simd/i386/jcsample-avx2.asm | Assembly | bsd-3-clause | 12,031 |
drawScreen:
pcall(clearBuffer)
push af
push de
push hl
push ix
;----------Window-----------
kld(hl, windowTitle)
ld a, 0x04
corelib(drawWindow)
;----------Binary-----------
ld d, 4
ld e, 9
kld(hl, (upperWord))
kcall(drawBits)
push... | boos1993/progcalc | drawScreen.asm | Assembly | mit | 4,649 |
processor 6502
org $0801 ; sys2061
sysline:
.byte $0b,$08,$01,$00,$9e,$32,$30,$36,$31,$00,$00,$00
org $080d ; sys2061
lda #$00
sta $02
incloop:
lda $02
cmp $d012
bne incloop
inc $d021
adc #$10
sta $02
decloop:
lda $02
cmp $d012
bne decloop
dec $d021
sbc #$10
sta $02
jmp ... | ennorehling/c64 | bars.asm | Assembly | mit | 329 |
_start:
sub sp, sp, #0x20
stp x29, x30, [sp, #0x10]
add x29, sp, #0x10
mov x0, #0x123
subs x0, x0, #0x123
b.eq done
add x0, x0, #0x123
done:
ret
| googleprojectzero/reil | analysis/test_data/control_flow_constraint.asm | Assembly | apache-2.0 | 162 |
.include "hdr.asm"
.section ".libc_mem" superfree
.accu 16
.index 16
.16bit
__builtin_memcpy:
memcpy:
lda.b 4,s ; destination
sta.b tcc__r0
tay
lda.b 8,s ; source
tax
lda.b 10,s ; source bank
xba
ora.b 6,s ; dest bank
sta.b move_insn + 1
lda.b 12,s ; length... | Techokami/classickong | libs/libc.asm | Assembly | apache-2.0 | 3,203 |
;; Test branching instructions
;;
[bits 64]
jnz near x
jo near x
jno word x
jc near x
jnc word x
jae dword x
jcxz x
jecxz x
jrcxz x
jmp dword near x
call dword near x
jmp word x
jmp dword x
jmp word [eax]
x: jmp qword [rax]
jmp word x
jmp dword x
| semi/udis86 | tests/asm/64/branch.asm | Assembly | bsd-2-clause | 265 |
; Copyright (c) 2005-2017 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.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed ... | variar/contest-template | external/tbb/src/tbb/ia32-masm/itsx.asm | Assembly | mit | 1,885 |
; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, 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_avx2.asm | Assembly | bsd-3-clause | 59,002 |
; =============================================================================
; Pure64 -- a 64-bit OS loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2012 Return Infinity -- see LICENSE.TXT
;
; INIT IO-APIC
; =============================================================================
global init... | Izikiel/intel_multicore | DeliriOS_64bits/common_code/init_ioapic.asm | Assembly | mit | 4,173 |
// Module name: PA_LOAD_SAVE_NV12
.kernel PA_LOAD_SAVE_NV12
.code
#include "SetupVPKernel.asm"
#include "Multiple_Loop_Head.asm"
#include "PA_Load_8x8.asm"
#include "PL8x8_PL8x4.asm"
#include "PL8x4_Save_NV12.asm"
#include "Multiple_Loop.asm"
END_THREAD // End of Thread
.end_code
.end_kernel
// end of ... | chenxianqin/vaapi-intel-driver | src/shaders/post_processing/gen5_6/pa_load_save_nv12.asm | Assembly | mit | 343 |
start = $120c
org $351
model_detection:
lda #vic_unexpanded
sta model
; Test on +3K.
ldx #vic_3k
ldy #$04
jsr check_model
; Test on +8K.
ldx #vic_8k
ldy #$20
jsr check_model
; Test on +16K.
ldx #vic_16k
ldy #$40
jsr check_model
; Test on +24K.
ld... | SvenMichaelKlose/nipkow | src/model-detection.asm | Assembly | mit | 853 |
_usertests: ファイル形式 elf32-i386
セクション .text の逆アセンブル:
00000000 <iputtest>:
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
6: a1 ec 62 00 00 mov 0x62ec,%eax
b: c7 44 24 04 42 44 00 movl $0x4442... | sigmasigma/xv6_memorydb | usertests.asm | Assembly | mit | 230,592 |
; file testing registers initial values
; Ange Albertini, BSD LICENCE 2011
%include 'consts.inc'
IMAGEBASE equ 400000h
org IMAGEBASE
bits 32
TLSSIZE equ 34982734h
SECTIONALIGN equ 1000h
FILEALIGN equ 200h
istruc IMAGE_DOS_HEADER
at IMAGE_DOS_HEADER.e_magic, db 'MZ'
at IMAGE_DOS_HEADER.e_lfa... | angea/corkami | wip/x86odd/initvals.asm | Assembly | bsd-2-clause | 6,620 |
/**
* Fails the test if the value in register a does not
* match the expected value
*/
.macro "expect.a.toBe" args expected
cp expected
call nz, smsspec.runner.expectationFailed
.endm
| eljay26/smsspec | src/expect.asm | Assembly | mit | 195 |
_main:
;PWM_ADC.mbas,7 :: org 0x1000
;PWM_ADC.mbas,10 :: TRISB.4 = 1
BSF TRISB+0, 4
;PWM_ADC.mbas,11 :: TRISC.5 = 0
BCF TRISC+0, 5
;PWM_ADC.mbas,12 :: ADC_Init_Advanced(_ADC_INTERNAL_REF)
CLRF FARG_ADC_Init_Advanced_reference+0
CALL _ADC_Init_Advanced+0, 0
;PWM_ADC.mbas,13... | DAFRELECTRONICS/ThunderBolt-Nova | Ejemplos/mikroBasic/PWM_ADC/PWM_ADC.asm | Assembly | mit | 1,830 |
LIST P=16F877A
#INCLUDE P16F877A.INC
BCF STATUS,RP1
BSF STATUS,RP0
MOVLW 0XFF
MOVWF TRISB
MOVWF TRISC
MOVLW 0X00
MOVWF TRISD
BCF STATUS,RP0
BCF STATUS,RP1
BTFSS PORTC,7
GOTO LOOPA
GOTO LOOPB
LOOPA
BTFSS PORTB,6
GOTO LOOPC
GOTO LOOPD
LOOPC
BTFSC PORTC,5
CALL S1
BTFSS PORTC,5
CALL S2
... | geojoyce/geojoyce.github.io | C/led2.asm | Assembly | apache-2.0 | 1,522 |
.setcpu "6502"
.autoimport on
.export update_screen
.export main_screen_init
.export char_test
.export init_menu
.export init_ppu
.export jp_status
;;for debugging..
.export scroll_next
.segment "STARTUP"
;;;screen func table.
update_funcs:
.addr main_screen_updt ;0
.a... | astoria-d/super-duper-nes | duper_rom/ppu.asm | Assembly | apache-2.0 | 39,370 |
# crtn.asm for ELF
# Copyright (C) 1992, 1999 Free Software Foundation, Inc.
# Written By David Vinayak Henkel-Wallace, June 1992
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either ver... | avaitla/Haskell-to-C---Bridge | gccxml/GCC/gcc/config/fr30/crtn.asm | Assembly | bsd-3-clause | 2,187 |
;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_ls51_mux7s_b.X/maincode_1.asm | Assembly | cc0-1.0 | 2,194 |
.file "example.cpp"
.arch msp430f169
.cpu 430
.mpy none
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p... | mattgodbolt/gcc-explorer | test/filters-cases/bug-348.asm | Assembly | bsd-2-clause | 6,825 |
;******************************************************************************
;* VP8 MMXEXT optimizations
;* Copyright (c) 2010 Ronald S. Bultje <rsbultje@gmail.com>
;* Copyright (c) 2010 Fiona Glaser <fiona@x264.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* ... | QuintonJason/qvids | front-end/build/ffmpeg/libavcodec/x86/vp8dsp.asm | Assembly | mit | 34,636 |
SECTION .data
SECTION .text
global _start
_start:
nop
mov eax, 447
mov ebx, 1739
mul ebx
mov eax, 0FFFFFFFFh
mov ebx, 03B72h
mul ebx
nop
mov eax, 1 ; exit system call
mov ebx, 0 ; return code
int 80H ; exit
SECTION .bss
| paulnguyen/cmpe279 | modules/module1/math/mul.asm | Assembly | apache-2.0 | 281 |
; Returns SGN (SIGN) for 8 bits signed integer
__SGNI8:
or a
ret z
ld a, 1
ret p
neg
ret
| haroldo-ok/really-old-stuff | mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/sgni8.asm | Assembly | apache-2.0 | 97 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2014 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 s... | fkautz/minio | pkg/storage/erasure/isal/include/reg-sizes.asm | Assembly | apache-2.0 | 3,068 |
.ORIG x1234
XOR R1, R2, xa
.END | Zaydax/lc3bISAemulator | hw1_autograde/test/state_data_in/8.asm | Assembly | mit | 32 |
;
; Part of OS4, __idt_default_handler.asm
; Author Mikael Henriksson, miklhh
;
global __idt_default_handler:function (__idt_default_handler.end - __idt_default_handler)
__idt_default_handler:
pusha
mov al, 0x20 ; ???
mov dx, 0x20 ; ???
out dx, al ; ???
popa
iret
.end:
| miklhh/os4 | src/arch/i686/int_routines/__idt_default_handler.asm | Assembly | mit | 318 |
.ORIG x1234
RSHFL R2, R7, #4
RSHFL R2, R7, #4
RSHFL R2, R7, #4
RSHFL R2, R7, #4
RSHFL R2, R7, #4
.END
| Zaydax/PipelineProcessor | lab3_test_harness/test/state_data_in/11.asm | Assembly | mit | 107 |
;---------------------------------------
; CLi² (Command Line Interface)
; 2014 © breeze/fishbone crew
;---------------------------------------
; Grab TR-DOS Diks to TRD Image
;---------------------------------------
org #c000-4
include "system/constants.asm" ; Константы
include "system/api.h.asm" ;... | LessNick/cli2 | src/app/disk2trd.asm | Assembly | bsd-3-clause | 2,287 |
/* Copyright 2014 Peter Goodman, all rights reserved. */
#include "arch/x86-64/asm/include.asm.inc"
START_FILE_INTEL
// Get the user-space TLS base address.
//
// Note: This is Linux-specific, and assumes the first quadword of memory
// pointed to by the base address of the segment descriptor for `FS`
// ... | Granary/granary2 | os/linux/arch/x86-64/segment.asm | Assembly | mit | 535 |
init mac a
end init
mac macro reg
ld reg, 0
endm
| scoffey/jz80sim | test/jzas/semantic/valid/success03.asm | Assembly | mit | 53 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | Intel-HLS/GKL | src/main/native/compression/isa-l-master/raid/xor_check_sse.asm | Assembly | mit | 6,911 |
; ========================================================== ;
; ;
; Utilities for IAS subject labs ;
; ;
; Version: v0.3 ;
; Dat... | infiRD/IAS | lab7/workspace/lab7/libs/utils.asm | Assembly | apache-2.0 | 3,548 |
Map_A50A: dc.w word_A572-Map_A50A
dc.w word_A57A-Map_A50A
dc.w word_A582-Map_A50A
dc.w word_A58A-Map_A50A
dc.w word_A592-Map_A50A
dc.w word_A59A-Map_A50A
dc.w word_A5A2-Map_A50A
dc.w word_A5AA-Map_A50A
dc.w word_A5B2-Map_A50A
dc.w word_A5BA-Map_A50A
dc.w word_A5BA-Map_A50A
dc.w word_A5BA-Map_A50A... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Special Stage/Map - Ring.asm | Assembly | apache-2.0 | 3,609 |
.686
.xmm
.model flat, c
DATA segment align(32)
F76543210 real4 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0
F88888888 real4 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0
F00000000 real4 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
F3210 real4 0.0, 1.0, 2.0, 3.0
DATA ends
.code
projx32 PROC param:dword
; for (int iy=iy0; iy<iy1; iy+... | mizutanilab/RecView | source/projx32VS2008.asm | Assembly | bsd-2-clause | 3,655 |
;
; Copyright (c) 2010 The VP8 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 projec... | mrchapp/libvpx | vp8/common/arm/neon/loopfilterhorizontaledge_y_neon.asm | Assembly | bsd-3-clause | 7,777 |
/*
* 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/readSampler16x1.asm | Assembly | mit | 3,177 |
section ".data"
xdef pSnd_GetNote_voice1
pSnd_GetNote_voice1:
move.b note_voice1,d0
rts | bcherry/bcherry | oldstuff/tigcc/PolySnd/sources/statique/GetNote_voice1.asm | Assembly | mit | 92 |
;--------------------------------------------------
; Sp-3DPrinter -- A 3D printer
; By SirPython of Code Review and GitHub
;
; SP-3DPrinter.asm
;-------------------------------------------------- | SirPython/SP-3DPrinter | SP-3DPrinter/SP-3DPrinter/SP-3DPrinter.asm | Assembly | mit | 196 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
;--------------------------------------------------------------------------
SECTION "VAR",BSS
int_repetition: DS 1
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() ... | AntonioND/gbc-hw-tests | interrupts/timer_int_handle_timing_dmg_mode/main.asm | Assembly | mit | 6,661 |
.if $defined(__MSPGCC__)
.macro twoNOPs
NOP
NOP
.endm
.macro NOPx2
NOP;
NOP;
.endm
.macro NOPx3
NOP;
NOP;
NOP;
.endm
.macro NOPx4
NOPx2
NOPx2
.endm
.macro NOPx5
NOPx4
NOP
.end... | amjadmajid/stork | CRFID_firmware/STORKfull/wisp-base/internals/NOPdefs.asm | Assembly | bsd-3-clause | 2,538 |
push 1
push 0
st_em 0x0,2,0
push 0
ld_em 0x0,2,0
push 0
sethi 0x0200
st_em 0x0,2,0
push 0
push 1
push 2
push 3
push 4
push 5
push 6
push 7
push 8
push 9
push 10
push 11
push 12
push 13
push 14
push 15
push 16
push 17
push 0
ld_em 0x0,2,0
push 1
add
push 0
st_em 0x0,2,0
drop 0
drop 0
drop 0
drop 0
drop 0
drop 0
drop 0
d... | ilebedev/stacktool | tests/emra/EM_MODE/asm_for_rb/EM02.asm | Assembly | mit | 400 |
; ==== STM32F30x PERIPHERALS =================================
;
; CTU Prague, FEL, Department of Measurement
;
; ------------------------------------------------------------
;
; Generated from "STM32F30x.svd"
;
; SVD parsing library (c) Paul Osborne, 2015-2016
; https://github.com/posborne/cmsis-svd
; ASM building s... | MightyPork/stm32-asm-examples | registers/sfr_f30x.asm | Assembly | mit | 495,370 |
SECTION "Startham map", ROMX
StarthamMap::
db 0 ; Exterior map
db MUSIC_OVERWORLD ; Music ID
db 0 ; Tileset is fixed
db TILESET_OVERWORLD ; Tileset
dw NO_SCRIPT ; Script (none)
map_size 29, 18 ; Width, height
dw NO_SCRIPT ; Loading script (none)
StarthamInteractions::
db 13
db WALK... | ISSOtm/Aevilia-GB | maps/startham.asm | Assembly | apache-2.0 | 9,089 |
.386P
if @Version gt 510
.model FLAT
else
_TEXT SEGMENT PARA USE32 PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT DWORD USE32 PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT DWORD USE32 PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT DWORD USE32 PUBLIC 'BSS'
_BSS ENDS
_TLS SEGMENT DWORD USE32 PUBLIC 'TLS'
_TLS ENDS
FLAT GROUP _DAT... | eruffaldi/cmm | test/ker2.asm | Assembly | apache-2.0 | 6,026 |
%include 'head.inc'
EntryPoint:
push handler
push dword [fs:0]
mov [fs:0], esp
_
int 3
_
push 42
call [__imp__ExitProcess]
_c
handler:
push Msg
call [__imp__printf]
add esp, 1 * 4
_
push 0
call [__imp__ExitProcess]
_c
Msg db " * BREAKPOINT exception t... | angea/corkami | wip/Exceptions/trig_bpint_3.asm | Assembly | bsd-2-clause | 378 |
; Generated at 3/12/2016 8:37:32 PM
DebugStub_DebugBPs TIMES 256 dd 0
DebugStub_MaxBPId dd 0
DebugStub_Init:
Call DebugStub_Cls
Call DebugStub_DisplayWaitMsg
Call DebugStub_InitSerial
Call DebugStub_WaitForDbgHandshake
Call DebugStub_Cls
DebugStub_Init_Exit:
mov dword [static_field__Cosmos_Core_INTs_m... | Cyber4/Cosmos | source/Cosmos.Debug.DebugStub/Init.asm | Assembly | bsd-3-clause | 1,593 |
; Generated at 28-7-2015 17:33:40
DebugStub_Const_Signature equ 0x19740807
DebugStub_Const_Tracing_Off equ 0
DebugStub_Const_Tracing_On equ 1
DebugStub_Const_Status_Run equ 0
DebugStub_Const_Status_Break equ 1
DebugStub_Const_StepTrigger_None equ 0
DebugStub_Const_StepTrigger_Into equ 1
DebugStub_Co... | MetSystem/Cosmos | source/Cosmos.Debug.DebugStub/Consts.asm | Assembly | bsd-3-clause | 2,023 |
; Copyright 2005-2014 Intel Corporation. All Rights Reserved.
;
; This file is part of Threading Building Blocks. Threading Building Blocks is free software;
; you can redistribute it and/or modify it under the terms of the GNU General Public License
; version 2 as published by the Free Software Foundation. Thre... | rutgers-apl/TaskProf | tprof-tbb-lib/src/tbb/intel64-masm/intel64_misc.asm | Assembly | mit | 1,568 |
;
; MACROs for common tasks and repeating parts of code
;
;
;
;
; -----------------------------------------------------------------------------
; MACRO for writing a line. Use with ".invoke print <address>" where
; <address> is the first byte of the string in 16 bit. As a "write"
; command, the string has to be termin... | mkeller0815/MOUSE2Go | M-OS-6502/MIOS_macros.asm | Assembly | mit | 807 |
; Declare constants for the multiboot header.
MBALIGN equ 1<<0 ; align loaded modules on page boundaries
MEMINFO equ 1<<1 ; provide memory map
GFXINFO equ 1<<2
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1BADB002 ; 'magic number' lets bootl... | LugosFingite/LudOS | kern/i686/pc/multiboot.asm | Assembly | mit | 1,032 |
; name: LABELS - Memory addresses
; code: "909090908B1E1600891E0100A10100C78701000200909090909090668B1D4800000066891D1800000066A118000000668B84811800000066898481180000006667C78718001900909090909090668B1C257900000066891C254A00000066C7814A0000004B0066678B8481180000006667898481180000009090"
[bits 16]
nop
tommilabel1:
n... | tpisto/pasm | tests/016_LABELS_-_Memory_addresses.asm | Assembly | mit | 1,023 |
;;----------------------------------------------------------------------------;;
;; Hacks for overlay 12 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_12.asm | Assembly | apache-2.0 | 968 |
//===========================================================================//
// GLOSS - Generic Loader for Operating System Software //
// An extensible and configurable bootloader. //
//---------------------------------------------------------------------------//
... | SlickOS/SlickOS | Modules/Gloss/Arch/x86_64/Source/IO/Serial/Init.asm | Assembly | mit | 1,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.