max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
loader/bios/bios_call.asm
UltraOS/Hyper
3
9380
<filename>loader/bios/bios_call.asm extern gdt_ptr PROTECTED_MODE_CODE_SELECTOR: equ 0x08 PROTECTED_MODE_DATA_SELECTOR: equ 0x10 REAL_MODE_CODE_SELECTOR: equ 0x18 REAL_MODE_DATA_SELECTOR: equ 0x20 PROTECTED_MODE_BIT: equ 1 SIZEOF_REGISTER_STATE: equ 40 section .real_code ; NOTE: this function assumes all pointers...
qemu_mode/qemu-2.10.0/roms/openbios/arch/ppc/Makefile.asm
braymar/afl
8
21851
<filename>qemu_mode/qemu-2.10.0/roms/openbios/arch/ppc/Makefile.asm # -*- makefile -*- # # Makefile.asm - assembly support # # Copyright (C) 2004 <NAME> (<EMAIL>) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 ...
audio/music/showmearound.asm
Dev727/ancientplatinum
28
498
Music_ShowMeAround: musicheader 4, 1, Music_ShowMeAround_Ch1 musicheader 1, 2, Music_ShowMeAround_Ch2 musicheader 1, 3, Music_ShowMeAround_Ch3 musicheader 1, 4, Music_ShowMeAround_Ch4 Music_ShowMeAround_Ch1: tempo 144 volume $77 stereopanning $f dutycycle $2 notetype $c, $b1 octave 4 note B_, 2 note A_, 2 ...
home/item_price.asm
opiter09/ASM-Machina
1
82465
GetItemPrice:: ; Stores item's price as BCD at hItemPrice (3 bytes) ; Input: [wcf91] = item id ldh a, [hLoadedROMBank] push af ld a, [wListMenuID] cp MOVESLISTMENU ld a, BANK(ItemPrices) jr nz, .ok ld a, $f ; hardcoded Bank .ok ldh [hLoadedROMBank], a ld [MBC1RomBank], a ld hl, wItemPrices ld a, [hli] ld h,...
stage3/graphics_rectangle_algorithm.asm
amrwc/8086-graphics
5
93972
; Input: ; x0: [bp + 12] -> [bp + rect_x0] ; y0: [bp + 10] -> [bp + rect_y0] ; w: [bp + 8] -> [bp + rect_w] ; h: [bp + 6] -> [bp + rect_h] ; px: [bp + 4] -> [bp + px_set] %assign rect_x0 12 %assign rect_y0 10 %assign rect_w 8 %assign rect_h 6 %assign px_set 4 %assign rect_row_end 2 %assign rect...
prototyping/Luau/Type.agda
Tr4shh/Roblox-Luau
0
4036
<filename>prototyping/Luau/Type.agda module Luau.Type where open import FFI.Data.Maybe using (Maybe; just; nothing) data Type : Set where nil : Type _⇒_ : Type → Type → Type none : Type any : Type number : Type _∪_ : Type → Type → Type _∩_ : Type → Type → Type src : Type → Type src nil = none src (S ⇒ ...
ee/hxt/init.asm
olifink/smsqe
0
83805
; HOTKEY Extensions Initialisation V2.00  1990 <NAME> QJUMP xdef hxt_init xdef hxt_name xref hxt_thing xref hxt_procs xref gu_thini xref gu_tpadd xref.l hxt_vers include 'dev8_keys_thg' section version dc.w...
audio/music/pallettown.asm
Dev727/ancientplatinum
28
164040
Music_PalletTown: musicheader 3, 1, Music_PalletTown_Ch1 musicheader 1, 2, Music_PalletTown_Ch2 musicheader 1, 3, Music_PalletTown_Ch3 Music_PalletTown_Ch1: tempo 188 volume $77 vibrato $12, $24 tone $0001 stereopanning $f Music_PalletTown_branch_f4b22: dutycycle $2 notetype $c, $78 octave 3 note B_, 12 n...
grammar/header.g4
ben-rowan/csv2json
0
6620
<reponame>ben-rowan/csv2json<gh_stars>0 grammar header; header : value (SEPARATOR value)* NL ; value : delimited_value | NON_DEL_STRING ; delimited_value : DELIMITER DEL_STRING DELIMITER ; SEPARATOR: ',' ; DELIMITER: '"' ; NL: '\n' ; DEL_STRING: (~(DELIMITER) | DELIMITER DELIMITER)* ; NON_DEL_STRING: ~(DELIMITER | NL ...
test/interaction/Issue3161.agda
cruhland/agda
1,989
10935
-- Andreas, 2018-07-21, issue #3161 -- Insert space before brace if preceeded by `-`. -- (Symmetric case was already fixed in #269). data Pol : Set where + - : Pol f : {x : Pol} → Set f {x} = {!x!} -- Split on x here
tutorials/part3/main.asm
Threetwosevensixseven/ZalaXa
5
160087
<gh_stars>1-10 ; main.asm zeusemulate "48K" ; Tell the Zeus emulator to be a 48K Spectrum zoLogicOperatorsHighPri = false ; Zeus assembler options zoSupportStringEscapes = false ; (see Config tab zoAllowFloatingLabels = false ...
source/nodes/program-nodes-case_statements.ads
optikos/oasis
0
9402
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Case_Paths; with Program.Elements.Case_Statements; ...
grep.asm
vlnvv/xv6-os
0
90412
<gh_stars>0 _grep: file format elf32-i386 Disassembly of section .text: 00000000 <grep>: char buf[1024]; int match(char*, char*); void grep(char *pattern, int fd) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int n, m; c...
maps/Route43MahoganyGate.asm
Dev727/ancientplatinum
28
173387
object_const_def ; object_event constants const ROUTE43MAHOGANYGATE_OFFICER Route43MahoganyGate_MapScripts: db 0 ; scene scripts db 0 ; callbacks Route43MahoganyGateOfficer: faceplayer opentext checkevent EVENT_CLEARED_ROCKET_HIDEOUT iftrue .RocketsCleared writetext Route43MahoganyGateOfficerText waitbutto...
src/save.asm
gbcompo21/shock-lobster
0
90596
<reponame>gbcompo21/shock-lobster ; ; Saved player state for Shock Lobster ; ; Copyright 2021 <NAME> ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyon...
source/nodes/program-nodes-object_access_types.ads
optikos/oasis
0
25057
<filename>source/nodes/program-nodes-object_access_types.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Subtype_Indications; with Program.Ele...
ch09/64 bit/StringLib64Test.asm
William0Friend/my_masm
0
105165
<gh_stars>0 ; testing 64-bit Windows API (Lib64test.asm) ; Chapter 5 example Str_compare proto Str_length proto Str_copy proto ExitProcess proto .data source byte "AABCDEFGAABCDFG",0 ; size = 15 target byte 20 dup(0) .code main proc mov rax,offset source call Str_length ; returns le...
oeis/141/A141876.asm
neoneye/loda-programs
11
179169
<reponame>neoneye/loda-programs ; A141876: Primes congruent to 11 mod 19. ; Submitted by <NAME> ; 11,163,239,277,353,467,619,733,809,1151,1303,1493,1531,1607,1721,1759,1873,1949,1987,2063,2557,2633,2671,2861,3089,3203,3469,3583,3659,3697,4001,4153,4229,4457,4723,4799,4951,5179,5407,5483,5521,5711,5749,5939,6053,6091,65...
models/amalgam/paper/flow.als
transclosure/Amalgam
4
5348
<reponame>transclosure/Amalgam // Produced automatically by flowlog -alloy at 18:20:4 on 8 20 2013 // Modified with comments (new comments marked as such; old comments left) by Tim on 10/17/16 pred true[] {} pred false[] { some none } abstract sig Event {} sig FLString {} sig FLInt{} sig Switchid {} sig Macaddr {...
src/routines/loaderofloader.asm
zdimension/Cesium
5
83925
di ; disable interrupts ; loader for this appvar LoaderOfLoader_Start: push hl ld de,CommonRoutines_Start-CesiumStart-2 add hl,de ; now we are looking at the common routines ld de,SaveSScreen ld bc,CommonRoutines_End-CommonRoutines_Start ldir ; copy the common routines to safeRAM pop hl push ...
src/css-core-styles.ads
stcarrez/ada-css
3
14324
----------------------------------------------------------------------- -- css-core-styles -- Core CSS API definition -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License....
programs/oeis/024/A024015.asm
neoneye/loda
22
9293
; A024015: 2^n-n^5. ; 1,1,-28,-235,-1008,-3093,-7712,-16679,-32512,-58537,-98976,-159003,-244736,-363101,-521440,-726607,-983040,-1288785,-1627424,-1951811,-2151424,-1986949,-959328,1952265,8814592,23788807,55227488,119868821,251225088,516359763,1049441824,2118854497,4261412864,8550799199,17134433760,34307216493,686590...
src/natools-s_expressions-conditionals-strings.ads
faelys/natools
0
17984
------------------------------------------------------------------------------ -- Copyright (c) 2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
programs/oeis/276/A276555.asm
neoneye/loda
22
4635
<filename>programs/oeis/276/A276555.asm ; A276555: Number of steps to reach 1 when starting from n and iterating the map x -> x - A061395(x). ; 0,1,1,2,2,3,2,3,3,3,4,4,3,4,5,6,4,7,5,5,5,5,5,6,6,6,7,7,6,8,6,7,8,8,7,9,7,9,9,8,8,10,7,10,11,8,8,9,12,9,11,9,8,10,10,10,13,10,11,14,8,12,12,13,12,9,10,9,15,10,12,11,10,13,12,10...
test/Fail/Sections-11.agda
shlevy/agda
1,989
9067
open import Common.Prelude _test_ : Nat → Nat → Nat _test n = _+ n
data/mapHeaders/fuchsiameetingroom.asm
adhi-thirumala/EvoYellow
16
87698
<reponame>adhi-thirumala/EvoYellow FuchsiaMeetingRoom_h: db LAB ; tileset db FUCHSIA_MEETING_ROOM_HEIGHT, FUCHSIA_MEETING_ROOM_WIDTH ; dimensions (y, x) dw FuchsiaMeetingRoomBlocks, FuchsiaMeetingRoomTextPointers, FuchsiaMeetingRoomScript ; blocks, texts, scripts db $00 ; connections dw FuchsiaMeetingRoomObject ; ...
test/Succeed/Issue670a.agda
cruhland/agda
1,989
17369
<reponame>cruhland/agda {-# OPTIONS --show-implicit #-} -- {-# OPTIONS -v tc.constr.findInScope:10 #-} -- -v tc.conv.elim:25 #-} -- Andreas, 2012-07-01 module Issue670a where import Common.Level open import Common.Equality findRefl : {A : Set}(a : A){{p : a ≡ a}} → a ≡ a findRefl a {{p}} = p uip : {A : Set}{a : A} →...
agda-stdlib/README/Tactic/MonoidSolver.agda
DreamLinuxer/popl21-artifact
5
5361
<gh_stars>1-10 ------------------------------------------------------------------------ -- The Agda standard library -- -- An explanation about how to use the solver in Tactic.MonoidSolver. ------------------------------------------------------------------------ open import Algebra module README.Tactic.MonoidSolver {...
programs/oeis/276/A276914.asm
karttu/loda
1
97472
; A276914: Subsequence of triangular numbers obtained by adding a square and two smaller triangles, a(n) = n^2 + 2*A000217(A052928(n)). ; 0,1,10,15,36,45,78,91,136,153,210,231,300,325,406,435,528,561,666,703,820,861,990,1035,1176,1225,1378,1431,1596,1653,1830,1891,2080,2145,2346,2415,2628,2701,2926,3003,3240,3321,3570,...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_399.asm
ljhsiun2/medusa
9
24256
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_399.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x569e, %rax nop nop nop nop nop add %rbp, %rbp mov $0x6162636465666768, %rsi movq %rs...
Structure/Relator/Function/Proofs.agda
Lolirofle/stuff-in-agda
6
17444
module Structure.Relator.Function.Proofs where import Lvl open import Logic open import Logic.Propositional open import Logic.Predicate open import Functional open import Structure.Relator.Function open import Structure.Setoid open import Structure.Setoid.Uniqueness open import Structure.Relator.Properties open i...
programs/player/dro.asm
mynameispyo/InpyoOS
0
24026
; ------------------------------------------------------------------ ; MichalOS Music Player - DRO decoder ; ------------------------------------------------------------------ start_dro: call os_check_adlib jc .adliberror .error_bypass: call os_get_memory cmp ax, 256 ; Do we have enough RAM? jl .not_enough_r...
data/mapHeaders/route4.asm
adhi-thirumala/EvoYellow
16
24798
<filename>data/mapHeaders/route4.asm Route4_h: db OVERWORLD ; tileset db ROUTE_4_HEIGHT, ROUTE_4_WIDTH ; dimensions (y, x) dw Route4Blocks, Route4TextPointers, Route4Script; blocks, texts, scripts db SOUTH | EAST ; connections SOUTH_MAP_CONNECTION ROUTE_4, ROUTE_3, -3, 22, Route3Blocks EAST_MAP_CONNECTION ROUTE_4...
programs/oeis/154/A154949.asm
neoneye/loda
22
14365
; A154949: Diagonal sums of Riordan array A154948. ; 1,1,3,5,10,18,34,62,115,211,389,715,1316,2420,4452,8188,15061,27701,50951,93713,172366,317030,583110,1072506,1972647,3628263,6673417,12274327,22576008,41523752,76374088,140473848,258371689,475219625 lpb $0 mov $2,$0 sub $0,2 seq $2,232508 ; Number of (n+1) X (...
oeis/129/A129728.asm
neoneye/loda-programs
11
104363
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A129728: a(n) = 2*(n-1) + Fibonacci(n). ; 1,3,6,9,13,18,25,35,50,73,109,166,257,403,638,1017,1629,2618,4217,6803,10986,17753,28701,46414,75073,121443,196470,317865,514285,832098,1346329,2178371,3524642,5702953,9227533,14930422,24157889,39088243,63246062,102334233,165580...
src/dev/pic.asm
programble/happy
1
27722
global pic.init, pic.mask, pic.unmask, pic.eoiMaster, pic.eoiSlave Icw1: .ICW1: equ 0001_0000b .IC4: equ 0000_0001b .SNGL: equ 0000_0010b .ADI: equ 0000_0100b .LTIM: equ 0000_1000b Icw4: .MUPM: equ 0000_0001b .AEOI: equ 0000_0010b .MS: equ 0000_0100b .BUF: equ 0000_1000b .SFNM: equ 0001_0000b Por...
SOURCE/allProjects/tempSensorAssembly/Juan's Project.asm
llanesjuan/AllMyProjects
0
8413
$NOMOD51 $NOSYMBOLS ;***************************************************************************** ; Fall 2012 Project ; ; FILE NAME : Project.ASM ; DATE : 10/28/2012 ; TARGET MCU : C8051F340 ; DESCRIPTION : Starter Code to measure the external temperature using the ; LM35DZ tempera...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_8_1674.asm
ljhsiun2/medusa
9
102353
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_UC+0x1bc6e, %rsi lea addresses_normal+0x1482e, %rdi clflush (%rsi) nop nop nop nop and %r14, %r...
src/gameover.asm
giomba/snake6502
1
95132
<filename>src/gameover.asm<gh_stars>1-10 #if VERBOSE = 1 LASTINIT SET . #endif ; Game is over ; ---------------------------------------------------------------------- gameover: lda #<gameoverString sta srcStringPointer lda #>gameoverString sta srcStringPointer + 1 lda #$00 sta dstScreenPointer...
Tests/Antlr4Tests/Threading.g4
LuizZak/Antlr4-Swift
5
5865
grammar Threading; s : expr EOF ; expr : INT # number | expr (MUL | DIV) expr # multiply | expr (ADD | SUB) expr # add ; INT : [0-9]+; MUL : '*'; DIV : '/'; ADD : '+'; SUB : '-'; WS : [ \t]+ -> channel(HIDDEN);
user/grep.asm
Hasnain62/xv6-Procject
0
99767
<gh_stars>0 user/_grep: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <matchstar>: return 0; } // matchstar: search for c*re at beginning of text int matchstar(int c, char *re, char *text) { 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4:...
programs/oeis/116/A116702.asm
neoneye/loda
22
97286
<gh_stars>10-100 ; A116702: Number of permutations of length n which avoid the patterns 123, 3241. ; 1,2,5,13,32,74,163,347,722,1480,3005,6065,12196,24470,49031,98167,196454,393044,786241,1572653,3145496,6291202,12582635,25165523,50331322,100662944,201326213,402652777,805305932,1610612270,3221224975,6442450415,12884901...
stm32l0/stm32gd-gpio-pin.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
13603
<reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>stm32l0/stm32gd-gpio-pin.adb<gh_stars>1-10 with STM32_SVD.GPIO; use STM32_SVD.GPIO; with STM32_SVD.SCB; use STM32_SVD.SCB; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.EXTI; use STM32_SVD.EXTI; with STM32_SVD.NVIC; use STM32_SVD.NVIC; with STM32_SVD.SYSCFG;...
aosvs/aosvs.ads
SMerrony/dgemua
2
1646
<reponame>SMerrony/dgemua -- MIT License -- Copyright (c) 2021 <NAME> -- 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 u...
programs/oeis/044/A044504.asm
jmorken/loda
1
2868
<filename>programs/oeis/044/A044504.asm ; A044504: Numbers n such that string 3,3 occurs in the base 6 representation of n but not of n+1. ; 21,57,93,131,165,201,237,273,309,347,381,417,453,489,525,563,597,633,669,705,741,791,813,849,885,921,957,995,1029,1065,1101,1137,1173,1211,1245,1281,1317,1353,1389,1427,1461,1497,...
tools/reboot.asm
ssbostan/zagros
21
246319
<gh_stars>10-100 ; ======================= ZagrOS ======================= ; Zagros Open Source Operating System ; <NAME> (<EMAIL>) ; Bostandoust.IR ; ======================= ZagrOS ======================= ; ==================== tools_reboot ==================== tools_reboot: push ax push si...
SOAS/Sorting.agda
JoeyEremondi/agda-soas
39
12612
<reponame>JoeyEremondi/agda-soas -- Categories with objects parameterised by a sort module SOAS.Sorting {T : Set} where open import SOAS.Common import Categories.Category.CartesianClosed.Canonical as Canonical import Categories.Category.CartesianClosed as CCC open import Categories.Category.Cocartesian open import C...
Cubical/Algebra/Monoid/Construct/Unit.agda
bijan2005/univalent-foundations
0
5027
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.Monoid.Construct.Unit where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Algebra.Monoid open import Cubical.Data.Prod using (_,_) open import Cubical.Data.Unit import Cubical.Algebra.Semigroup...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_503.asm
ljhsiun2/medusa
9
3566
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x12d30, %rsi lea addresses_D_ht+0x13fa2, %rdi add %r13, %r13 mov $47, %rcx rep movsq nop nop nop inc %r9 lea addresses_normal_ht+0x2ce0, %rsi lea addresses_WC_ht+0x196d2, %rdi ...
Task/Pointers-and-references/Ada/pointers-and-references-5.ada
LaudateCorpus1/RosettaCodeData
1
14517
Var : Integer; Var_Address : Address := Var'Address;
arch/ARM/STM32/driversL5/stm32-pka.ads
morbos/Ada_Drivers_Library
2
2597
with System; with STM32.Device; use STM32.Device; with STM32_SVD; use STM32_SVD; with STM32_SVD.PKA; use STM32_SVD.PKA; generic Curve_Name : String; Num_Bits : UInt32; Hash_Size : UInt32 := 256; package STM32.PKA is N_By_8 : constant UInt32 := (Num_Bits / 8) + (if (Num_Bits mod 8) > 0 then ...
agda-stdlib/src/Data/Nat/Reflection.agda
DreamLinuxer/popl21-artifact
5
17417
<filename>agda-stdlib/src/Data/Nat/Reflection.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Reflection utilities for ℕ ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Nat.Reflecti...
core/lib/types/Types.agda
timjb/HoTT-Agda
0
7386
{-# OPTIONS --without-K --rewriting #-} module lib.types.Types where open import lib.Basics open import lib.types.BigWedge public open import lib.types.Bool public open import lib.types.Choice public open import lib.types.Circle public open import lib.types.Cofiber public open import lib.types.CommutingSquare public ...
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hdiv.asm
Frodevan/z88dk
0
11168
<gh_stars>0 SECTION code_fp_math16 PUBLIC ___hdiv PUBLIC _f16_div EXTERN cm16_sdcc_div defc ___hdiv = cm16_sdcc_div defc _f16_div = cm16_sdcc_div
ArmPkg/Library/CompilerIntrinsicsLib/Arm/lasr.asm
christopherco/RPi-UEFI
93
175055
//------------------------------------------------------------------------------ // // Copyright (c) 2008 - 2009, Apple Inc. 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 dis...
Containers/PSFullCodeContainer.asm
SuleAlOthman/MysteryLagacyTools
17
10628
FORMAT PE GUI 4.0 ; Author : <NAME> || twitter, github (@sulealothman) ; Ver. : 0.1 ; Project Name : Powershell full-code Container by Flat Assembly (Fasm) INCLUDE 'win32ax.inc' .data wormCode db ' -ExecutionPolicy Bypass -noprofile -noexit -Command "$spl = ''\'';$vn = ''Guest'';function info { try {$mc...
DecimaltoHex/Converting_int_to_hex.asm
JaredsOSToolbox/AssemblerPrograms
0
89117
<filename>DecimaltoHex/Converting_int_to_hex.asm ; Links : https://www.aldeid.com/wiki/X86-assembly/Instructions/div ; Algorithm : https://learn.sparkfun.com/tutorials/hexadecimal/all %define STACK_SIZE 12 section .data variable: db 15, 10 large_number: dd 300 answer: db 0 hextable: db "0123456789ABCDEF" section .te...
test/testdata_vm/015 not1.asm
onlyafly/oakblue
0
170558
ADD R0 R0 1 ; 00000000 00000001 NOT R1 R0 ; 11111111 11111110 TRAP x25
dos/dev.asm
minblock/msdos
0
15865
<filename>dos/dev.asm TITLE DEV - Device call routines NAME Dev ; ; Microsoft Confidential ; Copyright (C) Microsoft Corporation 1991 ; All Rights Reserved. ; ;** Misc Routines to do 1-12 low level I/O and call devices ; ; IOFUNC ; DEVIOCALL ; SETREAD ; SETWRITE ; DEVIOCALL2 ; DEV_OPEN_SFT ; DEV_CLOSE_SFT ; RW_SC ...
maps/FuchsiaCity.asm
Dev727/ancientplatinum
28
27073
<gh_stars>10-100 object_const_def ; object_event constants const FUCHSIACITY_YOUNGSTER const FUCHSIACITY_POKEFAN_M const FUCHSIACITY_TEACHER const FUCHSIACITY_FRUIT_TREE FuchsiaCity_MapScripts: db 0 ; scene scripts db 1 ; callbacks callback MAPCALLBACK_NEWMAP, .FlyPoint .FlyPoint: setflag ENGINE_FLYPOINT_FU...
assembler/tests/t_tmpsym/t_tmpsym.asm
paulscottrobson/RCA-Cosmac-VIP-III
1
4809
<reponame>paulscottrobson/RCA-Cosmac-VIP-III<filename>assembler/tests/t_tmpsym/t_tmpsym.asm cpu 6502 ;-------------------------------------------------------------------------- ; tests of named temporary symbols ldx #00 $$loop: dex bne $$loop ldx RealSymbol cpx #00 beq skip nop skip: ...
PIShellcode/AdjustStack.asm
lawiet47/PIShellcode
1
179024
<gh_stars>1-10 ; Author: <NAME> (@mattifestation) ; License: BSD 3-Clause ; Syntax: MASM ; Build Syntax: ml64 /c /Cx AdjustStack.asm ; Output: AdjustStack.obj ; Notes: I really wanted to avoid having this external dependency but I couldn't ; come up with any other way to guarantee 16-byte stack a...
programs/oeis/168/A168153.asm
neoneye/loda
22
88521
; A168153: a(n) = n^2*(n^9 + 1)/2. ; 0,1,1026,88578,2097160,24414075,181398546,988663396,4294967328,15690529845,50000000050,142655835366,371504185416,896080197103,2024782584930,4324877929800,8796093022336,17135948153961,32134205039778,58245129449290,102400000000200,175138750271331,292159150705906,476404878957228,760840...
oeis/156/A156760.asm
neoneye/loda-programs
11
178252
; A156760: 5*4^n-1. ; 4,19,79,319,1279,5119,20479,81919,327679,1310719,5242879,20971519,83886079,335544319,1342177279,5368709119,21474836479,85899345919,343597383679,1374389534719,5497558138879,21990232555519,87960930222079,351843720888319,1407374883553279,5629499534213119,22517998136852479,90071992547409919,3602879701...
unit_tests/pixel_format_test_cases.adb
Fabien-Chouteau/sdlada
1
8475
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the...
externals/mpir-3.0.0/mpn/powerpc32/mul_1.asm
JaminChan/eos_win
12
177632
<reponame>JaminChan/eos_win<gh_stars>10-100 dnl PowerPC-32 mpn_mul_1 -- Multiply a limb vector with a limb and store the dnl result in a second limb vector. dnl Copyright 1995, 1997, 2000, 2002, 2003, 2005 Free Software Foundation, dnl Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is...
data/pokemon/base_stats/nidorino.asm
genterz/pokecross
28
241902
db NIDORINO ; 033 db 61, 72, 57, 65, 55, 55 ; hp atk def spd sat sdf db POISON, POISON ; type db 120 ; catch rate db 118 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/nidorino/front.dimen...
arch/ARM/STM32/driver_demos/demo_adc_polling/src/demo_adc_vbat_polling.adb
rocher/Ada_Drivers_Library
192
8018
<reponame>rocher/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- ...
Legacy Windows/Win95.Boobs.asm
fengjixuchui/Family
3
822
<reponame>fengjixuchui/Family ; B00bs virus ;****************************************************************************** ; THIS IS FOR EDUCATIONAL PURPOSE ONLY Gi0rGeTt0 ; ; Virus name : B00BS ; Author : Unknwon :) ; Group : iKx ; Origin : Italy 1996/97 ...
programs/oeis/121/A121568.asm
neoneye/loda
22
173225
<reponame>neoneye/loda ; A121568: Fibonacci[ (p - 1)/2 ], where p = Prime[n]. ; 1,1,2,5,8,21,34,89,377,610,2584,6765,10946,28657,121393,514229,832040,3524578,9227465,14930352,63245986,165580141,701408733,4807526976,12586269025,20365011074,53316291173,86267571272,225851433717 seq $0,67076 ; Numbers k such that 2*k + 3 ...
oeis/332/A332502.asm
neoneye/loda-programs
11
102790
<gh_stars>10-100 ; A332502: Rectangular array read by antidiagonals: T(n,k) = floor(n + k*r), where r = golden ratio = (1+sqrt(5))/2. ; Submitted by Jon Maiga ; 0,1,1,3,2,2,4,4,3,3,6,5,5,4,4,8,7,6,6,5,5,9,9,8,7,7,6,6,11,10,10,9,8,8,7,7,12,12,11,11,10,9,9,8,8,14,13,13,12,12,11,10,10,9,9,16,15,14,14,13,13,12,11,11,10,10,...
source/oasis/program-elements-object_access_types.ads
optikos/oasis
0
29905
<reponame>optikos/oasis -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Access_Types; with Program.Lexical_Elements; with Program.Elements.Subtype_Indications; package Program....
programs/oeis/071/A071122.asm
jmorken/loda
1
26383
<reponame>jmorken/loda ; A071122: a(n) = a(n-1) + sum of decimal digits of 2^n. ; 2,6,14,21,26,36,47,60,68,75,89,108,128,150,176,201,215,234,263,294,320,345,386,423,452,492,527,570,611,648,695,753,815,876,935,999,1055,1122,1193,1254,1304,1350,1406,1464,1526,1596,1664,1737,1802,1878,1958 mov $9,$0 mov $11,$0 add $11,1 ...
agda/Algebra/Construct/Free/Semilattice/Relation/Unary/All/Dec.agda
oisdk/combinatorics-paper
6
2857
<reponame>oisdk/combinatorics-paper {-# OPTIONS --cubical --safe #-} module Algebra.Construct.Free.Semilattice.Relation.Unary.All.Dec where open import Prelude hiding (⊥; ⊤) open import Algebra.Construct.Free.Semilattice.Eliminators open import Algebra.Construct.Free.Semilattice.Definition open import Cubical.Foundat...
Invertibility.agda
kztk-m/sparcl-agda
0
10236
<reponame>kztk-m/sparcl-agda<filename>Invertibility.agda {-# OPTIONS --without-K #-} module Invertibility where open import Size open import Codata.Delay renaming (length to dlength ; map to dmap ) open import Codata.Thunk using (Thunk ; force) open import Relation.Binary.PropositionalEquality open import Data.Vec.R...
src/are-generator.ads
stcarrez/resource-embedder
7
17701
----------------------------------------------------------------------- -- are-generator -- Advanced Resource Embedder Generator -- Copyright (C) 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with t...
alloy4fun_models/trashltl/models/13/Cw449rpXoY8sAuJZB.als
Kaixi26/org.alloytools.alloy
0
4317
open main pred idCw449rpXoY8sAuJZB_prop14 { always (some f : Protected | f in Trash implies f not in Protected') } pred __repair { idCw449rpXoY8sAuJZB_prop14 } check __repair { idCw449rpXoY8sAuJZB_prop14 <=> prop14o }
project/adl/arch/ARM/STM32/driver_demos/demo_timer_pwm/src/demo_pwm_adt.adb
corentingay/ada_epita
0
27406
<reponame>corentingay/ada_epita ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- ...
Library/Trans/Graphics/Vector/EPS/Export/exportPSCode.asm
steakknife/pcgeos
504
103738
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript Translation Library FILE: exportPSCode.asm AUTHOR: <NAME>, 14 Feb 1991 REVISION HISTORY: Name Date Description ---- ---...
Cubical/Relation/Binary/Raw/Bundles.agda
bijan2005/univalent-foundations
0
8083
{-# OPTIONS --cubical --no-import-sorts --safe #-} open import Cubical.Core.Everything module Cubical.Relation.Binary.Raw.Bundles {c : Level} (Carrier : Type c) where open import Cubical.Foundations.Prelude using (isSet) open import Cubical.Relation.Nullary using (¬_) open import Cubical.Relation.Binary.Base open i...
sk/sfx/A4.asm
Cancer52/flamedriver
9
28876
Sound_A4_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_A4_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cPSG1, Sound_A4_PSG1, $0F, $03 smpsHeaderSFXChannel cPSG2, Sound_A4_PSG2, $11, $04 ; PSG1 Data Sound_A4_PSG1: dc.b nRst, $03 ; PSG2 Data Sound_A4_PSG2: dc.b nRst, $0...
nes-test-roms/mmc3_irq_tests/source/prefix_mmc3.asm
joebentley/ones
1,461
164375
<reponame>joebentley/ones<gh_stars>1000+ .include "prefix_swap.a" r_set_reload = $c000 r_clear_counter = $c001 r_disable_irq = $e000 r_enable_irq = $e001 begin_mmc3_tests: lda #200 jsr delay_msec lda #$c0 ; disable frame irq sta $4017 lda #0 ...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2_notsx.log_2706_1002.asm
ljhsiun2/medusa
9
84689
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x9a0f, %rsi lea addresses_normal_ht+0x16d4f, %rdi nop nop nop nop and $17044, %rbp mov $105, %rcx rep movsq nop nop nop nop sub %r9, %r9 lea addresses_D_ht+0x1684f, %rdi nop n...
rm.asm
johnhhyang/os2
0
243578
<gh_stars>0 _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 ...
agda-stdlib/src/Algebra/Properties/DistributiveLattice.agda
DreamLinuxer/popl21-artifact
5
9274
<gh_stars>1-10 ------------------------------------------------------------------------ -- The Agda standard library -- -- Some derivable properties ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Algebra.Bundles module Algebra.Properties.Distri...
1A/S5/PIM/tps/tp6/illustrer_affectation_pile.adb
MOUDDENEHamza/ENSEEIHT
4
29629
<gh_stars>1-10 with Piles; with Ada.Text_IO; use Ada.Text_IO; -- Montrer le risque d'autoriser l'affectation entre variables dont le type -- est une structure chaînée. procedure Illustrer_Affectation_Pile is package Pile is new Piles (Character); use Pile; procedure Afficher is new Pile.Afficher (Pu...
src/realinit.asm
DosWorld/zrdx
12
541
<reponame>DosWorld/zrdx ; This file is part of the ZRDX 0.50 project ; (C) 1998, <NAME> ;real mode init routines Segm IData16 IFDEF VMM LByte SwapFileName DB 'zrdx!.swp',0 LByte SwapFileEM DB 'swap I/O error', 0 ENDIF LByte IntroMsg DB 'Zurenava DOS e...
lib/gunzip/src/ZlibArchive.asm
sharksym/vgmplay-sharksym
6
173034
; ; Zlib archive ; ZlibArchive_DEFLATE_ID: equ 8 ZlibArchive_MAX_WINDOW: equ 7 ZlibArchive: MACRO reader: dw 0 inflate: dw 0 adler32CheckEnabled: IF ZLIB_ADLER32 db 0 ENDIF adler32Checker: IF ZLIB_ADLER32 dw 0 ENDIF cm: db 0 cinfo: dd 0 flevel: dd 0 adler32: IF ZLIB_ADLER32 dd 0 END...
src/Syntax/Context.agda
DimaSamoz/temporal-type-systems
4
9636
-- Typing contexts and environments module Syntax.Context where open import Syntax.Types open import Relation.Binary using (IsPreorder) open import Relation.Binary.PropositionalEquality hiding ([_]) open import Data.Sum -- | Data types -- A type judgement with temporal qualifiers: -- a type is either inhabited now...
hello-world.asm
NilanjanTarafder/Hello-World
4
105233
<filename>hello-world.asm ; ; Simple NASM syntax assembly program for x86 (32 bit). ; ; Use commands below to assemble, link and run ($ is the prompt): ; $ nasm -f elf32 hello-world.asm ; $ gcc -m32 -o hello hello-world.o ; $ ./hello ; Hello, world! ; extern printf section .text global main main: push ebp m...
alloy4fun_models/trashltl/models/7/X5Ld3vhSksQu9rQJo.als
Kaixi26/org.alloytools.alloy
0
1874
open main pred idX5Ld3vhSksQu9rQJo_prop8 { always all f: File.link | eventually f in Trash } pred __repair { idX5Ld3vhSksQu9rQJo_prop8 } check __repair { idX5Ld3vhSksQu9rQJo_prop8 <=> prop8o }
Transynther/x86/_processed/NONE/_ht_un_/i9-9900K_12_0xa0.log_21829_47.asm
ljhsiun2/medusa
9
18438
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x35ad, %rsi lea addresses_D_ht+0x42c5, %rdi nop nop nop nop add $3602, %rbx mov $25, %rcx rep movsl and %r12, %r12 lea addresses_normal_ht+0x1a9e9, %rsi lea addresses_A_ht+0x1e3e9, %rdi ...
stm32f1/stm32gd-gpio-pin.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
11583
with STM32_SVD.GPIO; use STM32_SVD.GPIO; with STM32_SVD.AFIO; use STM32_SVD.AFIO; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32GD.GPIO.Port; package body STM32GD.GPIO.Pin is type Port_Periph_Access is access all GPIO_Peripheral; function Index return Natural is begin return GPIO_Pin'Pos (Pin); end Index; ...
programs/oeis/017/A017162.asm
karttu/loda
1
88690
<reponame>karttu/loda<gh_stars>1-10 ; A017162: a(n) = (9*n)^2. ; 0,81,324,729,1296,2025,2916,3969,5184,6561,8100,9801,11664,13689,15876,18225,20736,23409,26244,29241,32400,35721,39204,42849,46656,50625,54756,59049,63504,68121,72900,77841,82944,88209,93636,99225,104976,110889,116964,123201,129600,136161,142884,149769,15...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_105.asm
ljhsiun2/medusa
9
165621
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r9 push %rax push %rbp push %rsi // Load lea addresses_PSE+0x3a62, %rsi nop nop nop nop cmp $63374, %rbp movb (%rsi), %r13b nop nop nop nop dec %rbp // Store lea add...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_1734_775.asm
ljhsiun2/medusa
9
18750
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %r9 push %rbp push %rsi lea addresses_A_ht+0xaac, %r9 nop nop nop nop sub $2104, %r11 mov (%r9), %r8 xor %r12, %r12 lea addresses_WC_ht+0x1bbf5, %rsi nop nop sub $18273, %rbp mov (%rsi), %r8 add $45609, %r12 lea addresses_A_ht+0x62...
Asm4Kids/1begin.asm
jacmoe/c64adventures
17
98620
; 10 SYS (49152) *=$0801 BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00 jsr $e544 rts
non_regression/other_x86_macosx_5.s.asm
LRGH/plasmasm
1
162757
<reponame>LRGH/plasmasm .macosx_version_min 10, 12 .section __TEXT,__text,regular,pure_instructions .align 4, 0x90 .globl _exclude_add_pattern_buffer _exclude_add_pattern_buffer: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi subl $16, %esp movl 8(%ebp), %esi movl 12(%...
src/jmploop.asm
ceanrim/CarmiNES
2
90455
;; I needed this to test the behaviour of V-Blanks when ;; I didn't touch the PPU for an entire frame ;; I wrote those files' roms directly in machine code, ;; I'm only providing the source code for completeness but don't expect ;; these to be in any standard format ;; ============================================...
asminator/prgs/multtest.asm
mgohde/MiniMicroII
0
175574
xor r0,r0,r0 xor r1,r1,r1 xor r2,r2,r2 xor r3,r3,r3 xor r4,r4,r4 xor r5,r5,r5 xor r6,r6,r6 ldl $-1 lsr r0,r7,r0 ldl #main jmp r0,r7,r0 >val1 . 10 >val2 . 10 >main ldl #val1 load r0,r7,r1 ldl #val2 load r0,r7,r2 ldl #mult call r0,r7,r0 and r3,r3,r1 and r3,r3,r1 ldl #printhex call r0,r7,r0 hlt >mult push r4,r0,r0 ldl $0 ...