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 sequence | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... | 23.651584 | 72 | 0.624641 | [
"BSD-3-Clause"
] | gigel773/isa-l | igzip/igzip_compare_types.asm | 10,454 | Assembly |
; 因为换成了ELF,无法使用
GLOBAL main
main:
MOV AX, 1005 * 8
MOV DX, AX
CMP DWORD [DS:0x0004], 'Hari'
JNE fin
MOV ECX, [DS:0x0000]
MOV AX, 2005 * 8
MOV DS, AX
crackloop:
ADD ECX, -1
MOV BYTE [DS:ECX], 123
CMP ECX, 0
JNE crackloop
fin:
MOV EDX, 4
INT 0x40
| 12.2 | 33 | 0.547541 | [
"MIT"
] | ghosind/HariboteOS | day27/app/crack7.asm | 325 | Assembly |
; A212415: Number of (w,x,y,z) with all terms in {1,...,n} and w<x>=y<=z.
; 0,0,3,17,55,135,280,518,882,1410,2145,3135,4433,6097,8190,10780,13940,17748,22287,27645,33915,41195,49588,59202,70150,82550,96525,112203,129717,149205,170810,194680,220968,249832,281435,315945,353535,394383,438672,486590,538330,594090,654073,71... | 67.307692 | 711 | 0.793143 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/212/A212415.asm | 875 | Assembly |
; @copyright
; Copyright (C) 2020 Assured Information Security, Inc.
;
; @copyright
; 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 right... | 36.485714 | 79 | 0.759593 | [
"MIT"
] | 1370339317/hypervisor | loader/windows/src/x64/intrinsic_sgdt.asm | 1,277 | Assembly |
; BSD
; char *index_callee(const char *s, int c)
SECTION code_clib
SECTION code_string
PUBLIC _index_callee
EXTERN _strchr_callee
defc _index_callee = _strchr_callee
| 13.153846 | 42 | 0.80117 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/string/c/sdcc_ix/index_callee.asm | 171 | Assembly |
; A288625: Positions of 0 in A288375; complement of A283794.
; 2,3,5,7,8,11,12,14,17,18,20,22,23,27,28,30,32,33,36,37,39,43,44,46,48,49,52,53,55,58,59,61,63,64,69,70,72,74,75,78,79,81,84,85,87,89,90,94,95,97,99,100,103,104,106,111,112,114,116,117,120,121,123,126,127,129,131,132,136,137,139,141,142,145,146,148,152,153,1... | 58.7 | 345 | 0.712095 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/288/A288625.asm | 587 | Assembly |
; A120138: a(1)=10; a(n)=floor((20+sum(a(1) to a(n-1)))/2).
; 10,15,22,33,50,75,112,168,252,378,567,851,1276,1914,2871,4307,6460,9690,14535,21803,32704,49056,73584,110376,165564,248346,372519,558779,838168,1257252,1885878,2828817,4243226,6364839,9547258,14320887
mov $2,20
lpb $0
sub $0,1
add $1,$2
mov $2,$1
di... | 22.055556 | 202 | 0.670025 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/120/A120138.asm | 397 | Assembly |
// Allocate block outside the ROM area
define MEMORY_MAP = HIROM
define ROM_SIZE = 1
include "../../../src/common/memory.inc"
createCodeBlock(code, 0x802000, 0x80ffaf) // ERROR
| 18.2 | 51 | 0.71978 | [
"MIT"
] | undisbeliever/untech-engine | unit_tests/static-tests/common/memory.oob2.error.asm | 182 | Assembly |
; A052686: E.g.f. x^2*(1+3x-3x^2)/(1-x).
; Submitted by Jamie Morken(s2.)
; 0,0,2,24,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000,121645100408832000,2432902008176640000
seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (or... | 29.8125 | 190 | 0.719078 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/052/A052686.asm | 477 | Assembly |
Map_Obj27_2_: dc.w word_1EBCA-Map_Obj27_2_
dc.w word_1EBE4-Map_Obj27_2_
dc.w word_1EBFE-Map_Obj27_2_
word_1EBCA: dc.w 4
dc.b $E0, 5, 0, $34, $FF, $E0
dc.b $E0, 5, 0, $34, 0, $10
dc.b $10, 5, 0, $34, $FF, $E0
dc.b $10, 5, 0, $34, 0, $10
word_1EBE4: dc.w 4
dc.b $E0, 5, 0,... | 32.421053 | 43 | 0.452922 | [
"Apache-2.0"
] | NatsumiFox/AMPS-Sonic-3-Knuckles | General/Sprites/Unused/Map - Obj27 Unused 2.asm | 616 | Assembly |
global @ASM_strnlen@8
extern @ASM_memchr@12
%define ASM_memchr @ASM_memchr@12
segment .text align=16
%define string ecx
%define maxLength edx
%define startString esi
%define startMaxLength ebx
%define searchedChar edx
%define searchedString ecx
%define result eax
%define memchrRet eax
@ASM_strnlen@8:
... | 21.243243 | 47 | 0.706107 | [
"Unlicense"
] | GabrielRavier/Generic-Assembly-Samples | asm/strnlen.asm | 786 | Assembly |
SECTION code_clib
PUBLIC aplib_depack
PUBLIC _aplib_depack
;==============================================================
; aplib_depack(unsigned char *src, unsigned char *dest)
;==============================================================
; Uncompresses data previously compressed with apLib
;================... | 19.853556 | 104 | 0.661538 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/sms/aplib_depack.asm | 4,745 | Assembly |
; A219562: Sum(binomial(n+k,k)^4, k=0..n).
; Submitted by Jon Maiga
; 1,17,1378,170257,25561876,4294835666,776487013506,147812510671121,29234435383857304,5955068493838815892,1241820686691538181636,263946916625793118532050,56996643356459050103185444,12473214064899644269110156626,2760963661677614009262282769378,617198078... | 41.4375 | 483 | 0.840121 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/219/A219562.asm | 663 | Assembly |
; A081611: Number of numbers <= n having no 2 in their ternary representation.
; 1,2,2,3,4,4,4,4,4,5,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,10,10,11,12,12,12,12,12,13,14,14,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,18,18,19,20,20,20,20,... | 43.608696 | 723 | 0.619143 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/081/A081611.asm | 1,003 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x11a44, %rdi
add %r8, %r8
mov (%rdi), %r14w
nop
nop
nop
nop
sub $19582, %r10
lea addresses_D_ht+0x3a84, %rdx
nop
nop
nop
nop
add %rbx, %rbx
movb $0x61, (%rdx)
nop
add %rdi, %rd... | 21.307692 | 156 | 0.650244 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_49_909.asm | 4,709 | Assembly |
; A172482: a(n) = (1+n)*(9 + 11*n + 4*n^2)/3.
; 3,16,47,104,195,328,511,752,1059,1440,1903,2456,3107,3864,4735,5728,6851,8112,9519,11080,12803,14696,16767,19024,21475,24128,26991,30072,33379,36920,40703,44736,49027,53584,58415,63528,68931,74632,80639,86960,93603,100576,107887,115544,123555,131928,140671,149792,159299,1... | 74.3 | 639 | 0.79004 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/172/A172482.asm | 743 | Assembly |
; A051537: Triangle read by rows: T(i,j) = lcm(i,j)/gcd(i,j) for 1 <= j <= i.
; Submitted by Christian Krause
; 1,2,1,3,6,1,4,2,12,1,5,10,15,20,1,6,3,2,6,30,1,7,14,21,28,35,42,1,8,4,24,2,40,12,56,1,9,18,3,36,45,6,63,72,1,10,5,30,10,2,15,70,20,90,1,11,22,33,44,55,66,77,88,99,110,1,12,6,4,3,60,2,84,6,12,30,132,1,13,26,39... | 29.176471 | 270 | 0.596774 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/051/A051537.asm | 496 | Assembly |
%define BOOTLOADER
%ifdef BOOTLOADER
org 7c00h
%else
org 100h
%endif
section .bss
length resw 1
tmp resw 1
op equ 10h
op2 equ 1000h
section .text
start:
xor ax, ax
%ifdef BOOTLOADER
mov ds, ax
mov es, ax
%endif
;; 设置显示模式(可选)
;; 看起来很酷的一个模式
mov ax, 000Eh
int 10h
;; ... | 13.548718 | 72 | 0.595382 | [
"Unlicense"
] | icecoobe/nasm | mbr/strlen.asm | 2,912 | Assembly |
not(8) g29<1>.xD g26<4>.xD { align16 1Q };
not.nz.f0.0(8) null<1>.xD g13<4>.xD { align16 1Q };
not(8) g20<1>D g19<8,8,1>D { align1 1Q };
not(16) g27<1>D g25<8,8,1>D { align1 1H };
| 63.6 | 79 | 0.330189 | [
"MIT"
] | PWN-Hunter/mesa3d | src/intel/tools/tests/gen6/not.asm | 318 | Assembly |
bits 64
section .bss
fd resb 4
buffer resb 0x1000
size equ 0x1000
section .text
global _start
_start:
; int open(const char *pathname, int flags, mode_t mode);
; arg0 (%rdi), arg1 (%rsi), arg2 (%rdx)
mov rax, 0x2 ; open(
mov rdi, [rsp + 0x10] ; argv[1]
xor esi, esi ; O_RDONLY
... | 21.471698 | 57 | 0.507909 | [
"MIT"
] | limitedeternity/some-gists | ASM/cat.asm | 1,138 | Assembly |
; A282097: Coefficients in q-expansion of (3*E_2*E_4 - 2*E_6 - E_2^3)/1728, where E_2, E_4, E_6 are the Eisenstein series shown in A006352, A004009, A013973, respectively.
; 0,1,12,36,112,150,432,392,960,1053,1800,1452,4032,2366,4704,5400,7936,5202,12636,7220,16800,14112,17424,12696,34560,19375,28392,29160,43904,25230,... | 104 | 639 | 0.791667 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/282/A282097.asm | 936 | Assembly |
; A177337: Partial sums of round(n^2/36).
; 0,0,0,0,0,1,2,3,5,7,10,13,17,22,27,33,40,48,57,67,78,90,103,118,134,151,170,190,212,235,260,287,315,345,377,411,447,485,525,567,611,658,707,758,812,868,927,988,1052,1119,1188,1260,1335,1413,1494,1578,1665,1755,1848,1945,2045,2148,2255,2365,2479,2596,2717,2842,2970,3102,3238,3... | 35.294118 | 421 | 0.688333 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/177/A177337.asm | 600 | Assembly |
; A021152: Decimal expansion of 1/148.
; 0,0,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7
lpb $0
sub $0,1
mod $0,3
add $0,5
add $1,$0
mov $0,1
lpe
mov $0,$1
| 26.583333 | 201 | 0.520376 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/021/A021152.asm | 319 | Assembly |
; A064990: If A_k denotes the first 3^k terms, then A_0 = 0, A_{k+1} = A_k A_k B_k, where B_k is obtained from A_k by interchanging 0's and 1's.
; 0,0,1,0,0,1,1,1,0,0,0,1,0,0,1,1,1,0,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,0,1,1,1,0,1,1,0,1,1,0,0,0,1,1,1,0,1,1,0,0,0,1,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,0,1... | 60.857143 | 199 | 0.600939 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/064/A064990.asm | 426 | Assembly |
SUB SP, 3 ; Alloc space on stack
:begin
ADD PC, 2
:c0 DAT "*", 0
SET A, c0
BOR A, 0x8000
SET [0xffff], A
SET A, 0x1
SET [0xfffe], A
SET A, 0x0
SET [0xfffd], A
SET A, 0x6
SUB A, 1
SET PUSH, 0x20
MUL A, POP
SET X, A
SET A, 0x9
SUB A, 1
ADD X, A
ADD PC, 17
:c1 DAT "0x10c BASIC FTW!", 0
SET A, c1
BOR A, 0x8000
JSR print
JS... | 11.035156 | 32 | 0.63646 | [
"MIT"
] | lucaspiller/dcpu16-ide | programs/frame.asm | 2,825 | Assembly |
; A191907: Square array read by antidiagonals up: T(n,k) = -(n-1) if n divides k, else 1.
; Submitted by Jon Maiga
; 0,1,0,1,-1,0,1,1,1,0,1,1,-2,-1,0,1,1,1,1,1,0,1,1,1,-3,1,-1,0,1,1,1,1,1,-2,1,0,1,1,1,1,-4,1,1,-1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,-5,1,-3,-2,-1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,-6,1,1,1,1,-1,0,1,1,1,1... | 25.166667 | 215 | 0.532009 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/191/A191907.asm | 453 | Assembly |
; A162214: a(n) = the largest positive multiple of n with exactly n digits when written in binary.
; 1,2,6,12,30,60,126,248,504,1020,2046,4092,8190,16380,32760,65520,131070,262134,524286,1048560,2097144,4194300,8388606,16777200,33554425,67108860,134217702,268435440,536870910,1073741820,2147483646,4294967264,8589934584,... | 43 | 512 | 0.813953 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/162/A162214.asm | 731 | Assembly |
; A192465: Constant term of the reduction by x^2->x+2 of the polynomial p(n,x)=1+x^n+x^(2n).
; 3,9,25,93,353,1389,5505,21933,87553,349869,1398785,5593773,22372353,89483949,357924865,1431677613,5726666753,22906579629,91626143745,366504225453,1466016202753,5864063412909,23456250855425,93824997829293
seq $0,92431 ; Numbe... | 53.5 | 205 | 0.785047 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/192/A192465.asm | 428 | Assembly |
;------------------------------------------------------------------------------
;
; CpuBreakpoint() for AArch64
;
; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
; Portions copyright (c) 2011 - 2013, ARM Ltd. All ri... | 32.829268 | 85 | 0.623328 | [
"BSD-2-Clause"
] | changeworld/mu_basecore | MdePkg/Library/BaseLib/AArch64/CpuBreakpoint.asm | 1,346 | Assembly |
Map_360DD0: dc.w Frame_360DD8-Map_360DD0
dc.w Frame_360DEC-Map_360DD0
dc.w Frame_360E00-Map_360DD0
dc.w Frame_360E08-Map_360DD0
Frame_360DD8: dc.w 3
dc.b $F4, 5, 0, $A,$FF,$E8
dc.b $F4, 9, 0, 0,$FF,$F8
dc.b 4, $C, 0, 6,$FF,$F0
Frame_360DEC: dc.w 3
dc.b $F4, 5, 0, $E,$FF,$E8
dc.b $F4, 9, 0, ... | 27.411765 | 40 | 0.579399 | [
"Apache-2.0"
] | NatsumiFox/AMPS-Sonic-3-Knuckles | General/Sprites/Blastoid/Map - Blastoid.asm | 466 | Assembly |
; A010003: a(0) = 1, a(n) = 11*n^2 + 2 for n>0.
; 1,13,46,101,178,277,398,541,706,893,1102,1333,1586,1861,2158,2477,2818,3181,3566,3973,4402,4853,5326,5821,6338,6877,7438,8021,8626,9253,9902,10573,11266,11981,12718,13477,14258,15061,15886,16733,17602,18493,19406,20341,21298,22277,23278,24301,25346,26413,27502,28613,297... | 57.416667 | 560 | 0.75762 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/010/A010003.asm | 689 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1197b, %r8
cmp $45619, %r11
movb (%r8), %r12b
nop
xor $56473, %rcx
lea addresses_WT_ht+0x1a17b, %rsi
nop
nop
nop
nop
add %rbx, %rbx
movb $0x61, (%rsi)
nop
nop
cmp $37631,... | 31.917857 | 2,999 | 0.647309 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_ht_st_zr_un_/i7-8650U_0xd2_notsx.log_18716_1005.asm | 8,937 | Assembly |
;----------------------------------------------------------------------------
; TPE-GEN - This program generates 50 TPE encrypted test files
;
; This source can be compiled with MASM 5.0 or TASM 2.01
; (and perhaps others too, but this is not tested.)
;--------------------------------------------------------... | 35.544554 | 79 | 0.323955 | [
"MIT"
] | 010001111/Family | MSDOS/Virus.MSDOS.Unknown.tpe-gen.asm | 3,590 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x132dc, %r8
nop
cmp %r14, %r14
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
vmovups %ymm5, (%r8)
nop
nop
xor $25299, %rcx
lea addresses_normal_ht+0x1e8dc, %r14
nop
nop
xor %r11, %r11
m... | 24.187135 | 398 | 0.648936 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_133_1620.asm | 4,136 | Assembly |
SafariZoneNorthRestHouse_Object:
db $a ; border block
def_warps
warp 2, 7, 8, SAFARI_ZONE_NORTH
warp 3, 7, 8, SAFARI_ZONE_NORTH
def_signs
def_objects
object SPRITE_SCIENTIST, 6, 3, WALK, LEFT_RIGHT, 1 ; person
object SPRITE_SAFARI_ZONE_WORKER, 3, 4, STAY, NONE, 2 ; person
object SPRITE_GENTLEMAN, 1, 5, ... | 24.375 | 63 | 0.761538 | [
"CC0-1.0"
] | opiter09/ASM-Machina | data/maps/objects/SafariZoneNorthRestHouse.asm | 390 | Assembly |
; identical test with i36b.asm, but first empty lines are included, to raise max-line
; number in listing file to two digits
INC_DEPTH=0
INCLUDE "i36b_II.i.asm"
| 13.307692 | 85 | 0.722543 | [
"BSD-3-Clause"
] | Ckirby101/sjasmplus | tests/misc/nested_includes/i36b_I.asm | 173 | Assembly |
dnl AMD64 mpn_popcount, mpn_hamdist -- population count and hamming distance.
dnl Copyright 2004, 2005, 2007, 2010-2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
... | 21.769663 | 79 | 0.64929 | [
"MIT"
] | csMOOC/Stanford.Cryptography | week6/gmp-5.0.5/mpn/hamdist.asm | 24 | Assembly |
* Zap Thing from list v0.00 Feb 1988 J.R.Oakley QJUMP
*
section thing
*
include 'dev8_keys_chp'
include 'dev8_keys_err'
include 'dev8_keys_qlv'
include 'dev8_keys_sys'
include 'dev8_keys_thg'
*
xref th_find
xref th_rechp
... | 31.366197 | 76 | 0.476426 | [
"BSD-2-Clause"
] | olifink/smsqe | util/thg/zthg.asm | 2,227 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xe5ac, %rsi
lea addresses_WC_ht+0x82fc, %rdi
nop
nop
nop
xor %rbx, %rbx
mov $47, %rcx
rep movsl
add $39422, %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r11
ret
.global s_faulty_load
s_faulty_load:
p... | 66.403226 | 2,999 | 0.663833 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1278.asm | 4,117 | Assembly |
.686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
bnSquare proc uses ebx esi edi bnX:DWORD
LOCAL tmpProd
bnSCreateX tmpProd
xor eax,eax
mov esi,bnX
inc eax
mov edi,tmpProd
mov eax,[esi]
add eax,eax
.if eax <= BN_MAX_DWORD
mov [edi],eax
call _bn_square_basecase
m... | 15.586207 | 40 | 0.75 | [
"MIT"
] | 0xFF1E071F/Crypto-Hash | BigNum/Mod/Base/bnSquare.asm | 452 | Assembly |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... | 33.975849 | 60 | 0.416034 | [
"MIT-0"
] | TRamirez97/CSE460-HW02 | stressfs.asm | 45,018 | Assembly |
; A047478: Numbers that are congruent to {1, 5, 7} mod 8.
; 1,5,7,9,13,15,17,21,23,25,29,31,33,37,39,41,45,47,49,53,55,57,61,63,65,69,71,73,77,79,81,85,87,89,93,95,97,101,103,105,109,111,113,117,119,121,125,127,129,133,135,137,141,143,145,149,151,153,157,159,161,165,167,169,173,175,177,181,183,185,189,191,193,197,199,2... | 107.5 | 960 | 0.723721 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/047/A047478.asm | 1,075 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rbx
push %rdx
lea addresses_WC_ht+0x1d310, %rbx
nop
nop
nop
nop
nop
and $30012, %rbp
mov $0x6162636465666768, %r11
movq %r11, %xmm2
movups %xmm2, (%rbx)
nop
nop
nop
nop
nop
xor $43163, %rdx
pop %rdx
pop %rbx
pop %rbp
pop %r11
ret
.global s_faul... | 48.021053 | 2,999 | 0.659579 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_21829_308.asm | 4,562 | Assembly |
; A186387: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=6i and g(j)=j(j+1)/2 (triangular number). Complement of A186388.
; 3,6,8,10,12,13,15,17,18,20,21,23,24,26,27,29,30,32,33,34,36,37,39,40,41,43,44,45,47,48,49,51,52,53,54,56,57,58,60,61,62,63,65,66,67,68,70,71,7... | 23.291667 | 193 | 0.60644 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/186/A186387.asm | 559 | Assembly |
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
C
C The nettle library is free software; you can redistribute it and/or modify
C it under the terms of the GNU Lesser General Public License as published by
C the Free Software Foundation... | 25.225564 | 78 | 0.6769 | [
"BSD-3-Clause"
] | GaloisInc/hacrypto | src/C/nettle/nettle-2.7.1/sparc32/aes-decrypt-internal.asm | 3,356 | Assembly |
; A108321: a(n) = n^2 if n^2 is not the difference of two primes; otherwise a(n) = 0.
; 0,0,0,0,25,0,49,0,0,0,121,0,169,0,0,0,289,0,361,0,0,0,529,0,625,0,729,0,841,0,961,0,0,0,1225,0,1369,0,0,0,1681,0,1849
mov $2,$0
add $2,1
pow $2,2
add $2,1
lpb $2
mov $3,$2
seq $3,10051 ; Characteristic function of primes: 1 if ... | 19.307692 | 119 | 0.563745 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/108/A108321.asm | 502 | Assembly |
; A011874: [ n(n-1)/21 ].
; 0,0,0,0,0,0,1,2,2,3,4,5,6,7,8,10,11,12,14,16,18,20,22,24,26,28,30,33,36,38,41,44,47,50,53,56,60,63,66,70,74,78,82,86,90,94,98,102,107,112,116,121,126,131,136,141
bin $0,2
mov $1,$0
add $1,$0
div $1,21
| 28.75 | 163 | 0.604348 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/011/A011874.asm | 230 | Assembly |
BITS 16
start:
mov ax, 07C0h ; Set up 4K stack space after this bootloader
add ax, 288 ; (4096 + 512) / 16 bytes per paragraph
mov ss, ax
mov sp, 4096
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax
mov si, text_string ; Put string position into SI
call print_string ; Call our string-p... | 21.342105 | 61 | 0.692972 | [
"MIT"
] | sarthakganguly/heroalomos | heroalomos.asm | 811 | Assembly |
; A122430: Primes of the form 1+2*n+3*n^2.
; Submitted by Christian Krause
; 17,457,617,1009,1777,2081,3137,4409,5897,9521,11657,14009,24481,25577,29009,39217,43441,47881,49409,62497,67801,75209,81017,85009,87041,93281,97561,104161,110977,120401,132721,135257,140401,159161,182041,194057,203321,212801,229081,232409,2391... | 37.363636 | 494 | 0.742092 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/122/A122430.asm | 822 | Assembly |
.code
; int Core_Math_Sum_(int a, int b)
Core_Math_Sum_ proc
add ecx, edx
mov eax, ecx
ret
Core_Math_Sum_ endp
; int Core_Math_Div_(int a, int b, int* quotient, int* remainder)
Core_Math_Div_ proc
; Error if < 0
cmp edx, 0
je InvalidDivisor
mov r10d, edx ; Backup the divisor value
mov eax, ecx
; Convert an int s... | 15.909091 | 88 | 0.734286 | [
"MIT"
] | gfurtadoalmeida/study-assembly-x64 | book-01/Assembly/asm/core/math/core_math_arithmetics.asm | 700 | Assembly |
; The format is 0
; High value is 224
; Low value is 15
db $0B,$01,$01,$03,$03,$09,$32,$30,$4E,$53,$65,$6B,$BC,$5D,$7F,$00
| 21.333333 | 70 | 0.5625 | [
"BSD-3-Clause"
] | bushy555/ZX-Spectrum-1-Bit-Routines | CLICK_DRUMS/pwm/test/kick1.asm | 128 | Assembly |
; A267185: Column 2 of the square array in A267181.
; 0,1,0,4,2,5,3,6,4,7,5,8,6,9,7,10,8,11,9,12,10,13,11,14,12,15,13,16,14,17,15,18,16,19,17,20,18,21,19,22,20,23,21,24,22,25,23,26,24,27,25,28,26,29,27,30,28,31,29,32,30,33,31,34,32,35,33,36,34,37,35
mov $2,$0
trn $2,3
add $2,$0
mov $3,$2
add $3,3
lpb $0,1
trn $0,2
... | 24.571429 | 197 | 0.616279 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/267/A267185.asm | 344 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2013, %r13
nop
nop
nop
nop
nop
sub %rsi, %rsi
movb $0x61, (%r13)
nop
nop
cmp %rax, %rax
lea addresses_UC_ht+0x66c, %rsi
lea addresses_UC_ht+0x1d793, %rdi
nop
nop
nop
nop
and ... | 29.424138 | 2,999 | 0.650416 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1257.asm | 8,533 | Assembly |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\gdi32.inc
incl... | 27.939759 | 75 | 0.479517 | [
"MIT"
] | dindoliboon/archive | asm/masm32/t2e/stub.asm | 9,276 | Assembly |
; A004083: Numbers n such that cos(n-1) <= 0 and cos(n) > 0.
; 5,11,18,24,30,37,43,49,55,62,68,74,81,87,93,99,106,112,118,125,131,137,143,150,156,162,169,175,181,187,194,200,206,213,219,225,231,238,244,250,257,263,269,275,282,288,294,301,307,313,319,326,332,338,345
mov $3,$0
mul $0,2
mov $1,$0
add $1,4
div $1,7
add $1... | 27.076923 | 204 | 0.653409 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/004/A004083.asm | 352 | Assembly |
; A104128: a(n) = p + p^(p+1), where p = prime(n).
; Submitted by Christian Krause
; 10,84,15630,5764808,3138428376732,3937376385699302,14063084452067724991026,37589973457545958193355620,480250763996501976790165756943064,74462898441675122902293018227199467668020630,529144398052420314716929933900838757437386767392,39053... | 74.625 | 434 | 0.859296 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/104/A104128.asm | 597 | Assembly |
Name: en-drive.asm
Type: file
Size: 43178
Last-Modified: '2000-11-08T02:03:12Z'
SHA-1: F0901CDA8893F2AA6EBD0694CE9637028532E505
Description: null
| 20.857143 | 47 | 0.808219 | [
"MIT"
] | Brycey92/gigaleak | other.7z/NEWS.7z/NEWS/FZERO/FZERO/Game/en-drive.asm | 146 | Assembly |
.INCSRC "IPS_NES.INC"
IPS_NESHDR = IPS_NESHDR_YES ; Either 'IPS_NESHDR_YES' or 'IPS_NESHDR_NO'.
IPS_OBJ = IPS_OBJ_NO ; Either 'IPS_OBJ_YES' or 'IPS_OBJ_NO'.
;GOTOXY .MACRO (XX,YY)
; @BASEVRAMXXYY = 9248 + (32 * YY) + XX
; .DCB >@BASEVRAMXXYY
; .DCB <@BASEVRAMXXYY
;.ENDM
.IPSOpen (0)
.INDEX 8
.MEM 8
; Patch... | 18.46875 | 73 | 0.658206 | [
"MIT"
] | RupertAvery/WillowPatch | src/Willow.asm | 591 | Assembly |
;================================================================================
; The Legend of Zelda, A Link to the Past - Randomizer General Development & Bugfixes
;================================================================================
lorom
;==============================================================... | 20.773179 | 102 | 0.678409 | [
"MIT"
] | Zarby89/z3randomizer | LTTP_RND_GeneralBugfixes.asm | 12,547 | Assembly |
; A133043: Number of segments needed to draw the spiral of equilateral triangles with side lengths which follow the Padovan sequence.
; 3,5,6,8,9,10,11,12,13,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
add $... | 30.846154 | 179 | 0.673317 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/133/A133043.asm | 401 | Assembly |
; A093412: Triangle read by rows: a(n, k) is the numerator of (n + (n-1) + ... + (n-k+1))/(1 + 2 + ... + k), 0 < k <= n.
; Submitted by Christian Krause
; 1,2,1,3,5,1,4,7,3,1,5,3,2,7,1,6,11,5,9,4,1,7,13,3,11,5,9,1,8,5,7,13,2,11,5,1,9,17,4,3,7,13,3,11,1,10,19,9,17,8,15,7,13,6,1,11,7,5,19,3,17,2,5,7,13,1,12,23,11,21,10,1... | 29.125 | 210 | 0.545064 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/093/A093412.asm | 466 | Assembly |
extern __BANK_7_head
extern _updateDirection
extern animateMenu
extern bank7Screen
extern displayTile
extern keyboardScan
extern lookupScanCode
extern pressJumpMsg
extern printAttr
extern scanCodes
extern setAttr
... | 25.041284 | 79 | 0.462173 | [
"BSD-3-Clause"
] | iratahack/CastleEscape | src/definekeys.asm | 5,459 | Assembly |
; A189664: Fixed point of the morphism 0->010, 1->001.
; 0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0
add $0,1
seq $0,284817 ; a(n) = 2n - 1 - A284776(n).
| 51.833333 | 201 | 0.533762 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/189/A189664.asm | 311 | Assembly |
-S _wc
| 3.5 | 6 | 0.571429 | [
"MIT-0"
] | coopervk/xv6-small-file-optimization | wc.asm | 7 | Assembly |
; A039112: Numbers n such that representation in base 10 has same number of 0's and 1's.
; 2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,39,42,43,44,45,46,47,48,49,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,72,73,74,75,76,77,78,79,82,83,84,85,86,87,88,89,92,93,94,95,96
mov $1,$0
mov $2,$0
lpb $2... | 21.565217 | 203 | 0.580645 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/039/A039112.asm | 496 | Assembly |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 20