content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
; A020331: Numbers whose base-3 representation is the juxtaposition of two identical strings.
; 4,8,30,40,50,60,70,80,252,280,308,336,364,392,420,448,476,504,532,560,588,616,644,672,700,728,2214,2296,2378,2460,2542,2624,2706,2788,2870,2952,3034,3116,3198,3280,3362,3444,3526,3608,3690,3772,3854,3936,4018
mov $2,$0
add ... | 27.4 | 210 | 0.705596 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/020/A020331.asm | 411 | Assembly |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 0f in $0xf,%al
8010000c <entry>:... | 37.526885 | 74 | 0.5374 | [
"MIT-0"
] | tphan022/AssignmentTestCases | kernel.asm | 665,802 | Assembly |
; A204539: a(n) = number of integers N=4k whose "basin" sequence (cf. comment) ends in n^2.
; 1,1,1,2,1,3,2,4,2,4,3,5,1,9,2,10,3,5,7,9,2,10,9,9,2,13,9,8,4,20,4,15,6,15,8,12,6,22,6,15,15,21,5,13,12,23,7,24,11,19,15,24,6,30,6,26,7,27,26,13,6,33,27,30,5,13,30,30,5,37,15,26,28,32,7,17,25,54,9,30,21,41,25,11,13,47,30,43,11,... | 32.764706 | 714 | 0.593357 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/204/A204539.asm | 1,114 | Assembly |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... | 25.756098 | 84 | 0.488636 | [
"MIT"
] | Axoosha/icebox | third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/Ia32/ReadCr4.asm | 1,056 | Assembly |
; A214091: a(n) = 3^n - 2^(n+2).
; -3,-5,-7,-5,17,115,473,1675,5537,17635,54953,168955,515057,1561555,4717433,14217835,42784577,128615875,386371913,1160164315,3482590097,10451964595,31364282393,94109624395,282362427617,847154391715,2541597392873,7625060614075,22875718713137,68628229881235,205886837127353,61766480634935... | 51 | 500 | 0.826797 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/214/A214091.asm | 612 | Assembly |
; A142140: Primes congruent to 31 mod 37.
; Submitted by Jon Maiga
; 31,179,401,919,1289,1511,1733,2029,2251,2399,2473,2621,2843,2917,3361,3583,4027,4397,5507,5581,6173,6247,6469,6691,7283,7727,7949,8171,8467,8689,8837,9059,9133,9281,10169,10243,10391,10613,10687,10909,11057,11131,11279,11353,12241,12611,12907,13499,13... | 33.44 | 496 | 0.72488 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/142/A142140.asm | 836 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x916f, %r9
nop
nop
nop
xor %r15, %r15
movw $0x6162, (%r9)
nop
nop
nop
nop
nop
sub %rax, %rax
lea addresses_WT_ht+0xc30f, %rsi
sub %rbx, %rbx
movb $0x61, (%rsi)
n... | 37.280899 | 2,999 | 0.6522 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1125.asm | 6,636 | Assembly |
; A010689: Periodic sequence: Repeat 1, 8.
; 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1
mod $0,2
mov $1,8
pow $1,$0
| 40.571429 | 211 | 0.53169 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/010/A010689.asm | 284 | Assembly |
; 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... | 37.198938 | 85 | 0.456873 | [
"BSD-2-Clause"
] | cgisquet/dav1d | src/x86/itx.asm | 217,095 | Assembly |
; Program 5.3
; Nested for Loop - NASM (64-bit)
; Copyright (c) 2017 Hall & Slonka
SECTION .text
global _main
_main:
xor rax, rax
mov rbx, 2
outer:
mov rcx, 3
inner:
inc rax
dec rcx
cmp rcx, 0
jne inner
dec rbx
cmp rbx, 0
jne outer
mov rax, 60
xor rdi, rdi
syscall
| 12.4 | 34 | 0.603226 | [
"MIT"
] | LaudateCorpus1/Assembly-1 | Chapter_5/Program 5.3/x86_64/Program_5.3_NASM.asm | 310 | Assembly |
; A127981: a(n) = (n + 1/3)*2^(n-1) - 1/2 + (-1)^(n-1)*(1/6).
; 1,4,13,34,85,202,469,1066,2389,5290,11605,25258,54613,117418,251221,535210,1135957,2402986,5068117,10660522,22369621,46836394,97867093,204122794,425022805,883600042,1834308949,3802835626,7874106709,16285084330,33643910485,69435304618,143165576533,294921087... | 56.636364 | 493 | 0.802568 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/127/A127981.asm | 623 | Assembly |
;
; Automatically generated
;
.include "00start.asm"
.section code
.send code
| 10 | 25 | 0.725 | [
"MIT"
] | paulscottrobson/6502-Basic | source/header/header.asm | 80 | Assembly |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_SSE41 proto VECCALL (byte)
align 16
uXm_has_SSE41 proc VECCALL (byte)
mov eax, 1
... | 13.7 | 76 | 0.611314 | [
"MIT"
] | Navegos/uasmlib | src/host/x86/asm/has/uXmhasSSE41.asm | 548 | Assembly |
SECTION "loading data state handler", ROM0
state_loading_data:
jp main
| 18 | 42 | 0.805556 | [
"MIT"
] | Xeyler/gb-hello-world | src/state_handlers/loading_data.asm | 72 | Assembly |
%ifdef flag
hellostring: db "hello", 0
%endif | 15 | 26 | 0.733333 | [
"MIT"
] | zhoujiagen/learning-c | codes/low-level/ch05/defining_in_cla.asm | 45 | Assembly |
Name: zel_com1.asm
Type: file
Size: 5067
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: FD8054824871F1803FA5176F2FF8D8D12DABBC25
Description: null
| 20.714286 | 47 | 0.813793 | [
"MIT"
] | prismotizm/gigaleak | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_com1.asm | 145 | Assembly |
[BotW_FenceMethod_V208]
moduleMatches = 0x6267BFD0
.origin = codecave
# variables
_fenceMethod: # stores fence method mode from preset
.int $fenceMethod
_conditionalPerformanceFence:
lis r11, _fenceMethod@ha
lwz r11, _fenceMethod@l(r11) ; Load the fence method value
cmpwi r11, 1 ; Compare the skip fence method with ... | 65.783784 | 243 | 0.794166 | [
"CC0-1.0"
] | ActualMandM/cemu_graphic_packs | src/BreathOfTheWild/Mods/FPS++/patch_FenceMethod.asm | 2,434 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1e46b, %rsi
lea addresses_normal_ht+0xc443, %rdi
sub $43097, %r15
mov $58, %rcx
rep movsq
nop
nop
nop
nop
and %rax, %rax
lea addresses_normal_ht+0xd838, %rdx
nop
nop
nop
cmp %rsi, %rsi... | 43.282443 | 2,999 | 0.656085 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_21829_975.asm | 5,670 | Assembly |
; Copyright (C) 2019 Philippe Aubertin.
; 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 copyright
; notice, this list of condition... | 32.180851 | 79 | 0.684298 | [
"BSD-3-Clause"
] | phaubertin/jinue | lib/jinue/getcontext.asm | 3,025 | Assembly |
include macr.inc
include ex_macr.inc
.286
.model small
.stack 64
.data
include arrs.inc ; Contains all the arrays of images
nl db 10,13,'$'
Enter_Name_message0 db 'Press Enter key to continue ', '$'
Enter_Name_message db 'Please enter Your Name: ', '$'
Enter_SECOND_Name_message db 'Please en... | 24.821287 | 167 | 0.646164 | [
"MIT"
] | Ahmed-ata112/processor_simulation_game | Phase 1/mainGame.asm | 50,139 | Assembly |
#define BASE_ADDR_0 0x00000000 // (core 0)
#define BASE_ADDR_1 0x02000000 // (core 1)
#define BASE_ADDR_2 0x04000000 // (core 2)
#define BASE_ADDR_3 0x06000000 // (core 3)
#int main1() {
#
# int *arr2 = (int *) BASE_ADDR_2; // data mapped on core 2
# int temp = 0;
#
# *(arr2+1) = 1; // migrates to core 2 (guest conte... | 12.820896 | 59 | 0.56461 | [
"MIT"
] | ilebedev/stacktool | tests/emra/EM_MODE/asm/EM08_core1.asm | 859 | Assembly |
; A127233: a(n) = n!*(n*(n+1)/2)!.
; Submitted by Jon Maiga
; 1,1,12,4320,87091200,156920924160000,36785478363630796800000,1536637256843037856927580160000000,14998770936168817088309737749441675264000000000,43408511507665453002645192043544271642563569306828800000000000
mov $2,$0
seq $0,52295 ; a(n) = (n*(n+1)/2)!.
lpb ... | 31.818182 | 208 | 0.762857 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/127/A127233.asm | 350 | Assembly |
; A139487: Numbers k such that 8k + 7 is prime.
; Submitted by Jon Maiga
; 0,2,3,5,8,9,12,15,18,20,23,24,27,29,32,33,38,44,45,47,53,54,57,59,60,62,74,75,78,80,89,90,92,93,102,104,107,110,113,114,120,122,123,128,129,132,135,137,143,152,153,159,162,164,165,170,174,177,179,180,183,185,188,192,194,195,197,200,207,219,222,2... | 29.695652 | 361 | 0.658858 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/139/A139487.asm | 683 | Assembly |
; A274616: Maximal number of non-attacking queens on a right triangular board with n cells on each side.
; 0,1,1,2,2,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,23,23,24,25,25,26,27,27,28,29,29,30,31,31,32,33,33,34,35,35,36,37,37,38,39,39,40,41,41,42,43,43,44,45,45,46,47,47,48,49,49,50,... | 85.083333 | 836 | 0.696376 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/274/A274616.asm | 1,021 | Assembly |
start
lda msg
puts
halt
msg string "hello, world!"
| 10.857143 | 26 | 0.5 | [
"MIT"
] | siraben/awk-vm | hello.asm | 76 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
003AE6 move.w (A1)+, D0 [1p+20, 1p+22, boss+20, boss+22, container+20, container+22, enemy+20, enemy+22, weapon+20, weapon+22]
003B0C movea.l ($20,A6), A1 [1p+20, 1p+22, boss+20, boss+22, container+20, container+22, enemy+20, enemy+22, weapon+20, weapon+22]
003... | 52.818182 | 131 | 0.685026 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | ffight/lcs/1p/20.asm | 581 | Assembly |
; A037824: Number of i such that d(i)>d(i-1), where Sum{d(i)*9^i: i=0,1,....,m} is base 9 representation of n.
; 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1
lpb $0
add $0,1
mod $0... | 30.75 | 181 | 0.533875 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/037/A037824.asm | 369 | Assembly |
; A183091: a(n) is the product of the divisors p^k of n where p is prime and k >= 1.
; Submitted by Christian Krause
; 1,2,3,8,5,6,7,64,27,10,11,24,13,14,15,1024,17,54,19,40,21,22,23,192,125,26,729,56,29,30,31,32768,33,34,35,216,37,38,39,320,41,42,43,88,135,46,47,3072,343,250,51,104,53,1458,55,448,57,58,59,120,61,62,18... | 24.451613 | 341 | 0.585752 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/183/A183091.asm | 758 | Assembly |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... | 32.056228 | 80 | 0.367837 | [
"Apache-2.0"
] | idesai/ipp-crypto | sources/ippcp/asm_ia32_gas_converted/linux/pic/h9/merged/pcpsha256g9as.asm | 45,039 | Assembly |
; A170119: Number of reduced words of length n in Coxeter group on 14 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I.
; 1,14,182,2366,30758,399854,5198102,67575326,878479238,11420230094,148462991222,1930018885886,25090245516518,326173191714734,4240251492291542,55123269399790046,716602502197270598
add $0,1
mo... | 28.928571 | 179 | 0.748148 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/170/A170119.asm | 405 | Assembly |
; A125168: a(n) = gcd(n, A032741(n)) where A032741(n) is the number of proper divisors of n.
; 1,1,1,2,1,3,1,1,1,1,1,1,1,1,3,4,1,1,1,5,3,1,1,1,1,1,3,1,1,1,1,1,3,1,1,4,1,1,3,1,1,7,1,1,5,1,1,3,1,5,3,1,1,1,1,7,3,1,1,1,1,1,1,2,1,1,1,1,3,7,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,3,1,1,1,1,1,1,4,1,1,1,1,7,1,1,1,1,1,3,1,1... | 62.333333 | 506 | 0.544118 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/125/A125168.asm | 748 | Assembly |
.MACRO LKS_Clear_RAM
/*
ldy #$0000
sty 0
ldx #$0000
-:
sty 0,x
inx
inx
sty 0,x
inx
inx
cpx #$2000
bne -
*/
rep #$20
lda #0
ldx #$00
-:
sta $7E0000,x
inx
inx
sta $7E0000,x
inx
inx
cpx #$8000
bne -
sep #$20
.ENDM
.MACRO LKS_Clear_VRAM
SNES_VMA... | 8.633333 | 21 | 0.561133 | [
"MIT"
] | Kannagi/Super-Kannagi-Sound | LKS/MC_Clear.asm | 777 | Assembly |
; A024442: Expansion of 1/((1-x)(1-7x)(1-9x)(1-11x)).
; Submitted by Jon Maiga
; 1,28,518,7988,111279,1454376,18208156,221140696,2626932077,30692791844,354119115714,4046102802924,45880411771195,517157095113232,5801772397167992,64842434348911472,722511991410929433
add $0,2
lpb $0
sub $0,1
add $2,1
mul $2,7
mul ... | 22.588235 | 184 | 0.713542 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/024/A024442.asm | 384 | Assembly |
; A004495: Tersum n + 6.
; 6,7,8,0,1,2,3,4,5,15,16,17,9,10,11,12,13,14,24,25,26,18,19,20,21,22,23,33,34,35,27,28,29,30,31,32,42,43,44,36,37,38,39,40,41,51,52,53,45,46,47,48,49,50,60,61,62,54
mov $3,$0
mod $0,9
mov $1,896
add $1,$3
mov $2,7
lpb $0,1
mov $0,2
sub $1,$2
sub $1,2
lpe
sub $1,890
| 19.933333 | 165 | 0.595318 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/004/A004495.asm | 299 | Assembly |
#---------------------------------------data#
.data
#---------------------------------------word#
arraySize :
.word 10
givenArray :
.word 0 3 2 5 1 8 7 9 4 6
#---------------------------------------asciiz#
filename :
.asciiz "\nBubbleSort.asm\n"
description :
.asciiz "Sorts the given integers in ... | 26.324138 | 92 | 0.403982 | [
"MIT"
] | seydanurdemir/cpp-builder-vcl-components-examples | FileContentForm/AsmFiles/CSE312_HW1_121044042/BubbleSort.asm | 3,817 | Assembly |
TITLE HELP - Loader for DOS Online Help
;***
;HELP - Load QBASIC.EXE with /QHELP switch to start DOS Help Viewer
;
; Copyright (C) 1990, Microsoft Corporation
;
;Purpose:
; This file implements HELP.COM. The purpose of this com file
; is to invoke QBASIC.EXE with the /QHELP switch, passing on all
; other command line ... | 28.295082 | 80 | 0.677144 | [
"Apache-2.0"
] | minblock/msdos | 45/qb5/ir/help.asm | 6,904 | Assembly |
arch pce.cpu
origin $88f1;
jsr $896A
jsr $896A
jsr $896A
nop
nop
done:
rts | 9.9 | 13 | 0.545455 | [
"MIT"
] | konkers/neutopia | rando/src/asm/text-speedup.asm | 99 | Assembly |
; A169727: a(n) = 3*(2^(n+1)-2)*(2^(n+1)-1) + 1.
; 1,19,127,631,2791,11719,48007,194311,781831,3136519,12564487,50294791,201252871,805158919,3220930567,12884312071,51538427911,206156070919,824629002247,3298525446151,13194120658951,52776520384519,211106157035527,844424779137031,3377699418537991
mov $1,2
pow $1,$0
sub $... | 29.230769 | 245 | 0.744737 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/169/A169727.asm | 380 | Assembly |
INCLUDE "hardware.inc"
INCLUDE "macros.inc"
DEF STATUS_BAR_TILE_OFFSET EQUS "(((StatusBarVRAM - $8800) / 16) + 128)"
DEF MENUBAR_TILE_OFFSET EQUS "(((MenuBarTilesVRAM - $8800) / 16) + 128)"
DEF NUMBER_TILE_OFFSET EQUS "(((MenuBarNumbersVRAM - $8800) / 16) + 128)"
DEF MENU_BAR_ANIM_SPEED EQU 3 ; How fast the menu bar o... | 28.733898 | 110 | 0.638294 | [
"MIT"
] | QuinnPainter/Renegade-Rush | src/ingameui.asm | 16,953 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x9cd7, %rdx
nop
nop
nop
lfence
movb $0x61, (%rdx)
nop
xor $45044, %r8
lea addresses_normal_ht+0xeadf, %rsi
lea addresses_D_ht+0x5d77, %rdi
nop
nop
nop
nop
add $24541, %r8
... | 46.50495 | 2,999 | 0.66468 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1583.asm | 4,697 | Assembly |
; A035344: Expansion of 1/((1 - x)*(1 - 4*x + 2 * x^2)).
; 1,5,19,67,231,791,2703,9231,31519,107615,367423,1254463,4283007,14623103,49926399,170459391,581984767,1987020287,6784111615,23162405887,79081400319,270000789503,921840357375
mov $1,2
lpb $0,1
sub $0,1
add $2,$1
mul $1,2
add $1,$2
lpe
sub $1,1
| 25.916667 | 175 | 0.694534 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/035/A035344.asm | 311 | Assembly |
.byte $00 ; Unknown purpose
.byte OBJ_THWOMP, $09, $04
.byte OBJ_ROTODISCCCLOCKWISE, $14, $15
.byte OBJ_ROTODISCCLOCKWISE, $1C, $15
.byte OBJ_ROTODISCCCLOCKWISE, $23, $15
.byte OBJ_THWOMP, $24, $04
.byte OBJ_ROTODISCCLOCKWISE, $28, $15
.byte OBJ_BOOMBOOMJUMP, $4D, $17
.byte $FF ; Terminator
| 27.454545 | 39 | 0.708609 | [
"Unlicense"
] | narfman0/smb3_pp1 | PRG/objects/D309.asm | 302 | Assembly |
include "../../asrt.i"
include "../../err.asm"
include "../../math.asm"
include "../../numb/nextChar.asm"
include "../../numb/tryConversion.asm"
setvecs: sd a0, zpV(x0)
jalr x0, 0(ra)
setword: sd a0, zpWordStart(x0)
sd a1, zpWordLength(x0)
jalr x0, 0(ra)
; When attempting to convert a word into a num... | 20.355263 | 83 | 0.699741 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | KestrelComputer/kestrel | software/src/forth/OLD/numb/test/tryConversion.asm | 3,094 | Assembly |
SECTION code_fp_dai32
PUBLIC l_f32_div
EXTERN ___dai32_setup_arith
EXTERN ___dai32_xfdiv
EXTERN ___dai32_return
l_f32_div:
call ___dai32_setup_arith
call ___dai32_xfdiv
jp ___dai32_return
| 13.4 | 28 | 0.845771 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/math/daimath32/c/sccz80/l_f32_div.asm | 201 | Assembly |
;
; bin2asm by Altomcat/Sector One Jan/95
;
;fichier de base : GOODBYE.BIN
DD 08B208B1h,0A208A20h,0A300A76h,0A340A2Eh,0A200A38h
DD 08B208DBh,08B108B2h,08B108B1h,08B008B0h,08B008B0h
DD 08B008B0h,08200820h,08200820h,08200820h,08200820h
DD 08200820h,08200820h,08200820h,08200820h,08200820h
DD 08200820h,08200... | 53.758454 | 58 | 0.871316 | [
"Apache-2.0"
] | gidouin/pacifist-emulator | goodbye.asm | 11,128 | Assembly |
; A114327: Table T(n,m) = n - m read by upwards antidiagonals.
; 0,1,-1,2,0,-2,3,1,-1,-3,4,2,0,-2,-4,5,3,1,-1,-3,-5,6,4,2,0,-2,-4,-6,7,5,3,1,-1,-3,-5,-7,8,6,4,2,0,-2,-4,-6,-8,9,7,5,3,1,-1,-3,-5,-7,-9,10,8,6,4,2,0,-2,-4,-6,-8,-10,11,9,7,5,3,1,-1,-3,-5,-7,-9,-11,12,10,8,6,4,2,0,-2,-4,-6,-8,-10,-12,13,11,9,7,5,3,1,-1,-3,-... | 40.25 | 700 | 0.487578 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/114/A114327.asm | 966 | Assembly |
;
; jdsample.asm - upsampling (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, D. R. Commander.
; Copyright (C) 2018, Matthias Räncker.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of dist... | 35.277778 | 80 | 0.513684 | [
"Apache-2.0"
] | IntelRealSense/RealSenseID | 3rdparty/libjpeg-turbo_2_1_0/simd/x86_64/jdsample-sse2.asm | 23,496 | Assembly |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.3.9600-sp0-windows-8.1 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtWorkerFactoryWorkerReady( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtWorkerFactory... | 22.584553 | 342 | 0.792799 | [
"BSD-3-Clause"
] | rmusser01/windows-syscall-table | project/ntstub/i386/6_3_9600_sp0_ssdt_sysenter.asm | 166,674 | Assembly |
; A066997: Survivor number for 2nd-order Josephus problem.
; 2,2,3,4,4,4,5,6,7,8,8,8,8,8,9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,33,34,35,36,37,38,39,40
mov $2,2
add $2,$0
mov $0,$2
mov $3,1
mov $5,$2
lpb $0,1
trn ... | 22.222222 | 196 | 0.6 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/066/A066997.asm | 400 | Assembly |
global _string_chomp
_string_chomp:
push bp
mov bp, sp
mov ax, [bp+4]
call os_string_chomp
pop bp
ret
| 10 | 24 | 0.615385 | [
"BSD-2-Clause"
] | I8087/libm | src/string_chomp.asm | 130 | Assembly |
; ***************************************************************************************
; ***************************************************************************************
;
; Name : vocabulary.asm
; Author : Paul Robson (paul@robsons.org.uk)
; Date : 22nd December 2018
; Purpose : Core vocabulary
;
; *... | 17.297386 | 89 | 0.38806 | [
"MIT"
] | paulscottrobson/flat-forth-compiler | vocabulary/__words.asm | 5,293 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x6dee, %rsi
lea addresses_normal_ht+0xfdee, %rdi
nop
cmp %rbx, %rbx
mov $78, %rcx
rep movsq
nop
nop
nop
nop
nop
add $58367, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r13
ret
.global s_faulty_load... | 34.061856 | 2,999 | 0.64997 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NC/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_15519_522.asm | 6,608 | Assembly |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC sms_01_output_terminal_tty_z88dk_stdio_msg_ictl
EXTERN asm_vioctl_driver, asm_tty_reset, l_offset_ix_de
EXTERN sms_01_output_terminal_stdio_msg_ictl
sms_01_output_terminal_tty_z88dk_stdio_msg_ictl:
; enter : de = request
; bc = first para... | 21.4 | 67 | 0.654206 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/target/sms/driver/terminal/sms_01_output_terminal_tty_z88dk/sms_01_output_terminal_tty_z88dk_stdio_msg_ictl.asm | 963 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1ac51, %rdi
nop
nop
nop
nop
nop
xor %rdx, %rdx
mov $0x6162636465666768, %rbp
movq %rbp, (%rdi)
nop
add %rbp, %rbp
lea addresses_normal_ht+0x11e25, %rax
nop
nop
... | 32.216535 | 2,999 | 0.651106 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_897.asm | 8,183 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... | 25.316583 | 79 | 0.669115 | [
"BSD-3-Clause"
] | Danliran/isa-l | erasure_code/gf_3vect_dot_prod_avx2.asm | 10,076 | Assembly |
; A339051: Even bisection of the infinite Fibonacci word A096270.
; 0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0
mul $0,2
add $0,1
seq $0,189661 ; Fixed point of the morphism 0->010, 1->10 sta... | 42.875 | 173 | 0.603499 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/339/A339051.asm | 343 | Assembly |
TIME_TRAVEL_SAVED_EQUIPS:
.word 0x00000000 ; B and C buttons
.word 0x00000000 ; C button indexes
.halfword 0x0000 ; Equipment
.halfword 0x0000 ; Owned equipment
.align 4
give_master_sword: ; Puts MS in Equipment Only
li t0, SAVE_CONTEXT
lh t1, 0x9C(t0) ; Equipment
ori t2, t1, 2 ... | 24.722772 | 99 | 0.522627 | [
"MIT"
] | AntiBlueQuirk/OoT-Randomizer | ASM/src/time_travel.asm | 7,491 | Assembly |
; A020083: a(n) = floor( Gamma(n + 3/5)/Gamma(3/5) ).
; Submitted by Jamie Morken(s3)
; 1,0,0,2,8,41,231,1527,11610,99850,958561,10160755,117864768,1485096081,20197306708,294880677941,4600138575887,76362300359740,1343976486331425,24997962645764522,489960067856984638,10093177397853883551,218012631793643884711,4927085478... | 35.9 | 483 | 0.802228 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/020/A020083.asm | 718 | Assembly |
mov ah, 0x0e ; tty mode
mov bp, 0x8000 ; this is an address far away from 0x7c00 so that we don't get overwritten
mov sp, bp ; if the stack is empty then sp points to bp
push 'A'
push 'B'
push 'C'
; tug test,bp address is 0x8000 ,I mov 'T' into this address,otherwise it is null ,it wont work
;mov al,'T'
;mov [0x8000... | 19.063492 | 95 | 0.677769 | [
"BSD-3-Clause"
] | BrandWarden/os-tutorial | 04-bootsector-stack/boot_sect_stack.asm | 1,201 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13d1a, %rax
nop
nop
nop
nop
xor $62660, %r14
mov $0x6162636465666768, %r8
movq %r8, (%rax)
dec %rsi
lea addresses_WC_ht+0x232e, %rsi
lea addresses_WT_ht+0x311a, %rdi
nop
nop
... | 22.331633 | 344 | 0.650674 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_st_/i7-8650U_0xd2.log_115_979.asm | 4,377 | Assembly |
;-------------------------------------------------------------------
; Praktikum SMD 2015
; M.Wahyudin (140310120031)
;
; Name : LATIH29.ASM (SERIKIR)
; Desc : Mengirimkan data serial 0 - 255, baudrate 1200
; Input : -
; Output: Serial pin P3.0 & P3.1
;-----------------------------------------------------------------... | 24.666667 | 68 | 0.501229 | [
"MIT"
] | hyuwah/fu-praktikum-smd | Modul 6/serikir.asm | 814 | Assembly |
; A028429: Clog sequence in base 8. Right to left concatenation of n, int(log_8(n)),int(log_8(int(log_8(n)))),... in base8.
; 1,2,3,4,5,6,7,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,... | 35.636364 | 203 | 0.663265 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/028/A028429.asm | 392 | Assembly |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
PUBLIC ct_is_square_mod_384
ALIGN 32
ct_is_square_mod_384 PROC PUBLIC
DB 243,15,30,250
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov r11,rsp
$L$SEH_begin_ct_is_square_mod_384::
mov rdi,rcx
mov rsi,rdx
push rbp
push rbx
push r12
p... | 15.072549 | 54 | 0.717575 | [
"Apache-2.0"
] | ajsutton/blst | build/win64/ct_is_square_mod_384-x86_64.asm | 7,687 | Assembly |
div16_16:
CLR C ;Clear carry initially
MOV R4,#00h ;Clear R4 working variable initially
MOV R5,#00h ;CLear R5 working variable initially
MOV B,#00h ;Clear B since B will count the number of left-shifted bits
div1:
INC B ;Increment counter for each left shift
MOV A,R2 ;Move the current... | 47.782609 | 90 | 0.694722 | [
"MIT"
] | pedroam14/nbody3d | test.asm | 2,198 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xd765, %r13
xor %rsi, %rsi
vmovups (%r13), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r14
dec %r14
lea addresses_A_ht+0x19fae, %r14
nop
nop
sub $16940, %rdx
movw $... | 38.032967 | 2,999 | 0.656602 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21829_1517.asm | 6,922 | Assembly |
; A131731: Period 4: repeat [2, -3, 4, -3].
; 2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3,2,-3,4,-3
gcd $0,4
pow $0,2
add $0,1
mul $0,4
mov $1,... | 21.190476 | 231 | 0.442697 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/131/A131731.asm | 445 | Assembly |
; A224329: Number of idempotent n X n 0..4 matrices of rank n-1.
; 1,18,147,996,6245,37494,218743,1249992,7031241,39062490,214843739,1171874988,6347656237,34179687486,183105468735,976562499984,5187988281233,27465820312482,144958496093731,762939453124980,4005432128906229
mov $3,$0
lpb $0
sub $0,1
mov $2,5
lpe
add $... | 22.941176 | 205 | 0.746154 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/224/A224329.asm | 390 | Assembly |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... | 33.82804 | 70 | 0.427574 | [
"Apache-2.0",
"MIT-0"
] | KaushikKPDARE/xv6-Clone-System-Call | zombie.asm | 43,672 | Assembly |
; A010167: Continued fraction for sqrt(96).
; 9,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1,18,1,3,1
seq $0,40304 ; Continued fraction for sqrt(322).
... | 43.375 | 225 | 0.599424 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/010/A010167.asm | 347 | Assembly |
; A168964: Number of reduced words of length n in Coxeter group on 47 generators S_i with relations (S_i)^2 = (S_i S_j)^22 = I.
; 1,47,2162,99452,4574792,210440432,9680259872,445291954112,20483429889152,942237774900992,43342937645445632,1993775131690499072,91713656057762957312,4218828178657096036352,1940660962182264176... | 30.214286 | 197 | 0.763593 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/168/A168964.asm | 423 | Assembly |
/******************************************************************
* Copyright (C) 2015-2021 Henrik Holmdahl <henrikh.git@gmail.com>
******************************************************************/
.filenamespace AnimationTrigger
//
.segment Zeropage "AnimationTrigger zeropage data"
zpBoundaryDa... | 29.214178 | 130 | 0.518457 | [
"MIT"
] | hhprg/C64Engine | Source/AnimationTrigger.asm | 19,369 | Assembly |
; A005752: a(n) = n^2 + n*floor(n*tau) - floor(n*tau)^2.
; 0,1,1,5,4,1,9,5,16,11,4,19,11,1,20,9,31,19,5,31,16,45,29,11,44,25,4,41,19,59,36,11,55,29,1,49,20,71,41,9,64,31,89,55,19,81,44,5,71,31,100,59,16,89,45,121,76,29,109
mov $1,$0
pow $0,2
lpb $0,1
mov $3,$0
add $0,3
add $1,2
sub $0,$1
trn $0,2
mov $2,$3... | 19.578947 | 165 | 0.561828 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/005/A005752.asm | 372 | Assembly |
; $Id: ASMCpuId.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; IPRT - ASMCpuIdExSlow().
;
;
; Copyright (C) 2012-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modif... | 29.241071 | 97 | 0.534046 | [
"MIT"
] | Nurzamal/rest_api_docker | vbox/src/VBox/Runtime/common/asm/ASMCpuId.asm | 3,275 | Assembly |
; A119282: Alternating sum of the first n Fibonacci numbers.
; 0,-1,0,-2,1,-4,4,-9,12,-22,33,-56,88,-145,232,-378,609,-988,1596,-2585,4180,-6766,10945,-17712,28656,-46369,75024,-121394,196417,-317812,514228,-832041,1346268,-2178310,3524577,-5702888,9227464,-14930353,24157816,-39088170,63245985,-102334156,165580140,-267... | 67.428571 | 779 | 0.797669 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/119/A119282.asm | 944 | Assembly |
; subroutine for reading the contents of a "struct sp1_pss" into registers
; 02.2008 aralbrec
; ts2068 hi-res version
PUBLIC SP1PSPOP
; enter : de = & string to print (or something else)
; hl = & struct sp1_pss to read
;
; exit : hl = address of string to print
; e = flags (bit 0 = invalidate?, bi... | 24.673469 | 88 | 0.509512 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/sprites/software/sp1/ts2068hr/tiles/SP1PSPOP.asm | 1,209 | Assembly |
; A185346: a(n) = 2^n - 9.
; -8,-7,-5,-1,7,23,55,119,247,503,1015,2039,4087,8183,16375,32759,65527,131063,262135,524279,1048567,2097143,4194295,8388599,16777207,33554423,67108855,134217719,268435447,536870903,1073741815,2147483639,4294967287,8589934583,17179869175,34359738359,68719476727,137438953463,274877906935,54975... | 82 | 517 | 0.844948 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/185/A185346.asm | 574 | Assembly |
; int ilogb(float x) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_ilogb_fastcall
EXTERN cm48_sdccixp_dx2m48, am48_ilogb
cm48_sdccix_ilogb_fastcall:
call cm48_sdccixp_dx2m48
jp am48_ilogb
| 14.6875 | 38 | 0.829787 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_ilogb_fastcall.asm | 235 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 s... | 25.705357 | 79 | 0.670372 | [
"BSD-3-Clause"
] | steinwurf/storage-benchmarks | isa-l_open_src_2.13/isa/gf_4vect_dot_prod_avx.asm | 11,516 | Assembly |
bits 64
aesenc xmm0,xmm4
vaesenc zmm0,zmm0,zmm4
vpclmullqlqdq zmm1,zmm1,zmm5
vpclmulqdq zmm0, zmm1, zmm2, 0
vaesenclast zmm0, zmm1, zmm2
bits 32
aesenc xmm0,xmm4
vaesenc zmm0,zmm0,zmm4
vpclmullqlqdq zmm1,zmm1,zmm5
vpclmulqdq zmm0, zmm1, zmm2, 0
vaesenclast zmm0, zmm1, zmm2
bits 16
aesenc xmm0,xmm4
vaes... | 20.52381 | 31 | 0.765661 | [
"BSD-2-Clause"
] | ElyesH/nasm | travis/test/vaesenc.asm | 431 | Assembly |
;
; jsimdcpu.asm - SIMD instruction support check
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2016, D. R. Commander.
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in ... | 26.875 | 78 | 0.553023 | [
"Apache-2.0"
] | DeviceFarmer/android-libjpeg-turbo | jni/vendor/libjpeg-turbo/libjpeg-turbo-2.0.1/simd/x86_64/jsimdcpu.asm | 2,150 | Assembly |
MOV A,#02 ;Move 1st data in accumulator
MOV B,#04 ;Move 2nd data in accumulator
MUL AB ;Multiply both data
MOV dptr,#4150 ;Load the address of data pointer
MOVX @dptr, A ;Store the lower byte
INC dptr ;Increment data pointer
MOV A,B ;Move content of B t... | 45.444444 | 53 | 0.613692 | [
"MIT"
] | iamvk1437k/mpmc | 8051/14arith/mul.asm | 409 | Assembly |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... | 30.628205 | 85 | 0.438259 | [
"BSD-2-Clause"
] | AidenFeng/EDKII | MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.asm | 2,389 | Assembly |
%include "common.asm"
;The first six integer or pointer arguments are passed in registers
;RDI, RSI, RDX, RCX, R8, and R9
;int
;cpuid_amd64(int eax_in, int ecx_in, int *eax, int *ebx, int *ecx, int *edx)
PROC cpuid_amd64
; save registers
push rbx
push rdx
push rcx
push r8
push r9
mov ra... | 16.147059 | 76 | 0.608379 | [
"Apache-2.0"
] | abm-osing/xrdp | librfxcodec/src/amd64/cpuid_amd64.asm | 549 | Assembly |
test_device():
sub rsp, 24
call rand
mov rax, QWORD PTR [rsp]
mov edx, DWORD PTR [rsp]
shr rax, 12
and edx, -258049
add eax, 1
and eax, 63
mov ecx, eax
sal ecx, 12
or edx, ecx
mov ... | 23.444444 | 39 | 0.398104 | [
"MIT"
] | Deaod/bitfields | codegen-tests/native-bitfield/gcc5.3.0/11-pre-increment.asm | 422 | Assembly |
INCLUDE "hardware.inc"
;==============================================================
; rst handlers as routines
;==============================================================
CALL_HL EQU $30
RST_38 EQU $38
;==============================================================
; structs
;====================... | 25.764345 | 132 | 0.543041 | [
"Unlicense"
] | ISSOtm/DeadCScroll | DeadCScroll.asm | 46,247 | Assembly |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : const.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ***... | 44.72 | 94 | 0.340564 | [
"MIT"
] | mega65dev/rom-assembler | source/math/const.asm | 4,472 | Assembly |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="epfd, events, maxevents, timeout, ss"/>
<%docstring>
Invokes the syscall epoll_pwait. See 'man 2 epoll_pwait' for more information.
Arguments:
epfd(int): epfd
events(epoll_event): events
maxevents(int): maxevents
timeout(int): ti... | 24.111111 | 79 | 0.698157 | [
"MIT"
] | FDlucifer/binjitsu | pwnlib/shellcraft/templates/mips/linux/epoll_pwait.asm | 434 | Assembly |
; A216985: Number of city-block distance 1, pressure limit 2 movements in an n X 2 array with each element moving exactly one horizontally or vertically, no element acquiring more than two neighbors, and without 2-loops.
; Submitted by Christian Krause
; 0,2,14,80,436,2346,12578,67368,360720,1931306,10340030,55359176,2... | 53.0625 | 479 | 0.822144 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/216/A216985.asm | 849 | Assembly |
; A072057: Sum of divisors of 2*prime(n)+1.
; Submitted by Christian Krause
; 6,8,12,24,24,40,48,56,48,60,104,124,84,120,120,108,144,168,240,168,228,216,168,180,336,240,312,264,296,228,432,264,372,416,336,408,624,440,408,348,360,532,384,572,480,640,624,600,672,720,468,480,768,504,624,576,684,728,912,564,968,588,1008,72... | 71.555556 | 411 | 0.729814 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/072/A072057.asm | 644 | Assembly |
.segment "ZEROPAGE"
nmi_ready: .res 1
palette_init: .res 1
.segment "CODE"
nmi:
pha ; make sure we don't clobber the A register
lda nmi_ready ; check the nmi_ready flag
bne nmi_go ; if nmi_ready set to 1 we can execute the nmi code
pla
rti
nmi_g... | 18.9375 | 72 | 0.572607 | [
"MIT"
] | battlelinegames/nes-hello-world | src/vectors/nmi.asm | 606 | Assembly |
SECTION code_clib
PUBLIC fabandon
PUBLIC _fabandon
.fabandon
._fabandon
ret
| 9.666667 | 19 | 0.747126 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/nc100/fcntl/fabandon.asm | 87 | Assembly |
SECTION code_fp_math16
PUBLIC cm16_sdcc___schar2h
EXTERN asm_f24_i16
EXTERN asm_f16_f24
.cm16_sdcc___schar2h
pop bc ;return
pop hl ;value
push hl
push bc
ld a,l
rlca
sbc a
ld h,a
call asm_f24_i16
jp asm_f16_f24
| 10.809524 | 26 | 0.77533 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc___schar2h.asm | 227 | Assembly |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>socketcall_setsockopt(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall socketcall_setsockopt.
See 'man 2 socketcall_setsockopt' for more information.
Arguments:
vararg(in... | 36.851485 | 90 | 0.649382 | [
"MIT"
] | 0xd3xt3r/pwntools | pwnlib/shellcraft/templates/common/linux/syscalls/socketcall_setsockopt.asm | 3,722 | Assembly |
include bls_vdp.inc
_main_wscr_init_vdp
; TODO
; Create the plane pattern in vram
;
; Example for 256x152 screen:
;
; 00 19 38 551 570 589
; 01 20 571 590
... | 33.775862 | 112 | 0.457036 | [
"MIT"
] | retro16/blastsdk | src/wscr.asm | 5,877 | Assembly |
; A266448: Total number of ON (black) cells after n iterations of the "Rule 25" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,4,7,11,17,21,31,35,49,53,71,75,97,101,127,131,161,165,199,203,241,245,287,291,337,341,391,395,449,453,511,515,577,581,647,651,721,725,799,803,881,885,967,971,1057,1... | 67.416667 | 438 | 0.741656 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/266/A266448.asm | 809 | Assembly |
; A322029: Denominator of least value of the squared diameters of the enclosing circles of all strictly convex lattice n-gons with minimal area given by A070911. Numerators are A321693.
; 1,1,9,1,1,1,49,1,1,1,1,1,1,1,169,1,1,1,1,1,1,1,1,1
mov $3,2
mov $7,$0
lpb $3,1
mov $0,$7
sub $3,1
add $0,$3
trn $0,1
add ... | 16.933333 | 185 | 0.596457 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/322/A322029.asm | 508 | Assembly |
; A083031: Numbers that are congruent to {0, 3, 7} mod 12.
; 0,3,7,12,15,19,24,27,31,36,39,43,48,51,55,60,63,67,72,75,79,84,87,91,96,99,103,108,111,115,120,123,127,132,135,139,144,147,151,156,159,163,168,171,175,180,183,187,192,195,199,204,207,211,216,219
mul $0,16
mov $1,$0
div $0,6
div $1,12
add $0,$1
| 34 | 196 | 0.673203 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/083/A083031.asm | 306 | Assembly |
; A020785: Decimal expansion of 1/sqrt(28).
; Submitted by Jamie Morken(s2)
; 1,8,8,9,8,2,2,3,6,5,0,4,6,1,3,6,1,3,6,0,7,2,5,8,2,6,8,1,1,7,0,9,0,0,3,0,4,0,7,8,7,5,6,5,5,9,3,4,4,6,0,7,2,7,1,6,9,1,6,6,7,4,7,0,8,5,7,9,0,6,3,0,2,3,0,7,3,4,5,4,4,8,4,0,0,2,8,0,6,3,3,1,9,6,1,0,2,5,7,9
add $0,1
mov $1,1
mov $2,1
mov $3,$0
add ... | 16.25641 | 201 | 0.515773 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/020/A020785.asm | 634 | Assembly |
addi r1,r0,#2 # r1 = 2
subi r2,r1,#1 # r2 = 1
addi r3,r1,#-4 # r3 = -2
subi r4,r3,#-1 # r4 = -1
addi r5,r1,#4 # r5 = 6
subi r6,r5,#3 # r6 = 3
add r7,r1,r2 # r7 = 3
sub r8,r5,r6 # r8 = 3
add r9,r6,r1 # r9 = 5
sge r10,r1,r2 # r10= 1
sge r10,r2,r1 # r10= 0
sge r10,r1,r1 # r10= 1
sle r10,r1,r2 # r10= 0
sle r10,r2,r1 # r10=... | 19.74359 | 24 | 0.581818 | [
"MIT"
] | ChrisitianFotso/DLX | asm_example/alu.asm | 770 | Assembly |
; A047838: a(n) = floor(n^2/2) - 1.
; 1,3,7,11,17,23,31,39,49,59,71,83,97,111,127,143,161,179,199,219,241,263,287,311,337,363,391,419,449,479,511,543,577,611,647,683,721,759,799,839,881,923,967,1011,1057,1103,1151,1199,1249,1299,1351,1403,1457,1511,1567,1623,1681,1739,1799,1859,1921,1983,2047,2111,2177,2243,2311,2379,2... | 64.5 | 442 | 0.734496 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/047/A047838.asm | 516 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.