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 |
|---|---|---|---|---|---|---|---|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1527c, %rsi
lea addresses_D_ht+0x19204, %rdi
clflush (%rdi)
nop
and $23394, %r9
mov $42, %rcx
rep movsl
nop
lfence
lea addresses_WC_ht+0x18f9c, %rsi
lea addresses_WT_ht+0x16e84... | 39.801205 | 2,999 | 0.659452 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1757.asm | 6,607 | Assembly |
bits 32
section .text
align 4
dd 0x1BADB002
dd 0x00
dd - (0x1BADB002+0x00)
global start
extern _kern_main
start:
call _kern_main
cli
hlt | 15.428571 | 35 | 0.50463 | [
"MIT"
] | nimgLIVE/nimgLIVE | kernel_mingw.asm | 216 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
012A74 clr.b ($200,A5)
012A78 move.b #$2, ($1c8,A5)
012F04 move.b #$63, ($1de,A5)
01A610 dbra D1, $1a60e
01AD3E addi.b #$1e, ($1de,A5)
copyright zengfr site:http://github.com/zengfr/romhack
| 26.5 | 54 | 0.660377 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | wof/lcs/base/200.asm | 265 | Assembly |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
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 push %ebp
... | 34.10299 | 60 | 0.411227 | [
"MIT-0"
] | gandharvm/xv6 | init.asm | 41,060 | Assembly |
; A179609: a(n)=(5-(-1)^n-6*n)*2^(n-2)
; 1,0,-8,-24,-80,-192,-512,-1152,-2816,-6144,-14336,-30720,-69632,-147456,-327680,-688128,-1507328,-3145728,-6815744,-14155776,-30408704,-62914560,-134217728,-276824064,-587202560,-1207959552,-2550136832
mov $2,$0
add $0,1
div $2,2
lpb $0
sub $0,1
mul $2,2
add $2,$0
lpe
gcd... | 22.1875 | 203 | 0.630986 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/179/A179609.asm | 355 | Assembly |
; A000930: Narayana's cows sequence: a(0) = a(1) = a(2) = 1; thereafter a(n) = a(n-1) + a(n-3).
; 1,1,1,2,3,4,6,9,13,19,28,41,60,88,129,189,277,406,595,872,1278,1873,2745,4023,5896,8641,12664,18560,27201,39865,58425,85626,125491,183916,269542,395033,578949,848491,1243524,1822473,2670964,3914488,5736961,8407925,12322413... | 52.521739 | 917 | 0.797185 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/000/A000930.asm | 1,208 | Assembly |
; A130254: Duplicate of A130252.
; 0,1,4,7,11,15,20,25,30,35,40,45,51,57,63,69,75,81,87,93,99,105,112,119,126,133,140,147,154,161,168,175,182,189,196,203,210,217,224,231,238,245,252,259,267,275,283,291,299,307,315,323,331,339,347,355,363,371
mov $3,$0
mov $5,$0
lpb $3,1
mov $0,$5
sub $3,1
sub $0,$3
mov $2,$0
... | 18.178571 | 208 | 0.569745 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/130/A130254.asm | 509 | Assembly |
;********************************************************************************************************
; uC/CPU
; CPU CONFIGURATION & PORT LAYER
;
; Copyright 2004-2020 Silicon Laboratories Inc. www.silabs.com
;
; ... | 40.531469 | 110 | 0.302622 | [
"Apache-2.0"
] | REVrobotics/uC-CPU | ARM-Cortex-M/ARMv6-M/IAR/cpu_a.asm | 5,796 | Assembly |
; A067815: a(n) = gcd(n, floor(sqrt(n))).
; 1,1,1,2,1,2,1,2,3,1,1,3,1,1,3,4,1,2,1,4,1,2,1,4,5,1,1,1,1,5,1,1,1,1,5,6,1,2,3,2,1,6,1,2,3,2,1,6,7,1,1,1,1,1,1,7,1,1,1,1,1,1,7,8,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,8,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,10,1,2,1,2,5,2,1,2,1,10,1,2,1,2,5,2,1,2,1,10,11,1,1,1,1,1,1,1,1,1,1,11,1,1,1,1... | 72.1 | 518 | 0.543689 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/067/A067815.asm | 721 | Assembly |
; A120248: a(n)=Product{k=0..n, C(n+k+2, n+2)}.
; Submitted by Jon Maiga
; 1,4,75,7056,3457440,9032601600,127843321480875,9917120529316000000,4253520573615071657074176,10156681309872614660803421798400,135766978921156343322148046967386880000
mov $1,1
mov $3,$0
add $0,1
add $3,2
lpb $0
mov $2,$4
sub $2,$0
sub $0,1... | 21.117647 | 167 | 0.713092 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/120/A120248.asm | 359 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1c41a, %rsi
lea addresses_A_ht+0x126ee, %rdi
nop
nop
nop
dec %r8
mov $6, %rcx
rep movsq
nop
nop
xor $6718, %r10
lea addresses_UC_ht+0x2f5a, %rdx
nop
nop
cmp $60151, %r9
mov (%... | 48.188119 | 2,999 | 0.660982 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_820.asm | 4,867 | Assembly |
; A035005: Number of possible queen moves on an n X n chessboard.
; 0,12,56,152,320,580,952,1456,2112,2940,3960,5192,6656,8372,10360,12640,15232,18156,21432,25080,29120,33572,38456,43792,49600,55900,62712,70056,77952,86420,95480,105152,115456,126412,138040,150360,163392,177156,191672,206960,223040,239932,257656,276232,... | 192.545455 | 1,984 | 0.858829 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/035/A035005.asm | 2,118 | Assembly |
; A073357: Binomial transform of tribonacci numbers.
; 0,1,3,8,22,62,176,500,1420,4032,11448,32504,92288,262032,743984,2112384,5997664,17029088,48350464,137280832,389779648,1106696192,3142227840,8921685888,25331224576,71922610432,204208915200,579807668224,1646240232960,4674148089344,13271246761984,37680875156480,106986... | 122 | 1,553 | 0.913934 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/073/A073357.asm | 1,708 | Assembly |
; A053842: (Sum of digits of n written in base 7) modulo 7.
; 0,1,2,3,4,5,6,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,0,1,2,3,4,5,6,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,... | 56.636364 | 501 | 0.518459 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/053/A053842.asm | 623 | Assembly |
MVI A, 0 ; A yı sıfırla
LXI H, 0400H ; HL ye 0400H yükle
MOV M, A ; HL(0400H) yi sıfırla
INR L ; L yi 1 arttır
MOV M, A ; HL(0401H) yi sıfırla
HLT ; Sonlandır
; 0400H ve 0401H adreslerinin içeriğini sıfırlar | 26.25 | 48 | 0.7 | [
"MIT"
] | furkanisitan/ExampleProgramsFor8085Microprocessor | 1_TwoConsecutiveMemoryReset.asm | 224 | Assembly |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_math
PUBLIC l_mulu_64_64x64
; 64-bit multiplication
;
; enter : +-------------------------------
; | +15
; | ... multiplicand AB (8 bytes)
; | + 8
; ix = |-------------------------... | 20.724138 | 71 | 0.547421 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/integer/l_mulu_64_64x64.asm | 1,202 | Assembly |
; A315886: Coordination sequence Gal.6.527.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,8,14,16,22,24,30,36,38,44,46,52,54,60,66,68,74,76,82,84,90,96,98,104,106,112,114,120,126,128,134,136,142,144,150,156,158,164,166,172,174... | 27.882353 | 177 | 0.685654 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/315/A315886.asm | 474 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x67f9, %r8
nop
sub $55510, %rsi
movw $0x6162, (%r8)
nop
nop
and $45579, %r14
lea addresses_D_ht+0xaaca, %rsi
lea addresses_WC_ht+0x7f9, %rdi
nop
nop
nop
add %r15, %r15
mov $43,... | 46.320755 | 2,999 | 0.661711 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_563.asm | 4,910 | Assembly |
MODULE scanf
SECTION code_clib
PUBLIC scanf
EXTERN asm_scanf
EXTERN __sgoioblk
; sccz80 version
;void scanf(char *fmt,...)
;{
; asm_scanf(fp, ungetc, getc, sccz80_delta, *ct,ct-1);
;}
scanf:
ld l,a
ld h,0
add hl,hl
add hl,sp ;&fmt
push ix ;save callers
ld bc,__sgoioblk ;stdin
push... | 11.177778 | 61 | 0.626243 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/stdio/scanf.asm | 503 | Assembly |
C arm/neon/umac-nh.asm
ifelse(<
Copyright (C) 2013 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; either versi... | 24.942857 | 72 | 0.672012 | [
"MIT"
] | TheShellLand/crossover-source | gnutls/nettle/arm/neon/umac-nh.asm | 2,620 | Assembly |
; PRINT THE SUM OF AN ARITHMATIC SERIES
; 1 + 2 + 3 + 4 + 5 + ........ = SUM
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AL, '0' ; HOLDS SUM
MOV AH, '1' ; HOLDS X .i.e X = 1
MOV BL, 1 ; HOLDS I .i.e I = 0
MOV BH, 3 ; HOLDS N=10
MOV CL, '1' ; HOLDS COMMON DIFFERENCE ... | 19.828571 | 57 | 0.407781 | [
"MIT"
] | rng70/Assembly-Programming | 19. SERIES.asm | 694 | Assembly |
.size 8000
.text@58
jp lstartserial
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
xor a, a
ldff(0f), a
ld a, 08
ldff(ff), a
ld a, 81
ldff(02), a
ei
.text@1000
lstartserial:
xor a, a
ldff(01), a
ld a, 81
ldff(02), a
.text@1200
ldff(02), a
.text@1500
xor a, a
ldff(0f), a
.text@15f0
ldff a, ... | 13.751938 | 24 | 0.624014 | [
"MIT"
] | Manurocker95/GiovanniEmulator | GIOVANNI/gambatte/test/hwtests/serial/start_wait_restart_read_if_1_dmg08_cgb04c_outE0.asm | 1,774 | Assembly |
org 100h
; add your code here
MOV AX, 0300H
MOV DS, AX
MOV CX, 4A3CH
MOV [3126H], CX
MOV DX, 10H
MUL DX
ADD AX, 3126H
ret
| 6.409091 | 26 | 0.602837 | [
"MIT"
] | vishwas1101/Misc | MPI/Lab-3/physical_address_3_problem.asm | 141 | Assembly |
;Rutinas de operaciones basicas con numeros de 16,24 y 32 bits.
VAR1 .EQU 090h
VAR2 .equ 094h
Inicio: LD HL,VAR1 ;Cargamos la direcion del primer numero en HL
;LD DE,VAR2 ;Cargamos la direcion del segundo numero en DE
CALL CPL16 ;Hacemos la resta (VAR1)=(DE)-(HL)
HALT
JP FIN
;////////////////////////... | 22.959677 | 65 | 0.537408 | [
"MIT"
] | alfreedom/Z80-ASM-Programs | Subrutinas.asm | 2,847 | Assembly |
; A189782: n+[nr/t]+[ns/t]; r=pi/2, s=arcsin(8/17), t=arcsin(15/17).
; 2,4,8,10,14,16,20,22,26,28,30,34,36,40,42,46,48,52,54,58,60,62,66,68,72,74,78,80,84,86,90,92,94,98,100,104,106,110,112,116,118,122,124,126,130,132,136,138,142,144,148,150,154,156,158,162,164,168,170,174,176,180,182,186,188,190,194,196,200,202,206,20... | 19.540541 | 276 | 0.543568 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/189/A189782.asm | 723 | Assembly |
SFX_Cry04_2_Ch1:
dutycycle 240
unknownsfx0x20 4, 247, 160, 6
unknownsfx0x20 8, 230, 164, 6
unknownsfx0x20 4, 214, 160, 6
unknownsfx0x20 12, 211, 32, 6
unknownsfx0x20 8, 195, 36, 6
unknownsfx0x20 4, 194, 32, 6
unknownsfx0x20 8, 177, 16, 6
endchannel
SFX_Cry04_2_Ch2:
dutycycle 90
unknownsfx0x20 4, 231, 1, 6
... | 21.818182 | 31 | 0.736111 | [
"Unlicense"
] | adhi-thirumala/EvoYellow | audio/sfx/cry04_2.asm | 720 | Assembly |
%include "constants.asm"
global _start
section .data
filename db "hello.txt", 0 ; zero-terminated file name
msg db "Hi there.", 0ah
len equ $ - msg
section .text
_start:
; Open file
; `fd` will be stored in `rax` in case of success.
mov rax, SYS_OPEN
mov rdi, filename
mov rsi, O_CREAT | O_W... | 22.475 | 67 | 0.536151 | [
"MIT"
] | fushinori/nasm | files/files.asm | 899 | Assembly |
; A239690: Base 4 sum of digits of prime(n).
; 2,3,2,4,5,4,2,4,5,5,7,4,5,7,8,5,8,7,4,5,4,7,5,5,4,5,7,8,7,5,10,5,5,7,5,7,7,7,8,8,8,7,11,4,5,7,7,10,8,7,8,11,7,11,2,5,5,7,4,5,7,5,7,8,7,8,7,4,8,7,5,8,10,7,10,11,5,7,5,7,8,7,11,7,10,11,5,7,8,10,8,11,10,11,10,11,11,5,7,7
seq $0,40 ; The prime numbers.
seq $0,53737 ; Sum of d... | 58.666667 | 219 | 0.588068 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/239/A239690.asm | 352 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x30cc, %r12
clflush (%r12)
nop
nop
nop
nop
nop
cmp %rax, %rax
mov (%r12), %edx
nop
nop
nop
nop
and $5328, %rsi
lea addresses_WC_ht+0xdc4f, %rsi
lea addresses_UC_ht+0x1dade, %rd... | 21.267442 | 323 | 0.646073 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_108_1372.asm | 5,487 | Assembly |
; A164660: Numerators of row sums of triangle of rationals A164658/A164659. Definite integral of Chebyshev polynomials of the first kind: Integral_{x=0..1} T(n,x).
; 1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,-... | 46.272727 | 278 | 0.520629 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/164/A164660.asm | 509 | Assembly |
; A022366: Fibonacci sequence beginning 0, 32.
; 0,32,32,64,96,160,256,416,672,1088,1760,2848,4608,7456,12064,19520,31584,51104,82688,133792,216480,350272,566752,917024,1483776,2400800,3884576,6285376,10169952,16455328,26625280,43080608,69705888,112786496,182492384,295278880,477771264,773050144,1250821408,2023871552,32... | 69.666667 | 708 | 0.850478 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/022/A022366.asm | 836 | 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... | 28.02381 | 85 | 0.486831 | [
"BSD-2-Clause"
] | AidenFeng/EDKII | MdePkg/Library/BaseLib/X64/WriteMm2.asm | 1,177 | Assembly |
# Test 1 - add
pushd 2.5
pushd 5.8
add
halt | 9.333333 | 14 | 0.517857 | [
"Apache-2.0"
] | Irwin1985/BookPart_2 | VirtualMachine/Win32/UnitTests/Arithmetic/test1_adddd_Arithmetic.asm | 56 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb224, %rsi
lea addresses_normal_ht+0xa8b4, %rdi
sub %r10, %r10
mov $12, %rcx
rep movsq
nop
sub %r14, %r14
pop %rsi
pop %rdi
pop %rcx
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %... | 66.819672 | 2,999 | 0.663641 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_500.asm | 4,076 | Assembly |
; A036068: Expansion of (-1+1/(1-3*x)^3)/(9*x).
; 1,6,30,135,567,2268,8748,32805,120285,433026,1535274,5373459,18600435,63772920,216827928,731794257,2453663097,8178876990,27119434230,89494132959,294052151151,962352494676,3138105960900,10198844372925
mov $1,1
mov $2,$0
lpb $2,1
mov $3,$1
lpb $0,1
add $1,$0
... | 22.705882 | 201 | 0.681347 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/036/A036068.asm | 386 | Assembly |
; A328821: Triangular array read by rows. Let P be the poset of all even sized subsets of [2n] ordered by inclusion. T(n,k) is the number of intervals in P with length k, 0<=k<=n, n>=0.
; Submitted by Christian Krause
; 1,2,1,8,12,1,32,120,30,1,128,896,560,56,1,512,5760,6720,1680,90,1,2048,33792,63360,29568,3960,132,... | 30.388889 | 200 | 0.685558 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/328/A328821.asm | 547 | Assembly |
; A081105: 5th binomial transform of (1,1,0,0,0,0,.....).
; 1,6,35,200,1125,6250,34375,187500,1015625,5468750,29296875,156250000,830078125,4394531250,23193359375,122070312500,640869140625,3356933593750,17547607421875,91552734375000,476837158203125
mov $1,5
pow $1,$0
add $0,5
mul $1,$0
div $1,5
| 32.888889 | 189 | 0.766892 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/081/A081105.asm | 296 | Assembly |
; A212254: Number of (w,x,y,z) with all terms in {1,...,n} and w=x+2y+3z-n.
; 0,0,0,1,4,11,21,37,59,88,125,172,228,296,376,469,576,699,837,993,1167,1360,1573,1808,2064,2344,2648,2977,3332,3715,4125,4565,5035,5536,6069,6636,7236,7872,8544,9253,10000,10787,11613,12481,13391
mov $2,$0
mov $5,$0
lpb $2,1
mov $0,$5
sub... | 20.913043 | 196 | 0.598753 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/212/A212254.asm | 481 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x157a1, %rax
nop
nop
nop
and $16397, %r14
mov (%rax), %r12
nop
nop
add %rsi, %rsi
lea addresses_WC_ht+0x14717, %rsi
lea addresses_WT_ht+0xa2fd, %rdi
nop
nop
nop
nop
and %rax, %rax
mov $... | 30.838828 | 2,999 | 0.651146 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_zr_sm_/i3-7100_9_0x84_notsx.log_21829_310.asm | 8,419 | Assembly |
;
; Routine for the 128K+2/2A/3 to load bank 7 ROM
; and map it on top of ROM/address $0000
;
; Invoked from 128K mode BASIC
;
; By default memory banks will be ROM 0->Bank 5 (screen)->Bank 2->Bank 0
; Each RAM bank is 16KB
;
; Requirements before calling it, CLEAR 30999 ; if it not done it will crash
; as stack need... | 24.059524 | 84 | 0.630381 | [
"MIT"
] | ruyrybeyro/pirate128 | ignore_old/pirata_128_paging.asm | 2,021 | Assembly |
; A001254: Squares of Lucas numbers.
; Submitted by Jamie Morken(s2.)
; 4,1,9,16,49,121,324,841,2209,5776,15129,39601,103684,271441,710649,1860496,4870849,12752041,33385284,87403801,228826129,599074576,1568397609,4106118241,10749957124,28143753121,73681302249,192900153616,505019158609,1322157322201,3461452808004,906220... | 43.333333 | 483 | 0.824615 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/001/A001254.asm | 650 | Assembly |
; A040297: Continued fraction for sqrt(315).
; 17,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1,34,1,2,1
pow $0,2
add $0,4
mov $1,4
lpb $0,1
mov $1,$0
sub $0,8
sub $1,4
mov $2,1
lp... | 20.5 | 190 | 0.560976 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/040/A040297.asm | 369 | Assembly |
; A163325: Pick digits at the even distance from the least significant end of the ternary expansion of n, then convert back to decimal.
; Submitted by Jamie Morken(s4)
; 0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,... | 27.894737 | 217 | 0.596226 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/163/A163325.asm | 530 | 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 .byte 0xe4
8010000c <entry>:
# E... | 38.016889 | 106 | 0.528972 | [
"MIT-0"
] | joshwu1/lab3 | kernel.asm | 569,493 | Assembly |
.8086
.model small
.stack 100h
.data
string db "Myname0"
char db '3'
msg_found db "Found"
msg_not_found db 'Not Found'
.code
main:
mov ax, @data
mov ds, ax
lea si, string
mov ah, char
looper:
mov al, [si]
; End of String
cmp al, '0'
je not_found
inc si
cmp al, char
je found
jne looper
f... | 10.933333 | 28 | 0.642276 | [
"BSD-3-Clause"
] | pratikpc/Pracs-Sem-V | MP/Search.asm | 492 | Assembly |
; A265541: Largest base-9 palindrome m <= n, written in base 10.
; 0,1,2,3,4,5,6,7,8,8,10,10,10,10,10,10,10,10,10,10,20,20,20,20,20,20,20,20,20,20,30,30,30,30,30,30,30,30,30,30,40,40,40,40,40,40,40,40,40,40,50,50,50,50,50,50,50,50,50,50,60,60,60,60,60,60,60,60,60,60,70,70,70,70,70,70,70,70,70,70,80,80
mov $1,$0
mov $2... | 31.666667 | 237 | 0.628947 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/265/A265541.asm | 380 | Assembly |
;
; z88dk library: Generic I/O support code for MSX family machines
;
;
; extern bool __FASTCALL__ msx_get_trigger(unsigned char id);
;
; get state of joystick button (trigger) number \a id, true = pressed
;
; $Id: gen_get_trigger.asm $
;
SECTION code_clib
PUBLIC msx_get_trigger
PUBLIC _msx_get_trigger
msx_... | 16.852713 | 69 | 0.584177 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/video/tms9918/gen_get_trigger.asm | 2,174 | Assembly |
; A093230: a(n) is the largest number such that all of a(n)'s length-n substrings are distinct and divisible by 30.
; 0,900,99000,9990000,999900000,99999000000,9999990000000,999999900000000,99999999000000000,9999999990000000000,999999999900000000000,99999999999000000000000,9999999999990000000000000,99999999999990000000... | 41.9 | 241 | 0.825776 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/093/A093230.asm | 419 | Assembly |
;
; Copyright (c) 2011 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | 38.403587 | 78 | 0.553947 | [
"BSD-3-Clause"
] | awatry/libvpx.opencl | vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm | 8,564 | Assembly |
.ifndef VERA_ASM
VERA_ASM=1
.code
.ifdef USING_VERA_STREAM_OUT_RLE
;==============================================
; vera_stream_out_data
; Stream out a block of memory to VERA_data
;----------------------------------------------
; INPUT: X - number of pages to stream
; Y - number of bytes to stream
; ... | 17.5 | 58 | 0.52967 | [
"MIT"
] | indigodarkwolf/x16-matriculate-text | vera.asm | 2,275 | Assembly |
; A113646: a(n) is the smallest composite integer which is >= n.
; 4,4,4,4,6,6,8,8,9,10,12,12,14,14,15,16,18,18,20,20,21,22,24,24,25,26,27,28,30,30,32,32,33,34,35,36,38,38,39,40,42,42,44,44,45,46,48,48,49,50,51,52,54,54,55,56,57,58,60,60,62,62,63,64,65,66,68,68,69,70,72,72,74,74,75,76,77,78,80,80,81,82,84,84,85,86,87,8... | 52.555556 | 293 | 0.661734 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/113/A113646.asm | 473 | Assembly |
_cat: formato de ficheiro elf32-i386
Desmontagem da secção .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: e... | 35.822926 | 60 | 0.418368 | [
"Apache-2.0"
] | douglasbreyer/StrideXV6 | cat.asm | 41,879 | Assembly |
target: equ 0x08
backup: equ 0xff
stack: equ 0x8000
setup_sched:
push 0x0000
pop es
cli
es mov ax, word [target * 4]
es mov word [backup * 4], ax
es mov ax, word [target * 4 + 2]
es mov word [backup * 4 + 2], ax
es mov word [target * 4], irq
es mov word [tar... | 13.286667 | 45 | 0.565981 | [
"MIT"
] | jakiki6/simpleOS | sched.asm | 1,993 | Assembly |
;English
;Read a decimal number and convert it in binary, octal and hexadecimal
;French
;Lisez un nombre décimal et vous devez le convertir en binaire, octal et hexadécimal.
;Similar to bin_converter (find explanation there)
ORG 100H
include "emu8086.inc"
.data
:
l DB "00",0
s1 DB "0000",0
s2 DB "00"... | 18.437923 | 86 | 0.459354 | [
"MIT"
] | gramai/school-related | x86-Win-NASM/src/Tables/dec_converter.asm | 8,170 | Assembly |
section .data
textExpectedSum db "What sum do you expect? ", 0
textNumberOne db "Enter number one: ", 0
textNumberTwo db "Enter number two: ", 0
textValidSum db "Valid!", 10, 0
section .bss
numberExpectedSum resb 2
numberOne resb 2
numberTwo resb 2
section .text
STD_IN equ 0x2000003
STD_OUT equ 0x2000004
SY... | 13.945652 | 49 | 0.727202 | [
"MIT"
] | m4riusz/Assembly-Language-Learning | 64/LoopUntil/LoopUntil.asm | 1,283 | Assembly |
; namespace DebugStub
; Modifies: AL, DX (ComReadAL)
; Returns: AL
; function ProcessCommand {
DebugStub_ProcessCommand:
; ComReadAL()
Call DebugStub_ComReadAL
; Some callers expect AL to be returned, so we preserve it
; in case any commands modify AL.
; We push EAX to keep stack aligned.
; +EA... | 22.698324 | 114 | 0.682747 | [
"BSD-3-Clause"
] | marcelocaetano/XSharp | playground/CmdProcess.asm | 4,063 | Assembly |
; A026488: a(n) is the least positive integer > a(n-1) and not a(i)*a(j)-a(k) for 1 <= i <= j <= k <= n, where a(1) = 1.
; 1,3,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172... | 37.8 | 199 | 0.619048 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/026/A026488.asm | 378 | Assembly |
;**********************************************************************
;*
;* MK Worm
;*
;* Compile with MASM 4.0
;*
;**********************************************************************
cseg segment
assume cs:cseg,ds:cseg,es:cseg
.radix 16
org 0100
... | 30.91863 | 79 | 0.280975 | [
"MIT"
] | 010001111/Family | MSDOS/Virus.MSDOS.Unknown.mkworm.asm | 14,439 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
000BA0 move.w D0, (A0)+
000BA2 move.w D1, (A0)+ [scr1, scr2, scr3]
0205AC move.l (A1)+, (A0)+
0205AE dbra D4, $205ac [scr3]
023066 move.l (A1)+, (A0)+
023068 move.w D1, D6 [scr3]
092104 move.w D0, ($0,A4)
092108 move.w D3, ($2,A4) [scr3]
0921... | 84.434783 | 350 | 0.664264 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | dino/lcs/scr3.asm | 1,942 | Assembly |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... | 11.930233 | 24 | 0.575049 | [
"MIT"
] | Manurocker95/GiovanniEmulator | GIOVANNI/gambatte/test/hwtests/sprites/space/3overlap7_scx4_m3stat_ds_2_cgb04c_out0.asm | 2,052 | Assembly |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
; Generated by VC++ for Common Language Runtime
.file "C:\Users\jun\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cpp"
| 44.2 | 91 | 0.782805 | [
"Apache-2.0"
] | junmendoza/DesignScriptStudio | UIs/Studio/DesignScriptStudio.Renderer/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm | 221 | Assembly |
; A028092: Expansion of 1/((1-3x)(1-7x)(1-8x)(1-12x)).
; Submitted by Jon Maiga
; 1,30,583,9360,135373,1838130,23972131,304421700,3797192905,46789978950,571763347519,6946889160120,84072723694597,1014722669092890,12224658793966747,147088107868298220
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
trn $2,1
sub $0,$2... | 23.888889 | 168 | 0.674419 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/028/A028092.asm | 430 | Assembly |
; A143095: (1, 2, 4, 8,...) interleaved with (4, 8, 16, 32,...).
; 1,4,2,8,4,16,8,32,16,64,32,128,64,256,128,512,256,1024,512,2048,1024,4096,2048,8192,4096,16384,8192,32768,16384,65536,32768,131072,65536,262144,131072,524288,262144,1048576,524288,2097152,1048576,4194304
mov $1,1
mov $2,4
lpb $0,1
sub $0,1
add $3,$... | 26.571429 | 205 | 0.650538 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/143/A143095.asm | 372 | Assembly |
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 486
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %12 %480
OpExecutionMode %4 Or... | 34.954545 | 58 | 0.48341 | [
"Apache-2.0"
] | Vihanakangas/ShaderTests | bugs/PENDING_SUBMIT/0443-AMD-MESA-void-acoanonymousbegin-divergent-if-elseacoisel-co/reduced_1_result/variant/1_spirv_asm/shader.frag.asm | 23,839 | Assembly |
; A076883: Let u(0)=1, u(n) = 5/2 * floor(u(n-1)); then a(n) = (2/5)*u(n).
; 1,2,5,12,30,75,187,467,1167,2917,7292,18230,45575,113937,284842,712105,1780262,4450655,11126637,27816592,69541480,173853700,434634250,1086585625,2716464062,6791160155,16977900387,42444750967,106111877417
mov $1,1
lpb $0,1
sub $0,1
mul $1,... | 33.7 | 205 | 0.706231 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/076/A076883.asm | 337 | Assembly |
; A126645: a(n) is the number of integers k less than 10^n such that the decimal representation of k lacks the digits 1,2,3,4 and 5, at least one of digits 6,7 and at least one of digits 8,9.
; 5,21,77,261,845,2661,8237,25221,76685,232101,700397,2109381,6344525,19066341,57264557,171924741,516036365,1548633381,464694871... | 41.4 | 318 | 0.771337 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/126/A126645.asm | 621 | Assembly |
; A024771: Expansion of 1/((1-x)(1-8x)(1-9x)(1-10x)).
; Submitted by Jon Maiga
; 1,28,515,7850,107481,1373088,16714975,196403350,2246489861,25160397548,277090599435,3010102678050,32332333478641,344033387428408,3631750686931895,38080468894107950,396993032851849821,4118198909216785668,42536994202463280355,437729691089378... | 40.647059 | 490 | 0.823444 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/024/A024771.asm | 691 | Assembly |
; A021360: Decimal expansion of 1/356.
; 0,0,2,8,0,8,9,8,8,7,6,4,0,4,4,9,4,3,8,2,0,2,2,4,7,1,9,1,0,1,1,2,3,5,9,5,5,0,5,6,1,7,9,7,7,5,2,8,0,8,9,8,8,7,6,4,0,4,4,9,4,3,8,2,0,2,2,4,7,1,9,1,0,1,1,2,3,5,9,5,5,0,5,6,1,7,9,7,7,5,2,8,0,8,9,8,8,7,6
seq $0,173833 ; 10^n - 3.
div $0,356
mod $0,10
| 41 | 199 | 0.54007 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/021/A021360.asm | 287 | Assembly |
; A269696: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 6", based on the 5-celled von Neumann neighborhood.
; 1,5,20,80,320,1280,5120,20480,81920,327680,1310720,5242880,20971520,83886080,335544320,1342177280
add $0,1
mov $1,4
pow $1,$0
mul $1,5
div $1,16
m... | 32.9 | 170 | 0.744681 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/269/A269696.asm | 329 | Assembly |
;**************************************************************************
;* walk286.ASM
;*
;* Assembly support code for the KRNL286 global heap routines
;* for TOOLHELP.DLL
;*
;**************************************************************************
INCLUDE TOOLPRIV.INC
PMODE32 = 0
... | 42.564831 | 79 | 0.493407 | [
"Unlicense"
] | bestbat/Windows-Server | base/mvdm/wow16/toolhelp/walk286.asm | 23,964 | Assembly |
;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. 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... | 31.444862 | 92 | 0.707169 | [
"BSD-3-Clause"
] | HollowMan6/aocl-libm-ose | src/isa/avx/masm/vrs4_powf.asm | 25,093 | Assembly |
;------------------------------;
; NAIVE MULTIPLICATION FOR PIC ;
; ;
; Por: Prof. Carlo Requiao ;
; 12/Ago/2020 ;
;------------------------------;
list p = 16f877a ; Specify processor
include <p16f877a.inc> ; Include mapping
org 0x00 ; Program starts at 0x... | 19.548387 | 42 | 0.523102 | [
"MIT"
] | StxGuy/EmbeddedSystems | PIC/naive_multiplication.asm | 606 | Assembly |
; A082301: G.f.: (1 - 4*x - sqrt(16*x^2 - 12*x + 1))/(2*x).
; Submitted by Jon Maiga
; 1,5,30,205,1530,12130,100380,857405,7503330,66931030,606337380,5563370130,51594699780,482860844580,4554484964280,43252833007005,413224841606130,3968768817574030,38297678538914580,371128975862945030,3610211853939130380,352404048821223... | 34.428571 | 474 | 0.780083 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/082/A082301.asm | 723 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 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... | 41.259307 | 99 | 0.560001 | [
"Apache-2.0"
] | QuintinBecker/noobaa-core-1 | src/native/third_party/isa-l_crypto/md5_mb/md5_mb_x4x2_sse.asm | 32,141 | Assembly |
; A214848: First difference of A022846.
; 1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1
mov $4,2
mov $6,$0
lpb $4
mov $0,$6
sub $4,1
add $0,$4
sub $0,1
mov... | 20.68 | 201 | 0.512573 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/214/A214848.asm | 517 | Assembly |
; A277976: a(n) = n*(3*n + 23).
; 0,26,58,96,140,190,246,308,376,450,530,616,708,806,910,1020,1136,1258,1386,1520,1660,1806,1958,2116,2280,2450,2626,2808,2996,3190,3390,3596,3808,4026,4250,4480,4716,4958,5206,5460,5720,5986,6258,6536
mov $1,3
mul $1,$0
add $1,23
mul $1,$0
mov $0,$1
| 31.555556 | 201 | 0.690141 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/277/A277976.asm | 284 | Assembly |
; A088580: a(n) = 1 + sigma(n).
; Submitted by Christian Krause
; 2,4,5,8,7,13,9,16,14,19,13,29,15,25,25,32,19,40,21,43,33,37,25,61,32,43,41,57,31,73,33,64,49,55,49,92,39,61,57,91,43,97,45,85,79,73,49,125,58,94,73,99,55,121,73,121,81,91,61,169,63,97,105,128,85,145,69,127,97,145,73,196,75,115,125,141,97,169,81,187,122,1... | 29.111111 | 327 | 0.629771 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/088/A088580.asm | 524 | Assembly |
%define concat(x,y) x %+ y
%assign limit 30
%define prime_bits 100b
%assign n 3
%rep limit
%assign current 1
%assign i 1
%rep n/2
%assign i i+1
%if n % i = 0
%assign current 0
%exitrep
%endif
%endrep
%xdefine prime_bits concat(current, prime_bits)
... | 15.866667 | 69 | 0.604342 | [
"MIT"
] | GeertArien/low-level-programming | chapter_05/prime.asm | 1,428 | Assembly |
; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by Randall Hyde
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
global _HLAMain
global HWexcep... | 20.014423 | 68 | 0.492914 | [
"Unlicense"
] | hirohito-protagonist/hla-learn-adventure | src/flash-input.asm | 4,163 | Assembly |
; set all menu items to a given status
include win1_mac_oli
include win1_keys_wwork
section utility
xdef xwm_all
;+++
; set all menu items to a given status
;
; Entry Exit
; d0.w application window nr
; d1.b new item status... | 21.6875 | 72 | 0.5 | [
"MIT"
] | olifink/qspread | src/util/oli/wm/all.asm | 694 | Assembly |
; RTF to ProPrinter filter 06/11/93 O.Fink
;
include win1_spread_printer_mac
section prog
data 4096
printer ProPrinter
rtf_cmds prtcmd line
prtcmd page
prtcmd smal
prtcmd ql
prtcmd lett
prtcmd ... | 18.972973 | 74 | 0.440171 | [
"MIT"
] | olifink/qspread | src/spread/printer/proprint.asm | 702 | Assembly |
; A254142: a(n) = (9*n+10)*binomial(n+9,9)/10.
; 1,19,154,814,3289,11011,32032,83512,199342,442442,923780,1830764,3468374,6317234,11113784,18958808,31461815,50930165,80613390,125014890,190285095,284712285,419329560,608658960,871616460,1232604516,1722822024,2381824984,3259374844,4417615444,5933623696,7902383632,10440238... | 116.25 | 1,229 | 0.877419 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/254/A254142.asm | 1,395 | Assembly |
; A025701: Index of 4^n within sequence of numbers of form 3^i*4^j.
; 1,3,6,10,16,23,31,40,51,63,76,90,106,123,141,160,181,203,226,250,276,303,331,361,392,424,457,492,528,565,603,643,684,726,769,814,860,907,955,1005,1056,1108,1161,1216,1272,1329,1388,1448,1509,1571,1635,1700,1766
mov $16,$0
mov $18,$0
add $18,1
lpb $1... | 18.282609 | 212 | 0.520809 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/025/A025701.asm | 841 | Assembly |
section .text
bits 64
global out_8
global out_16
global out_32
global in_8
global in_16
global in_32
global read_msr
global read_cr8
global write_cr8
global write_msr
global cpuid
global flush_gdt
global flush_idt
global cmpxchg_32
global xinc_32
global cli
global sti
global read_cr3
global write_cr3
global flush_tlb
... | 9.960199 | 65 | 0.708791 | [
"MIT"
] | mohammad-yazdani/curros | src/cpu.asm | 2,002 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: bigcalcProcess.asm
AUTHOR: Christian Puscasiu, Feb 27, 1992
ROUTINES:
Name Description
---- -----------
INT BigCalcProcessCheck... | 23.887594 | 79 | 0.606881 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Appl/BigCalc/bigcalcProcess.asm | 34,852 | Assembly |
add hl, hl
add hl, hl
add hl, hl
add hl, hl
ld h, l
ld l, 0
----
ld h, l
ld l, 0
add hl, hl
add hl, hl
add hl, hl
add hl, hl | 13.230769 | 14 | 0.418605 | [
"Apache-2.0"
] | cpcitor/mdlz80optimizer | src/test/resources/data/searchtests/test-large4-expected.asm | 172 | Assembly |
SECTION code_fp_math32
PUBLIC ___sint2fs_callee
EXTERN cm32_sdcc___sint2fs_callee
defc ___sint2fs_callee = cm32_sdcc___sint2fs_callee
| 21.714286 | 55 | 0.809211 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___sint2fs_callee.asm | 152 | Assembly |
; A189379: n+[nr/t]+[ns/t]; r=2, s=(-1+sqrt(5))/2, t=(1+sqrt(5))/2.
; 2,4,7,9,12,15,17,20,23,25,28,30,33,36,38,41,44,46,49,51,54,57,59,62,64,67,70,72,75,78,80,83,85,88,91,93,96,98,101,104,106,109,112,114,117,119,122,125,127,130,133,135,138,140,143,146,148,151,153,156,159,161,164,167,169,172,174,177,180,182,185,187,190,... | 42.454545 | 295 | 0.657388 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/189/A189379.asm | 467 | Assembly |
; A052468: Numerators in the Taylor series for arccosh(x) - log(2*x).
; 1,3,5,35,63,77,429,6435,12155,46189,88179,676039,1300075,5014575,646323,300540195,583401555,756261275,4418157975,6892326441,22427411435,263012370465,514589420475,2687300306925,15801325804719,61989816618513,121683714103007,136583760727865,1879204156... | 41.875 | 481 | 0.816418 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/052/A052468.asm | 670 | Assembly |
;
; file: asm_main.asm
; Evaluate:
; A = (A-B) + A + (B - C + D)
; B cancels. (Communitive Property of Addition)
; A = 2A + D - C
%include "asm_io.inc"
%define A ebp+12
%define B ebp+16
%define C ebp+20
%define D ebp+24
;
;---------------------------------------------------
; initialized data is put in the .data seg... | 23.112903 | 52 | 0.364969 | [
"Unlicense"
] | CISVVC/cis208-expression-project-Sprigg-Matthew | asm_main.asm | 1,433 | Assembly |
lui $t0 0xf65b
ori $t1 $0 0xabfe
ori $t2 $0 0x3000
lui $t3 0x49bf
addu $t5 $t1 $t3
#rs Tuse=0, Tnew_E=`ALU
addu $t4 $t1 $t3
beq $t4 $t5 end #cal-beq
subu $t6 $t2 $t3
func:
ori $1 $0 4
subu $31 $31 $1
jr $31 #cal-jr
sw $t4 0($0)
jr $31
end: subu $t6 $t3 $t1
jal func
lui $s0 0x462b
ori $s1 $0 0x336c
subu $s2 $s0 $s1
... | 15.380952 | 25 | 0.625387 | [
"Apache-2.0"
] | alxzzhou/BUAA_CO_2020 | P5/P5_TestCode/P5_L1_testcase15/P5_L1_testcase15/mips15.asm | 323 | Assembly |
.nolist
#include "ti83plus.inc"
#define ProgStart $9D95
.list
.org ProgStart - 2
.db t2ByteTok, tAsmCmp
b_call(_ClrLCDFull)
ld hl, 0
ld (PenCol), hl
ld hl, msg
b_call(_PutS) ; Display the text
b_call(_NewLine)
ret
msg:
"Hello world!"
.end
.end | 18.294118 | 47 | 0.572347 | [
"BSD-2-Clause"
] | Megatokio/zasm | Test/Z80/ti83plus/Hello.asm | 311 | Assembly |
.386
.model flat,C
PUBLIC ctrlbrk
; Note that while under plain DOS, WDOSX INT23's will be swallowed by wdosx
; either. So, this function has been implemented as a dummy. The handler you
; provide will never be called. I think this is something we can live with.
.code
OurHandler:
and byte ptr [esp+8],0feh
ire... | 14.588235 | 76 | 0.71371 | [
"Unlicense"
] | amindlost/wdosx | src/src/c/borlandc/dpmi32/ctrlbrk.asm | 496 | Assembly |
; A139179: Number of non-fourth-powers <= n.
; 0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70
mov $2,15
lpb $2,1
mov $2,$0
add $0,1
sub $2,1
lpe
mov $1,... | 27.666667 | 209 | 0.61747 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/139/A139179.asm | 332 | Assembly |
; A166314: Number of 1's in binary expansion of A000124(n).
; 1,1,1,3,3,1,3,4,3,4,3,3,5,4,4,5,3,4,4,7,5,4,7,4,5,4,3,7,6,5,5,6,3,4,4,7,6,3,6,5,6,7,4,7,9,3,5,5,5,5,7,7,6,5,7,4,7,7,5,8,7,6,6,7,3,4,4,7,6,5,7,9,5,6,6,6,9,8,4,6,6,8,6,9,9,5,8,9,8,8,1,6,7,4,6,6,5,5,7,8
mov $2,$0
pow $2,2
add $0,$2
add $0,3
mov $1,$0
lpb $1
... | 25.285714 | 201 | 0.539548 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/166/A166314.asm | 354 | Assembly |
#ruledef test
{
ld {x: u8} =>
{
0x11 @ x`8
}
ld {x: u16} =>
{
0x22 @ x`16
}
ld {x: u24} =>
{
0x33 @ x`24
}
}
ld 0x215 ; = 0x220215 | 10.157895 | 21 | 0.326425 | [
"Apache-2.0"
] | Artentus/customasm | tests/rule_cascading_size/3.asm | 193 | Assembly |
// Initialize
constant DmaSource(0x00F5F4E0) // DMA copy source
constant DmaDestination(0x80400000) // DMA copy destination
constant DmaSize(DmaEnd - DmaStart) // DMA copy size
origin 0x001234
base 0x80000634
jal Initialize0
origin 0x33204
base 0x80032604
scope Initialize0: {
addiu sp, -0x18
sw ra, 0x14 (sp)
j... | 19.086957 | 59 | 0.685649 | [
"MIT"
] | abitalive/SuperSmashBros | Patches/Multiplayer_Hack/ASM/initialize.asm | 878 | Assembly |
; A021271: Decimal expansion of 1/267.
; Submitted by Jon Maiga
; 0,0,3,7,4,5,3,1,8,3,5,2,0,5,9,9,2,5,0,9,3,6,3,2,9,5,8,8,0,1,4,9,8,1,2,7,3,4,0,8,2,3,9,7,0,0,3,7,4,5,3,1,8,3,5,2,0,5,9,9,2,5,0,9,3,6,3,2,9,5,8,8,0,1,4,9,8,1,2,7,3,4,0,8,2,3,9,7,0,0,3,7,4,5,3,1,8,3,5
seq $0,42 ; Unary representation of natural numbers.
mu... | 38.555556 | 199 | 0.590778 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/021/A021271.asm | 347 | Assembly |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>membarrier(cmd, flags) -> str
Invokes the syscall membarrier.
See 'man 2 membarrier' for more information.
Arguments:
cmd(int): cmd
flags(int): flags
Returns:
int
</%docstring>
<%page args="... | 34.339806 | 87 | 0.63585 | [
"MIT"
] | 0x3c3e/pwntools | pwnlib/shellcraft/templates/common/linux/syscalls/membarrier.asm | 3,537 | Assembly |
PROGRAM 8
LDCB 1
NOT
PUTBYTE
PUTEOL
LDCB 0
NOT
PUTBYTE
PUTEOL
LDGADDR 0
LDCINT 5
STOREW
LDGADDR 4
LDCINT 2
LDGADDR 0
LOADW
MUL
LDCINT 1
SUB
STOREW
L0:
LDGADDR 0
LOADW
LDCINT 2
LDCINT 5
MUL
CMP
BG L1
LDGADDR 0
LDGADDR 0
LOADW
LD... | 9.84507 | 17 | 0.55794 | [
"Unlicense"
] | SoftMoore/CPRL | Student/examples/Correct/CPRL0/Correct_112.asm | 699 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.