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 |
|---|---|---|---|---|---|---|---|---|
.setcpu "65C02"
.include "x16.inc"
;.org $0800
.segment "STARTUP"
.segment "INIT"
.segment "ONCE"
.segment "CODE"
jmp start
message: .byte "HELLO"
end_msg:
NEWLINE = $0D
UPPERCASE = $8E
start:
; force uppercase
lda #UPPERCASE
jsr CHROUT
; print message
lda #<message
sta ZP_PTR_1
lda #>mess... | 11.976744 | 25 | 0.631068 | [
"CC0-1.0"
] | adolf01/CX16_CC65_BASE | src/main.asm | 515 | Assembly |
;;;
;;; This is Suggested Project 8.4.2.1
;;; Sum a list of numbers
;;; Pg. 152 for the problem
;;; Pg. 24 for Registers; Pg. 48 for Data Types
SECTION .data
SUCCESS: equ 0 ; Default success value
SYS_EXIT: equ 60 ; Default system exit value
;; Variables used by the project
List: dd ... | 31.066667 | 72 | 0.527897 | [
"MIT"
] | pcooksey/Assembly-x86-64 | chapter8/Project1.asm | 932 | Assembly |
; A138690: Numbers of the form 56+p^2 (where p is a prime).
; 60,65,81,105,177,225,345,417,585,897,1017,1425,1737,1905,2265,2865,3537,3777,4545,5097,5385,6297,6945,7977,9465,10257,10665,11505,11937,12825,16185,17217,18825,19377,22257,22857,24705,26625,27945,29985
seq $0,6005 ; The odd prime numbers together with 1.
po... | 43.25 | 203 | 0.745665 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/138/A138690.asm | 346 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Serial Driver - Public Interface
FILE: serial.asm
AUTHOR: Adam de Boor, Jan 12, 1990
ROUTINES:
Name Description
---- -----------
REVIS... | 25.884393 | 142 | 0.61255 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Driver/Stream/Serial/serialMain.asm | 129,862 | Assembly |
; A056488: Number of periodic palindromes using a maximum of six different symbols.
; 6,21,36,126,216,756,1296,4536,7776,27216,46656,163296,279936,979776,1679616,5878656,10077696,35271936,60466176,211631616,362797056,1269789696,2176782336,7618738176,13060694016,45712429056,78364164096,274274574336,470184984576,16456474... | 133.666667 | 1,810 | 0.917207 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/056/A056488.asm | 2,005 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3f8d, %r10
nop
nop
nop
nop
nop
lfence
vmovups (%r10), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r14
nop
nop
and %rbx, %rbx
lea addresses_normal_ht+0x8f35, %r10
... | 35.466321 | 2,999 | 0.657852 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1032.asm | 6,845 | Assembly |
10003770: e8 cb fd ff ff call 0x10003540
10003775: 83 f8 ff cmp eax,0xffffffff
10003778: a3 00 00 01 10 mov ds:0x10010000,eax
1000377d: 74 1f je 0x1000379e
1000377f: e8 ec fe ff ff call 0x10003670
10003784: 85 c0 test eax,eax
10003786: 75... | 45.483871 | 73 | 0.505674 | [
"Unlicense"
] | SamantazFox/dds140-reverse-engineering | library/02_functions_batch1/DeviceOpen.asm | 1,410 | Assembly |
; A128141: A122432 (unsigned) * A128132.
; Submitted by Jon Maiga
; 1,2,2,3,5,3,4,9,8,4,5,14,15,11,5,6,20,24,21,14,6,7,27,35,34,27,17,7,8,35,48,50,44,33,20,8,9,44,63,69,65,54,39,23,9,10,54,80,91,90,80,64,45,26,10
lpb $0
add $1,1
sub $0,$1
lpe
add $1,1
sub $1,$0
mul $0,$1
add $0,2
mul $0,11
mul $1,$0
add $0,$1
div ... | 18.611111 | 146 | 0.602985 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/128/A128141.asm | 335 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10ece, %rsi
lea addresses_A_ht+0x12daa, %rdi
nop
nop
xor $8083, %r11
mov $117, %rcx
rep movsb
nop
sub $64538, %r14
lea addresses_D_ht+0x4d3, %r11
nop
nop
and %r15, %r15
v... | 38.343915 | 2,999 | 0.657375 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0.log_21829_1413.asm | 7,247 | Assembly |
; A056473: Number of palindromic structures using exactly four different symbols.
; 0,0,0,0,0,0,1,1,10,10,65,65,350,350,1701,1701,7770,7770,34105,34105,145750,145750,611501,611501,2532530,2532530,10391745,10391745,42355950,42355950,171798901
div $0,2
mov $1,4
pow $1,$0
seq $0,210448 ; Total number of different letters... | 35.727273 | 159 | 0.75827 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/056/A056473.asm | 393 | Assembly |
; A325958: Sum of corners of a 2n+1 X 2n+1 square spiral.
; 24,76,160,276,424,604,816,1060,1336,1644,1984,2356,2760,3196,3664,4164,4696,5260,5856,6484,7144,7836,8560,9316,10104,10924,11776,12660,13576,14524,15504,16516,17560,18636,19744,20884,22056,23260,24496,25764,27064,28396,29760,31156,32584,34044,35536,37060,38616... | 77.222222 | 590 | 0.798561 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/325/A325958.asm | 695 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r8
push %r9
push %rax
push %rbx
// Store
lea addresses_RW+0x48cd, %rax
nop
nop
cmp $56915, %r9
mov $0x5152535455565758, %r8
movq %r8, (%rax)
nop
xor %r12, %r12
// Faulty Load
lea addresses_normal+0x112... | 75.807692 | 2,999 | 0.661593 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_930.asm | 3,942 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Pasta
MODULE: ZoomPrnt
FILE: zoomprnt.asm
AUTHOR: Don Reeves, Nov 30, 1992
ROUTINES:
Name Description
---- -----------
REVISION... | 23.834025 | 80 | 0.536792 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Library/Pref/Preffax/preffax.asm | 17,232 | Assembly |
; A113301: Sum of odd-indexed terms of tribonacci numbers.
; 0,1,5,18,62,211,715,2420,8188,27701,93713,317030,1072506,3628263,12274327,41523752,140473848,475219625,1607656477,5438662906,18398864822,62242913851,210566269283,712340586524,2409830942708,8152399683933,27579370581033,93300342369742,315632797374194,1067778105... | 138.181818 | 1,325 | 0.907895 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/113/A113301.asm | 1,520 | Assembly |
; A106002: a(n)=1 if there is a number of the form 6k+3 such that prime(n) < 6k+3 < prime(n+1), otherwise 0.
; 0,0,0,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1
seq $0,1... | 61.125 | 201 | 0.603272 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/106/A106002.asm | 489 | Assembly |
Include "p16F84A.inc"
; ----------------------------------------------------------
; General Purpose RAM Assignments
; ----------------------------------------------------------
cblock 0x0C
Endc
; ----------------------------------------------------------
; Macro Definitions
; --------------------------------------... | 18.442308 | 61 | 0.455683 | [
"MIT"
] | MuhammadAlBarham/pic16f778_projects | Microcontroller_Lab/Lab_6/Write_code.asm | 1,918 | Assembly |
; A263200: Number of perfect matchings on a Möbius strip of width 3 and length 2n.
; 28,104,388,1448,5404,20168,75268,280904,1048348,3912488,14601604,54493928,203374108,759002504,2832635908,10571541128,39453528604,147242573288,549516764548,2050824484904,7653781175068,28564300215368,106603419686404,397849378530248,14847... | 51.076923 | 493 | 0.84488 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/263/A263200.asm | 665 | Assembly |
lda #0
sec
sbc {m1}
sta {m1}
lda #0
sbc {m1}+1
sta {m1}+1
| 7.25 | 10 | 0.568966 | [
"MIT"
] | jbrandwood/kickc | src/main/fragment/mos6502-common/vwsm1=_neg_vwsm1.asm | 58 | Assembly |
global loader_start
section .text
bits 32
%define MULTIBOOT_MAGIC 0x36d76289
; grub entry point
loader_start:
mov esp, stack.top
push eax ; eax should contain the multiboot magic
call vga.clear
call vga.print_crlf
mov esi, string_title
call vga.println
m... | 20.517647 | 80 | 0.616399 | [
"MIT"
] | afrigon/TetanOS | src/bootloader/loader.asm | 1,744 | Assembly |
.model flat
@PushAllRegisters MACRO
push eax
push ebx
push ecx
push edx
ENDM
@PopAllRegisters MACRO
pop edx
pop ecx
pop ebx
pop eax
ENDM
@FunctionBody MACRO index
_HookFunctionASM&index proc
@Pus... | 25.218274 | 111 | 0.657609 | [
"MIT"
] | corefan/brofiler | ProfilerCore/HookFunction32.asm | 4,968 | Assembly |
; A302393: Number of even parts in the partitions of 3n into 3 parts.
; 0,5,8,18,24,41,50,72,84,113,128,162,180,221,242,288,312,365,392,450,480,545,578,648,684,761,800,882,924,1013,1058,1152,1200,1301,1352,1458,1512,1625,1682,1800,1860,1985,2048,2178,2244,2381,2450,2592,2664,2813
mov $4,$0
mov $5,$0
lpb $4
mov $0,$5... | 21.043478 | 210 | 0.621901 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/302/A302393.asm | 484 | Assembly |
device zxspectrum48
org $7D00
CustomFont:
db $00, $00, $00, $00, $00, $00, $00, $00 ; ' ' = empty/space
db $01, $01, $01, $01, $01, $01, $01, $01 ; '!' = right solid
db $01, $01, $01, $01, $01, $01, $01, $FF ; '"' = right bottom solid
db $00, $00, $00, $00... | 38.267932 | 100 | 0.550306 | [
"MIT"
] | MrKWatkins/ZXSpectrumNextTests | Tests/Sprites/Relative/Main.asm | 18,139 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xaf87, %r11
nop
nop
nop
nop
nop
inc %r14
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
movups %xmm5, (%r11)
nop
nop
nop
nop
add %r13, %r13
lea addresses_WT_ht+0x1afc1, %rsi
l... | 36.769634 | 2,999 | 0.66211 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1467.asm | 7,023 | Assembly |
#note: r40 (the exception handler) and r46 (the start of usermode code) must
#be specified in hex (0xwhatever)
#I just don't see any reason not to, and it makes programming the script
#much nicer to deal with...
#load exception handler
lc r40, 0x80000050
leh r40
#enable exceptions
cle
#load TLB ent... | 24.694118 | 76 | 0.598857 | [
"BSD-3-Clause"
] | dellard/ant-architecture | Src/Ant32/Tests/ant32/mem/ex4-src1-user-kreg-1.autotest.asm | 2,099 | Assembly |
SECTION code_fp_mbf64
PUBLIC l_f64_ne
EXTERN l_f64_yes
EXTERN l_f64_no
EXTERN ___mbf64_setup_comparison
INCLUDE "mbf64.def"
; Stack == registers
l_f64_ne:
call ___mbf64_setup_comparison
; 0b00000000 = stack == register
; 0b00000001 = stack > register
; 0b11111111 = stack < register
and a
jp nz,l_f64_yes... | 16.7 | 33 | 0.766467 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/math/mbf64/c/sccz80/l_f64_ne.asm | 334 | Assembly |
; A300613: Number of partitions of the n-dimensional hypercube resulting from a sequence of n n-sections, each of which divides any part perpendicular to any of the axes.
; 1,1,8,324,35840,7906250,2931489792,1645181968584,1302784779485184,1384565648740109550,1902231808400000000000,3281726715984295577534536,694646640690... | 60.166667 | 470 | 0.867036 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/300/A300613.asm | 722 | Assembly |
; A206373: (14*4^n + 1)/3.
; 5,19,75,299,1195,4779,19115,76459,305835,1223339,4893355,19573419,78293675,313174699,1252698795,5010795179,20043180715,80172722859,320690891435,1282763565739,5131054262955,20524217051819,82096868207275,328387472829099,1313549891316395
mov $1,4
pow $1,$0
div $1,3
mul $1,14
add $1,5
mov $0,$... | 32.2 | 236 | 0.78882 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/206/A206373.asm | 322 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x3e77, %rsi
lea addresses_A_ht+0x428d, %rdi
nop
nop
nop
nop
xor %r10, %r10
mov $14, %rcx
rep movsl
nop
nop
and %r9, %r9
lea addresses_WT_ht+0xc07, %r12
nop
nop
nop
nop
sub %r8,... | 30.248252 | 2,999 | 0.654953 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_16284_444.asm | 8,651 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1973a, %rsi
lea addresses_A_ht+0x487e, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $20, %rcx
rep movsb
nop
sub $42676, %r14
lea addresses_normal_ht+0x100ca, %rax
nop
nop
sub... | 41.451389 | 2,999 | 0.662758 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_351.asm | 5,969 | Assembly |
; A279318: Permutation of the nonnegative integers [6k+3, 6k+2, 6k+1, 6k, 6k+5, 6k+4].
; 3,2,1,0,5,4,9,8,7,6,11,10,15,14,13,12,17,16,21,20,19,18,23,22,27,26,25,24,29,28,33,32,31,30,35,34,39,38,37,36,41,40,45,44,43,42,47,46,51,50,49,48,53,52,57,56,55,54,59,58,63,62,61,60,65,64,69
mov $2,$0
gcd $0,2
mov $3,$0
trn $0,2
a... | 23.647059 | 192 | 0.609453 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/279/A279318.asm | 402 | Assembly |
; A173513: a(n) = ceiling(A173510(n)/2).
; 1,1,2,2,3,3,4,5,7,9,11,14,18,23,30,38,49,63,80,103,132,169,216,277,355,454,582,745,954,1222,1565
seq $0,173510 ; a(n) = a(n-1) + a(n-2) - floor( a(n-1)/2 ).
add $0,1
div $0,2
| 31.285714 | 98 | 0.584475 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/173/A173513.asm | 219 | Assembly |
INCLUDE "hardware.inc"
SECTION "Header", rom0[$100]
EntryPoint:
di
jp Start
REPT $150 - $104
db 0
ENDR
SECTION "Game Code", rom0
Start:
.waitVBlank
ld a, [rLY]
cp a, 144
jr c, .waitVBlank
xor a; ld a, 0
ld [rLCDC], a
ld hl, $9000
ld de, FontTiles
ld bc, FontTilesEnd -... | 13.289855 | 46 | 0.568157 | [
"MIT"
] | dusterherz/gb-hello-world | helloworld/main.asm | 917 | Assembly |
.model small
.stack
.code
start:
; Start of background
mov ah, 06h
mov bh, 70h
mov ch, 00
mov cl, 00
mov dh, 32
mov dl, 80
int 10h
mov ah, 06h
mov bh, 00h
mov ch, 2
mov cl, 2
mov dh, 2
mov dl, 4
int 10h
mov ah, 06h
mov bh, 00h
mov ch, 2
mov cl, 7
mov dh, 2
mov dl, 9
int 10h
mov a... | 10.257384 | 22 | 0.579186 | [
"MIT"
] | martianworm17/college-assembly-files | c.asm | 4,862 | Assembly |
; A037674: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3.
; 1,4,18,75,301,1204,4818,19275,77101,308404,1233618,4934475,19737901,78951604,315806418,1263225675,5052902701,20211610804,80846443218,323385772875,1293543091501,5174172366004,20696689464018,82786757856075
m... | 44.75 | 205 | 0.798883 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/037/A037674.asm | 358 | Assembly |
LMDiamond9 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x03, 0xe0, 0xfa, 0x00
db 0x01, 0x07, 0xf0, 0xfc, 0x00, 0x01, 0x04, 0x00
db 0x01, 0x0e, 0x38, 0xfc, 0x00, 0x01, 0x0e, 0x00
db 0x01, 0x0c, 0x18, 0xfc, 0x00, 0x01, ... | 33.78481 | 53 | 0.628887 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Appl/Art/Decks/GeoDeck/LMDiamond9.asm | 5,338 | Assembly |
; A178947: Expansion of x*(1+2*x+8*x^2+3*x^4+4*x^3) / ( (1+x)^2*(x-1)^4 ).
; 1,4,17,38,81,138,229,340,497,680,921,1194,1537,1918,2381,2888,3489,4140,4897,5710,6641,7634,8757,9948,11281,12688,14249,15890,17697,19590,21661,23824,26177,28628,31281,34038,37009,40090,43397,46820,50481,54264,58297,62458,66881,71438,76269,812... | 28.025 | 608 | 0.646744 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/178/A178947.asm | 1,121 | Assembly |
; A026053: (d(n)-r(n))/5, where d = A008778 and r is the periodic sequence with fundamental period (0,3,1,0,1).
; 1,2,5,9,14,21,29,40,53,68,86,106,130,157,187,221,258,300,346,396,451,510,575,645,720,801,887,980,1079,1184,1296,1414,1540,1673,1813,1961,2116,2280,2452,2632,2821,3018,3225,3441,3666,3901,4145,4400,4665,4940... | 21.176471 | 238 | 0.583333 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/026/A026053.asm | 720 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbx
push %rdx
lea addresses_D_ht+0x1c371, %r12
nop
nop
nop
and $25567, %rbx
movb (%r12), %al
xor %rdx, %rdx
lea addresses_A_ht+0x13b11, %r15
nop
nop
add $39027, %rbx
mov (%r15), %r14d
nop
nop
nop
nop
dec %r15
pop %rdx
pop %rbx
po... | 49.543478 | 2,999 | 0.6595 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-8650U_0xd2.log_1950_553.asm | 4,558 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x9e0, %rbx
nop
nop
nop
nop
nop
cmp %rcx, %rcx
mov $0x6162636465666768, %r12
movq %r12, (%rbx)
nop
nop
nop
nop
add $64472, %rax
lea addresses_WC_ht+0x611c, %rsi
lea addres... | 35.177419 | 2,999 | 0.660095 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_473.asm | 6,543 | Assembly |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="set"/>
<%docstring>
Invokes the syscall sigpending. See 'man 2 sigpending' for more information.
Arguments:
set(sigset_t): set
</%docstring>
${syscall('SYS_sigpending', set)}
| 18.428571 | 77 | 0.693798 | [
"MIT"
] | FDlucifer/binjitsu | pwnlib/shellcraft/templates/arm/linux/sigpending.asm | 258 | Assembly |
BITS 32
section .text
foo:
fadd dword [eax]
fsub qword [ebx]
fsubr st0, st4
fmul st7, st0
fdiv dword [eax]
fdivr qword [ebx]
fdivrp st2, st0
fdivp st2, st0
fmulp st2, st0
fsubp st3, st0
fsubrp st2, st0
faddp st4, st0
fimul dword [eax]
fiadd word [ebx]
fidiv word [ebx]
fidivr dword [eax]
fisub word [ebx]
fisubr dword [e... | 14.727273 | 18 | 0.725309 | [
"MIT"
] | Acidburn0zzz/larceny | src/Lib/Sassy/tests/fp1.asm | 324 | Assembly |
; A079589: a(n) = C(5n+1,n).
; 1,6,55,560,5985,65780,736281,8347680,95548245,1101716330,12777711870,148902215280,1742058970275,20448884000160,240719591939480,2840671544105280,33594090947249085,398039194165652550,4724081931321677925,56151322242892212960,668324943343021950370,7964235968972627303960,9501250111812950109255... | 83.222222 | 670 | 0.898531 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/079/A079589.asm | 749 | Assembly |
; A337273: Number of distinct positive integer pairs, (s,t), such that s < t < n where neither s nor t divides n.
; 0,0,0,0,3,1,10,6,15,15,36,15,55,45,55,55,105,66,136,91,136,153,210,120,231,231,253,231,351,231,406,325,406,435,465,351,595,561,595,496,741,561,820,703,741,861,990,703,1035,946,1081,1035,1275,1035,1275,112... | 56 | 222 | 0.694196 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/337/A337273.asm | 448 | Assembly |
; A029014: Expansion of 1/((1-x)(1-x^2)(1-x^5)(1-x^9)).
; 1,1,2,2,3,4,5,6,7,9,11,13,15,17,20,23,26,29,33,37,42,46,51,56,62,68,74,81,88,96,104,112,121,130,140,150,161,172,184,196,209,222,236,250,265,281,297,314,331,349,368,387,407,427,449,471,494,517,541,566,592,618,645,673,702,732,762,793,825,858,892,926,962,998,1036,1... | 108.615385 | 1,220 | 0.755666 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/029/A029014.asm | 1,412 | Assembly |
; A055770: Largest factorial number which divides n.
; 1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,24,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,24,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,24,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,24,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,120,1,2,1,2,1,6,1,2,1,2... | 92.142857 | 513 | 0.545736 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/055/A055770.asm | 645 | Assembly |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... | 34.170772 | 60 | 0.421192 | [
"MIT-0"
] | carsontyler/CS3100_Assignment4 | echo.asm | 41,620 | Assembly |
; #########################################################################
hEditProc proc hCtl :DWORD,
uMsg :DWORD,
wParam :DWORD,
lParam :DWORD
LOCAL Pt :POINT
LOCAL hSM :DWORD
.if uMsg == WM_KEYUP
; --------------------------
; process ... | 27 | 75 | 0.417989 | [
"MIT"
] | AlexRogalskiy/Masm | exampl07/shuflarr/unique_riched/edproc.asm | 1,134 | Assembly |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [2.0 * (49.0 / 7.0 - 3.0)=]
.const 3 real [2.000000]
.const 4 real [49.000000]
.const 5 real [7.000000]
.const 6 real [3.000000]
.const 7 int [2]
.const 8 string [io.writeln]
.end... | 27.535714 | 55 | 0.453956 | [
"MIT"
] | alexgarzao/UOP | testsuite/ubic/expected/expr_real_4.asm | 771 | Assembly |
bits 64
global main
section .text
main:
| 5.375 | 13 | 0.72093 | [
"Unlicense"
] | dbarella/xchg-rax-rax | __tmpl__.asm | 43 | Assembly |
; ******************************************************************************************************************
; ******************************************************************************************************************
; ************************************************************************************... | 32.026525 | 116 | 0.379079 | [
"MIT"
] | paulscottrobson/retrochallenge-jan-2016 | software_releases/Post12-monitor.asm | 12,074 | Assembly |
%include "io.mac"
section .data
len_needle dd 0
len_haystack dd 0
section .text
global my_strstr
extern printf
my_strstr:
;; DO NOT MODIFY
push ebp
mov ebp, esp
pusha
mov edi, [ebp + 8] ; substr_index
mov esi, [ebp + 12] ; haystack
mov ebx, [eb... | 22.910112 | 80 | 0.649338 | [
"MIT"
] | vioo-bkp/Projects-Year-2-University | IOCLA - .asm/IOCLA_H2_Strings/my_strstr.asm | 2,039 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x5eb2, %rcx
clflush (%rcx)
nop
nop
xor %rsi, %rsi
movups (%rcx), %xmm0
vpextrq $0, %xmm0, %rbx
nop
nop
nop
mfence
lea addresses_WC_ht+0x6902, %rsi
lea addresses_normal_ht+0x1... | 32.220884 | 2,999 | 0.652 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1605.asm | 8,023 | Assembly |
;**************************************************************************
; arch/z80/src/ez80/ez80f92_init.asm
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright owner... | 25.916667 | 78 | 0.610932 | [
"MIT"
] | 19cb0475536a9e7d/nuttx | arch/z80/src/ez80/ez80f92_init.asm | 4,043 | Assembly |
;Spawn location table cryptic documentation
;$A0 |$15B6E - $15B7B (2) Starting room
;$0601 |$15B7C - $15BB3 (8) scroll ranges
;$E2 |$15BB4 - $15BC1 (2) Location X? Scroll Data
;$E8 |$15BC2 - $15BCF (2) Location Y? Scroll Data
;$20 |$15BD0 - $15BDD (2) link x?
;$22 |$15BDE - $15BEB (2) link y... | 37.583333 | 2,042 | 0.556456 | [
"MIT"
] | Zarby89/z3randomizer | sandbox.asm | 11,726 | Assembly |
; A256818: Number of length n+3 0..1 arrays with at most two downsteps in every n consecutive neighbor pairs.
; 16,32,64,128,245,442,753,1220,1894,2836,4118,5824,8051,10910,14527,19044,24620,31432,39676,49568,61345,75266,91613,110692,132834,158396,187762,221344,259583,302950,351947,407108,469000,538224,615416,701248,79... | 51.15 | 754 | 0.801564 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/256/A256818.asm | 1,023 | Assembly |
; A311384: Coordination sequence Gal.6.220.1 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,4,8,12,16,22,28,32,36,40,44,48,52,56,60,66,72,76,80,84,88,92,96,100,104,110,116,120,124,128,132,136,140,144,148,154,160,164,168,172,176,18... | 19.414634 | 177 | 0.557789 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/311/A311384.asm | 796 | Assembly |
format binary
BASE = 0x7c00; That's where code is loaded by BIOS.
LF = 10 ; Line feed.
CR = 13 ; Carriage return.
B = 219 ; Full block.
S = 32 ; Space.
macro _put destination*, source* {
mov [destination+BASE], source
}
macro _get destination*, source* {
mov destination, [source+BASE]
}
... | 16.088983 | 68 | 0.548591 | [
"MIT"
] | Kharacternyk/dice-tower-os | boot.asm | 3,797 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xab9b, %r10
nop
sub $18332, %rcx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
movups %xmm2, (%r10)
nop
nop
nop
nop
cmp %r9, %r9
lea addresses_normal_ht+0x1881b, %rsi
lea add... | 40.558621 | 2,999 | 0.664853 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1838.asm | 5,881 | Assembly |
addi $1,$1,1
EoP: beq $11, $11, EoP #end of program (infinite loop)
| 25.666667 | 63 | 0.571429 | [
"MIT"
] | colasgrenier/pipelined-mips-processor | Test_Benchmark1/benchmark1.asm | 77 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x14966, %rsi
lea addresses_WT_ht+0x6532, %rdi
nop
xor $25147, %r8
mov $46, %rcx
rep movsw
nop
sub %rsi, %rsi
lea addresses_WC_ht+0x10a6, %rsi
nop
nop
nop
nop
inc %r15
mov $0x6... | 37.774011 | 2,999 | 0.657643 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_349.asm | 6,686 | 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_enabled_YMM proto VECCALL (byte)
align 16
uXm_has_enabled_YMM proc VECCALL (byte)
mov ... | 18.468085 | 80 | 0.62788 | [
"MIT"
] | Navegos/uasmlib | src/host/x86/asm/has/uXmhas_enabled_YMM.asm | 868 | Assembly |
//------------------------------------------------------------------------------
//
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribut... | 22.955224 | 85 | 0.514304 | [
"BSD-2-Clause"
] | James992927108/uEFI_Edk2_Practice | ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm | 1,538 | Assembly |
; A227417: Integer triples a(3n-2) = n, a(3n-1) = n+4, and a(3n) = n+7.
; 1,5,8,2,6,9,3,7,10,4,8,11,5,9,12,6,10,13,7,11,14,8,12,15,9,13,16,10,14,17,11,15,18,12,16,19,13,17,20,14,18,21,15,19,22,16,20,23,17,21,24,18,22,25,19,23,26,20,24,27,21,25,28,22,26,29,23,27,30,24
mov $2,$0
lpb $0
lpb $2
add $0,$2
trn $0,... | 22.210526 | 195 | 0.552133 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/227/A227417.asm | 422 | Assembly |
; A188220: Positions of 1 in the zero-one sequence [nr]-[5r]-[nr-5r], where r=sqrt(5), n>=1.
; 9,13,17,26,30,34,43,47,51,60,64,68,77,81,85,89,98,102,106,115,119,123,132,136,140,149,153,157,161,170,174,178,187,191,195,204,208,212,221,225,229,233,242,246,250,259,263,267,276,280,284,293,297,301,305,314,318,322,331,335,339... | 76.166667 | 287 | 0.71116 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/188/A188220.asm | 457 | Assembly |
; Allow the player to specify the destination of item-dragging by key rather
; than by mouse, calling eop-openableItemForKey to specify the destination
; and then calling eop-dropToPresetDestination to do the dropping.
; This makes it quicker and easier for the player to give a dragged item to a
; particula... | 26.170068 | 78 | 0.717962 | [
"MIT"
] | JohnGlassmyer/UltimaHacks | u7-common/patch-dropToKeySelectedItem.asm | 3,847 | Assembly |
_text SEGMENT
; char _InterlockedCompareExchange8(volatile char*, char NewValue, char Expected)
; - RCX, RDX, R8
_InterlockedCompareExchange8 PROC
mov eax,r8d
lock cmpxchg [rcx],dl
ret
_InterlockedCompareExchange8 ENDP
_text ENDS
END
| 17 | 83 | 0.66436 | [
"Apache-2.0"
] | webos21/xi | src/base/src/win32/xg_atomic_S.asm | 289 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright GeoWorks 1996. All Rights Reserved.
GEOWORKS CONFIDENTIAL
PROJECT: GEOS
MODULE: CommonUI/COpen (common code for several specific ui's)
FILE: copenCtrlCommon.asm
ROUTINES:
Name Description
---- ---------... | 23.932978 | 80 | 0.638712 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Library/SpecUI/CommonUI/CComp/copenCtrlCommon.asm | 53,921 | Assembly |
pushpc
org $0ef51b
jml RenderCharExtended
org $0ef520
RenderCharExtended_returnOriginal:
org $0ef567
RenderCharExtended_returnUncompressed:
org $0ef356
jsl RenderCharLookupWidth
org $0ef3ba
jsl RenderCharLookupWidth
org $0ef48e
jml RenderCharLookupWidthDraw
org $0ef499
RenderCharLookupWidth... | 25.942478 | 48 | 0.449429 | [
"MIT"
] | SmolBig/alttp_sm_combo_randomizer_rom | src/z3/randomizer/textrenderer.asm | 11,726 | Assembly |
; A052768: A simple grammar.
; 0,0,0,0,0,120,360,840,1680,3024,5040,7920,11880,17160,24024,32760,43680,57120,73440,93024,116280,143640,175560,212520,255024,303600,358800,421200,491400,570024,657720,755160,863040,982080,1113024
bin $0,4
lpb $0
bin $0,2
lpe
mul $0,24
| 29.888889 | 197 | 0.762082 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/052/A052768.asm | 269 | Assembly |
; A082903: a(n) = gcd(2^n, sigma_1(n)) = gcd(A000079(n), A000203(n)) also a(n) = gcd(2^n, sigma_3(n)) = gcd(A000079(n), A001158(n)).
; 1,1,4,1,2,4,8,1,1,2,4,4,2,8,8,1,2,1,4,2,32,4,8,4,1,2,8,8,2,8,32,1,16,2,16,1,2,4,8,2,2,32,4,4,2,8,16,4,1,1,8,2,2,8,8,8,16,2,4,8,2,32,8,1,4,16,4,2,32,16,8,1,2,2,4,4,32,8,16,2,1,2,4,32,4,4... | 116 | 565 | 0.575123 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/082/A082903.asm | 812 | Assembly |
hirom
ORG $84E5C9
JSL $C03E00
ORG $C03E00
PHA
JSL $80A73A
phy
ldy $15
phy
sta $15
JSL $80A73A
clc
adc $15
lsr
ply
sty $15
ply
CMP $01,s
PLA
RTL | 8.318182 | 13 | 0.562842 | [
"MIT"
] | RobertTheSable/snesfe-2rn | fe4.asm | 183 | Assembly |
; Fib using stack for arg passing - but assumes exclusive use of MAR as stac pointer
STACKTOP: EQU $ffff ; location of top of stack
STACKPTR: EQU $feff ; location of low byte of stack ptr addressa, top byte is a const, therefore 255 byte stack
STACKPTR_ADDR_HI: EQU <:STACKTOP ;fixed
[:STACKPTR] = >:STACKTO... | 25.75 | 115 | 0.486362 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | portingle/simplecpu | jvmtools/compiler/programs/fibonacci_stack_using_pointer_optimised.asm | 2,163 | Assembly |
Map_4E2A2: dc.w word_4E2A4-Map_4E2A2
word_4E2A4: dc.w 3
dc.b $EC, $E, 0, 0, $FF, $F4
dc.b 4, $D, 0, $C, $FF, $EC
dc.b $C, 0, 0, $14, 0, $C
| 27.833333 | 37 | 0.467066 | [
"Apache-2.0"
] | NatsumiFox/AMPS-Sonic-3-Knuckles | General/Blue Sphere/Map - Tails Pose.asm | 167 | Assembly |
;******************************************************************************
;* MEMCPY32.ASM - 32 BIT STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... | 31.411321 | 79 | 0.536881 | [
"MIT"
] | JosiahCraw/TI-Arm-Docker | compiler/ti-cgt-arm_18.12.4.LTS/lib/src/memcpy32.asm | 8,324 | Assembly |
; A100617: There are n people in a room. The first half (i.e., floor(n/2)) of them leave, then 1/3 (i.e., floor of 1/3) of those remaining leave, then 1/4, then 1/5, etc.; sequence gives number who remain at the end.
; 1,1,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8... | 43 | 673 | 0.601968 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/100/A100617.asm | 1,118 | Assembly |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
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... | 32.056769 | 58 | 0.413477 | [
"MIT-0"
] | tgv2002/xv6-OS-modified | forktest.asm | 22,023 | Assembly |
; A047789: Denominators of Glaisher's I-numbers.
; 2,3,1,1,9,1,1,3,1,1,3,1,1,27,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,81,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,27,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,9,1,1,3,1,1,3,1,1,27,1,1,3,1,1
mov $1,$0
trn $0,1
add $1,2
add $0,$1
pow $1,$1
gcd $0,$1
| 31.4 | 205 | 0.547771 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/047/A047789.asm | 314 | Assembly |
title "Resource package x86 optimzations"
;++
;
;Copyright (c) 1991 Microsoft Corporation
;
;Module Name:
;
; resoura.asm
;
;Abstract:
;
; Optimized preambles for some HOT resource code paths.
;
; Takes first crack at satisfying the ExResource API, if it
; can't it passes it onto the full... | 25.063063 | 77 | 0.584472 | [
"MIT"
] | King0987654/windows2000 | private/ntos/ex/i386/resoura.asm | 2,782 | Assembly |
.import source "64spec.asm"
.eval config_64spec("print_immediate_result", false)
sfspec: :init_spec()
:describe("assert_a_zero")
:it("works for all values of A register");{
.for (var a = 0; a < 256; a++) {
.if (a == 0) {
lda #a
:assert_a_zero
} else {
lda #a
:asser... | 22.090909 | 96 | 0.580247 | [
"MIT"
] | 64bites/64spec | spec/assert_a_zero_spec.asm | 729 | Assembly |
org 7c00h
init_foo:
jmp init_bar
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
init_bar:
mov [b1],dl
mov [b2],edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
ret
absolute init_bar+7
b1: resb 1
b2: resd 6
| 6.461538 | 20 | 0.642857 | [
"BSD-2-Clause"
] | 1480c1/nasm | travis/test/absolute.asm | 252 | Assembly |
SECTION "sec", ROMX[1/0]
| 12.5 | 24 | 0.64 | [
"MIT"
] | AtariDreams/rgbds | test/asm/divzero-section-bank.asm | 25 | Assembly |
; A158555: a(n) = 196*n^2 + 14.
; 14,210,798,1778,3150,4914,7070,9618,12558,15890,19614,23730,28238,33138,38430,44114,50190,56658,63518,70770,78414,86450,94878,103698,112910,122514,132510,142898,153678,164850,176414,188370,200718,213458,226590,240114,254030,268338,283038,298130,313614,329490,345758,362418,379470,396914... | 249 | 1,918 | 0.856426 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/158/A158555.asm | 1,992 | Assembly |
* ---------------------------------------------------------------------------
* PlayDPCM8kHz
* -------------
* Subroutine to play a Delta PCM sample at 8kHz
* 6 bit DAC sample value is encoded as a 4bit lookup value in a delta table
* 125 cycles between 2 DAC samples
*
* No IRQ here, this will freeze anything running .... | 38.080808 | 120 | 0.386737 | [
"Apache-2.0"
] | wide-dot/thomson-to8-game-engine | Engine/Sound/PlayDPCM8kHz.asm | 3,770 | Assembly |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0
TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-alloca.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC ___local_stdio_printf_options
PUBLIC ___local_stdio_scanf_options... | 24.638889 | 127 | 0.681591 | [
"Apache-2.0"
] | Dovgalyuk/AntiTaint | Epilog/asm/MSVC2015/func-alloca-omitfp-opt.asm | 6,209 | Assembly |
; A135668: a(n) = ceiling(n + sqrt(n)).
; 2,4,5,6,8,9,10,11,12,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,1... | 85.25 | 906 | 0.697947 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/135/A135668.asm | 1,023 | Assembly |
0x00002850 nop; //----------------
0x00002868 nop; //----------------
0x00002880 move.l 0x21e0,A0 ; //0,
0x00002898 jsr ix
0x000028b0 move.l 0x21e0,A0 ; //0,
0x000028c8 move.l 0x2210,A1 ; //0,
0x000028e0 move.L (A0),(A1)
0x000028f8 xor.q D0,D0
0x00002910 move.l 0x2140,A0 ; //640,
0x00002928 move.w (A0),D... | 30.756944 | 40 | 0.644389 | [
"MIT"
] | AliveMOon/piMASSpub | Desktop/piMASS/HTML/paint.mass/d3.asm | 4,429 | Assembly |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL' key
SECTION rodata_clib
PUBLIC in_keytranstbl
.in_keytranstbl
; 48 bytes per table
;Unshifted
defb 'r', 'q', 'e', 255, '... | 39.090909 | 73 | 0.374419 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/vz/input/in_keytranstbl.asm | 2,150 | Assembly |
; A131507: 2n+1 appears n+1 times.
; 1,3,3,5,5,5,7,7,7,7,9,9,9,9,9,11,11,11,11,11,11,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,21,21,21,21,21,21,21,21,21,21,21,23,23,23,23,23,23,23,23,23,23,23,23,25,25,25,25,25,25,25,25,25,25,25,25,25,27,27,27,27,27,27,27,27,2... | 35 | 286 | 0.625974 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/131/A131507.asm | 385 | Assembly |
; A095121: Expansion of (1-x+2x^2)/((1-x)(1-2x)).
; 1,2,6,14,30,62,126,254,510,1022,2046,4094,8190,16382,32766,65534,131070,262142,524286,1048574,2097150,4194302,8388606,16777214,33554430,67108862,134217726,268435454,536870910,1073741822,2147483646,4294967294,8589934590,17179869182,34359738366,68719476734,137438953470,... | 67.777778 | 512 | 0.837705 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/095/A095121.asm | 610 | Assembly |
; A047850: a(n) = (5^n + 3)/4.
; 1,2,7,32,157,782,3907,19532,97657,488282,2441407,12207032,61035157,305175782,1525878907,7629394532,38146972657,190734863282,953674316407,4768371582032,23841857910157,119209289550782,596046447753907
mov $1,5
pow $1,$0
add $1,5
div $1,4
mov $0,$1
| 31 | 199 | 0.763441 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/047/A047850.asm | 279 | Assembly |
// Create a n x m rectangle by manipulating the screen register
// PSEUDO CODE:
// addr = SCREEN
// n = RAM[0]
// i = 0
// LOOP:
// if i > n goto END
// RAM[addr] = -1 (set pixels to black)
// addr = addr + 31
// i = i + 1
// goto LOOP
// END:
// goto END
@SCREEN
D=A
@addr
M=D // addr = 16384 register
... | 12.019231 | 63 | 0.4848 | [
"MIT"
] | UrielX/nand2tetris | projects/04/assembler_programs/draw_rectangle.asm | 625 | Assembly |
.386
_TEXT segment use32 para public 'CODE'
public _DivideAsm
public _yuzaadd
_DivideAsm proc near
assume cs:_TEXT
mov eax, [esp + 4]
mov ebx, [esp + 8]
cdq
idiv ebx
ret
_DivideAsm endp
_yuzaadd proc near
assume cs:_TEXT
mov eax, [esp + 4]
mov ebx, [e... | 15.692308 | 48 | 0.556373 | [
"BSD-2-Clause"
] | pdpdds/edusample | IDIV6/_divide.asm | 408 | Assembly |
global _start
section .text
_start:
jmp short call_abc
abc:
pop rdi ; load own address
sub rdi,46 ; jump over egghunter code to avoid finding tag for searching
mov rax,0x8899AABBCCDDEEFF ; load tag 0xAABBCCDD
xor rcx,rcx
mov cx... | 33.583333 | 102 | 0.523573 | [
"Unlicense"
] | 91fc7b/SLAE64 | 3/egghunter.asm | 1,209 | Assembly |
C nettle, low-level cryptographics library
C
C Copyright (C) 2013 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; either version 2.1 of the License, or (at your
C opt... | 22.868687 | 84 | 0.632509 | [
"BSD-3-Clause"
] | GaloisInc/hacrypto | src/C/nettle/nettle-2.7.1/x86_64/sha256-compress.asm | 4,529 | Assembly |
section .text
global ft_strlen
ft_strlen:
xor rcx, rcx
ft_strlen_next:
cmp [rdi+rcx], byte 0
jz ft_strlen_null
inc rcx
jmp ft_strlen_next
ft_strlen_null:
mov rax, rcx
ret
| 11.375 | 22 | 0.752747 | [
"MIT"
] | caio-vinicius/libasm | srcs/ft_strlen.asm | 182 | Assembly |
; A169642: a(n) = A005408(n) * A022998(n).
; 0,3,20,21,72,55,156,105,272,171,420,253,600,351,812,465,1056,595,1332,741,1640,903,1980,1081,2352,1275,2756,1485,3192,1711,3660,1953,4160,2211,4692,2485,5256,2775,5852,3081,6480,3403,7140,3741,7832,4095,8556,4465,9312,4851,10100,5253,10920,5671,11772,6105,12656,6555,13572,70... | 51.5 | 496 | 0.749191 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/169/A169642.asm | 618 | Assembly |
;/*
; Copyright Oliver Kowalke 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
;*/
; *******************************************************
; * ... | 38.022989 | 72 | 0.360036 | [
"Apache-2.0"
] | 10088/swoole-src | thirdparty/boost/asm/make_arm_aapcs_pe_armasm.asm | 3,308 | Assembly |
; A001552: 1^n + 2^n + ... + 5^n.
; 5,15,55,225,979,4425,20515,96825,462979,2235465,10874275,53201625,261453379,1289414505,6376750435,31605701625,156925970179,780248593545,3883804424995,19349527020825,96470431101379,481245667164585,2401809362313955,11991391850823225
mov $4,$0
mov $0,5
mov $2,5
mov $3,$4
lpb $0,1
mov... | 19.166667 | 232 | 0.695652 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/001/A001552.asm | 460 | Assembly |
SFX_Battle_34_Ch4:
dutycycle 237
unknownsfx0x20 8, 255, 248, 3
unknownsfx0x20 15, 255, 0, 4
unknownsfx0x20 15, 243, 0, 4
endchannel
SFX_Battle_34_Ch5:
dutycycle 180
unknownsfx0x20 8, 239, 192, 3
unknownsfx0x20 15, 239, 192, 3
unknownsfx0x20 15, 227, 192, 3
endchannel
SFX_Battle_34_Ch7:
unknownnoise0x20 4... | 18.73913 | 31 | 0.758701 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | audio/sfx/battle_34.asm | 431 | Assembly |
bits 64
global assembly
assembly:
mov rbx, 5
mov rcx, 10
lea eax, [rcx + rbx*2 + 5]
ret
| 10.777778 | 28 | 0.618557 | [
"MIT"
] | ailtonbsj/buffer-overflow-studies | gcc-assembly/02-load-effective-address/assembly.asm | 97 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.