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 |
|---|---|---|---|---|---|---|---|---|
; A313836: Coordination sequence Gal.3.23.2 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,5,10,16,20,26,31,36,41,46,52,56,62,67,72,77,82,88,92,98,103,108,113,118,124,128,134,139,144,149,154,160,164,170,175,180,185,190,196,200,206... | 23.208333 | 179 | 0.651706 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/313/A313836.asm | 557 | Assembly |
; A117590: a(n) = ceiling(x(n)), where x(n) = 3*x(n-1)/2 and x(1) = 1.
; 2,3,5,7,11,16,23,35,52,77,116,173,260,390,584,876,1314,1971,2956,4434,6651,9976,14964,22446,33669,50503,75754,113631,170446,255669,383503,575254,862880,1294320,1941480,2912220,4368329,6552494,9828740,14743110
lpb $0
mov $2,$0
sub $0,1
seq $... | 31.538462 | 210 | 0.646341 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/117/A117590.asm | 410 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xf759, %rsi
nop
sub %r12, %r12
movw $0x6162, (%rsi)
nop
nop
nop
xor %rcx, %rcx
lea addresses_WT_ht+0x4189, %rsi
lea addresses_WT_ht+0x7c89, %rdi
clflush (%rdi)
nop
and $51500, ... | 46.652174 | 2,999 | 0.657968 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1245.asm | 5,365 | Assembly |
; A254028: a(n) = 2^(n+1) + 3^n + 3.
; 6,10,20,46,116,310,860,2446,7076,20710,61100,181246,539636,1610710,4815740,14414446,43177796,129402310,387944780,1163310046,3488881556,10464547510,31389448220,94159956046,282463090916,847355718310,2542000046060,7625865920446,22877329325876,68631451106710,205893279578300,6176776912... | 27.157895 | 322 | 0.726744 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/254/A254028.asm | 516 | Assembly |
; A257637: Maximal number of edges in an n-vertex triangle-free graph with maximal degree at most 4.
; 0,1,2,4,6,9,12,16,17,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,... | 19.840909 | 346 | 0.588774 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/257/A257637.asm | 873 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright GeoWorks 1994. All Rights Reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Icon editor
MODULE: Viewer
FILE: viewerVisIcon.asm
AUTHOR: Steve Yegge, Jun 17, 1994
ROUTINES:
Name Description
---- -----------
... | 25.175337 | 79 | 0.598015 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Appl/Icon/Viewer/viewerVisIcon.asm | 39,198 | Assembly |
.data
string: .space 1024
.macro input_char(%in)
li $v0, 12
syscall
move %in, $v0
.end_macro
.macro input_int(%in)
li $v0, 5
syscall
move %in, $v0
.end_macro
.macro print(%out)
li $v0, 1
move $a0, %out
syscall
.end_macro
.macro println()
li $v0, 11
li $a0, '\n'
syscall
.end_macro
.macro printspace()
li $... | 14.905405 | 34 | 0.607434 | [
"MIT"
] | OliverDu8-24/BUAA-CO-2021 | P2/P2_L0_judge.asm | 1,103 | Assembly |
; A089255: Odd numbers n such that 2*n-5 is a prime.
; 5,9,11,17,21,23,29,33,39,47,51,53,57,59,71,77,81,89,93,99,101,117,119,123,131,137,141,143,149,159,161,171,177,179,189,197,201,203,207,213,219,227,231,233,257,263,273,281,287,291,299,303,309,311,323,329,333
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,1
mov $3,$1
... | 23.090909 | 207 | 0.635827 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/089/A089255.asm | 508 | Assembly |
;
; Generic pseudo graphics routines for text-only platforms
;
; Written by Stefano Bodrato 30/01/2002
;
;
; Clears graph screen.
;
;
; $Id: clsgraph.asm,v 1.8 2017-01-02 22:57:59 aralbrec Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC cleargraphics
PUBLIC ... | 14.588235 | 64 | 0.655242 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/gfx/text/clsgraph.asm | 496 | Assembly |
li x15, 0x40001000
li x8 , 4194303
sw x8 , 0x3(x15)
| 10.6 | 18 | 0.679245 | [
"Apache-2.0"
] | Talha-Ahmed-1/picofoxy | fpga/program.asm | 53 | Assembly |
section .bss
whocares resb 16 ; Reserve 16 bytes of memory for "Hello World!"
time resb 1 ; memory location to store time
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry point
;Showing how 32, 16, and 8 bit versions of a regis... | 43.13913 | 91 | 0.545253 | [
"MIT"
] | XlogicX/Learn | ASM_x86/skeleton.asm | 4,961 | Assembly |
; A073059: a(n) = (1/2)*(A073504(n+1) - A073504(n)).
; 0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0... | 26.848485 | 501 | 0.488713 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/073/A073059.asm | 886 | Assembly |
Music_PalletTown::
audio Music_PalletTown, Ch0, Ch1, Ch2
Music_Pokecenter::
audio Music_Pokecenter, Ch0, Ch1, Ch2
Music_Gym::
audio Music_Gym, Ch0, Ch1, Ch2
; Viridian City, Pewter City, Saffron City
Music_Cities1::
audio Music_Cities1, Ch0, Ch1, Ch2, Ch3
; Cerulean City, Fuchsia City
Music_Cities2::
audio Mus... | 20.58209 | 60 | 0.741117 | [
"MIT"
] | AmateurPanda92/pokemon-rby-dx | audio/headers/musicheaders1.asm | 1,379 | Assembly |
; ----------------------------------------------------------------------------------------
; This is a simple asm function called "adder" that adds 100 and add two parameters
; as function should return an byte we use al
; -----------------------------------------------------------------------------------------
sect... | 42.833333 | 93 | 0.470817 | [
"Apache-2.0"
] | afterlisp/x64callexplore | explo_cpp2_simplearith/addfunc.asm | 514 | Assembly |
; A247049: Rectangular array read upwards by columns: T = T(n,k) = number of paths from (0,0) to (n,k), where 0 >= k <= 2, consisting of segments given by the vectors (1,1), (1,2), (1,-1).
; 1,0,0,0,1,1,1,1,1,1,2,2,2,3,3,3,5,5,5,8,8,8,13,13,13,21,21,21,34,34,34,55,55,55,89,89,89,144,144,144,233,233,233,377,377,377,610,... | 224.454545 | 2,211 | 0.860672 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/247/A247049.asm | 2,469 | Assembly |
; A140165: a(n) = -a(n-1) + 3*a(n-2), starting a(1)=1, a(2)=2.
; Submitted by Jamie Morken(s3)
; 1,2,1,5,-2,17,-23,74,-143,365,-794,1889,-4271,9938,-22751,52565,-120818,278513,-640967,1476506,-3399407,7828925,-18027146,41513921,-95595359,220137122,-506923199,1167334565,-2688104162,6190107857,-14254420343,32824743914,-7... | 51.076923 | 490 | 0.76506 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/140/A140165.asm | 664 | Assembly |
; A032936: Numbers whose set of base-16 digits is {1,2}.
; 1,2,17,18,33,34,273,274,289,290,529,530,545,546,4369,4370,4385,4386,4625,4626,4641,4642,8465,8466,8481,8482,8721,8722,8737,8738,69905,69906,69921,69922,70161,70162,70177,70178,74001,74002,74017,74018,74257,74258,74273,74274,135441,135442,135457,135458,135697,13... | 32.56 | 497 | 0.707617 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/032/A032936.asm | 814 | Assembly |
; A277864: Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 3", based on the 5-celled von Neumann neighborhood.
; 1,1,1,1101,1,111101,1,11111101,1,1111111101,1,111111111101,1,11111111111101,1,1111111111111101,1,... | 57.5 | 482 | 0.831056 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/277/A277864.asm | 805 | Assembly |
; A324293: a(n) = A002487(sigma(n)).
; Submitted by Jon Maiga
; 1,2,1,3,2,2,1,4,5,4,2,3,3,2,2,5,4,10,3,8,1,4,2,4,5,8,3,3,4,4,1,6,2,8,2,19,7,4,3,12,8,2,5,8,10,4,2,5,10,16,4,9,8,4,4,4,3,12,4,8,5,2,5,7,8,4,5,6,2,4,4,20,11,10,5,9,2,8,3,16,13,6,8,3,8,6,4,12,12,18,3,8,1,4,4,6,9,34,10,27
seq $0,203 ; a(n) = sigma(n), the sum... | 72.142857 | 219 | 0.570297 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/324/A324293.asm | 505 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1eb55, %r15
nop
nop
nop
nop
nop
add %r14, %r14
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
and $0xffffffffffffffc0, %r15
movntdq %xmm5, (%r15)
nop
nop
nop
nop
xor $37105,... | 38.534591 | 2,999 | 0.657581 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_100.asm | 6,127 | Assembly |
; A057068: floor[6^6/n].
; 46656,23328,15552,11664,9331,7776,6665,5832,5184,4665,4241,3888,3588,3332,3110,2916,2744,2592,2455,2332,2221,2120,2028,1944,1866,1794,1728,1666,1608,1555,1505,1458,1413,1372,1333,1296,1260,1227,1196,1166,1137
add $0,1
mov $1,46656
div $1,$0
mov $0,$1
| 34.875 | 210 | 0.741935 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/057/A057068.asm | 279 | Assembly |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="timerid"/>
<%docstring>
Invokes the syscall timer_getoverrun. See 'man 2 timer_getoverrun' for more information.
Arguments:
timerid(timer_t): timerid
</%docstring>
${syscall('SYS_timer_getoverrun', timerid)}
| 21.071429 | 89 | 0.732203 | [
"MIT"
] | FDlucifer/binjitsu | pwnlib/shellcraft/templates/aarch64/linux/timer_getoverrun.asm | 295 | Assembly |
;; -*- tab-width: 4 -*-
bits 32
extern _PackedData
extern _Models
extern _HashTable
extern _UnpackedData
extern _HashTableSize
extern _VirtualSize
extern _ImageBase
global _header
global _DepackEntry
global _LinkerVersionPtr
global _SubsystemTypePtr
global _ModelSkipPtr
global _BaseProbPtr
global _Spa... | 23.369427 | 68 | 0.607114 | [
"BSD-3-Clause"
] | LeStahL/Crinkler | source/Crinkler/modules/header20.asm | 7,338 | Assembly |
; c definition of memory mapped register
SECTION code_clib
PUBLIC _MM_FFFC
defc _MM_FFFC = 0xfffc
| 12.625 | 40 | 0.80198 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/sms/registers/z80/mm_fffc.asm | 101 | Assembly |
; Stub for the TI 82 calculator
;
; Stefano Bodrato - Dec 2000
;
; $Id: ti82_crt0.asm,v 1.31 2016-07-11 05:58:34 stefano Exp $
;
;-----------------------------------------------------
; Some general PUBLICs and EXTERNs needed by the assembler
;-----------------------------------------------------
MODULE Ti82_crt0
... | 20.574803 | 61 | 0.601225 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/lib/target/ti82/classic/ti82_crt0.asm | 2,613 | Assembly |
; A009985: Powers of 41.
; 1,41,1681,68921,2825761,115856201,4750104241,194754273881,7984925229121,327381934393961,13422659310152401,550329031716248441,22563490300366186081,925103102315013629321,37929227194915558802161,1555098314991537910888601,63759030914653054346432641,2614120267500775228203738281,1071789309675317843... | 71.571429 | 444 | 0.904192 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/009/A009985.asm | 501 | Assembly |
; A348724: Decimal expansion of the absolute value of one of the negative roots of Shanks' simplest cubic associated with the prime p = 19.
; Submitted by Christian Krause
; 2,2,1,8,7,6,1,6,2,2,6,3,1,9,0,9,3,4,2,6,6,6,8,0,0,5,0,1,8,5,0,5,0,6,1,5,5,9,9,1,9,5,4,9,4,4,0,7,7,5,2,7,3,3,6,0,0,9,1,5,1,0,8,4,9,0,9,8,5,2,4,2,8,... | 23.08 | 201 | 0.580589 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/348/A348724.asm | 577 | Assembly |
; A329510: Expansion of (1 + x)*(1 + x + x^2)*(1 + x^2 - x^3) / (1 - x).
; 1,3,6,8,8,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
mov $4,2
mov $9,$0
lpb $4
mov $0,$9
sub $4,1
add $0,$4
sub $0,1
... | 15.44186 | 171 | 0.441265 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/329/A329510.asm | 664 | Assembly |
RRA
ADDAC
RES0D
SET4mHL
LDDmHL
BIT3L
LDED
ADCAD
RES2D
ORH
LDEC
XORA
INCL
RES7C
LDmHLH
INCL
RLCmHL
LDEL
LDEC
BIT0L
SET0mHL
LDCA
LDBC
RES4L
RLL
RES1H
SCF
LDEmHL
SRAL
RES4mHL
LDHD
RES4A
SRAmHL
RRCC
SET4mHL
BIT5D
LDmHLL
BIT2C
RES7H
XORE
DECA
LDLL
ANDL
CPH
LDDE
CPB
RRD
SLAD
RR... | 6.631107 | 8 | 0.698692 | [
"MIT"
] | grantsimmons/GameBuddy-Verilog | scripts/oldstims/old_rand.asm | 6,651 | Assembly |
; A182627: Total number of digits in binary expansion of all divisors of n.
; 1,3,3,6,4,8,4,10,7,10,5,15,5,10,10,15,6,17,6,18,11,12,6,24,9,12,12,18,6,24,6,21,13,14,13,30,7,14,13,28,7,26,7,21,20,14,7,35,10,21,14,21,7,28,14,28,14,14,7,42,7,14,21,28,15,30,8,24,15,30,8,46,8,16,22,24,15,30,8,40,19,16,8,45,16,16,15,32,8,46,1... | 23.652174 | 271 | 0.584559 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/182/A182627.asm | 544 | Assembly |
; size_t b_array_erase(b_array_t *a, size_t idx)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_erase
EXTERN asm_b_array_erase
b_array_erase:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_b_array_erase
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_array_erase
defc... | 12.37931 | 48 | 0.754875 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_erase.asm | 359 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x5f7f, %r12
nop
nop
nop
nop
add $15519, %rdx
movw $0x6162, (%r12)
add $7886, %r15
lea addresses_UC_ht+0xdcbf, %rbx
nop
nop
nop
nop
nop
cmp $2574, %r13
mov $0x6162636465666768,... | 38.301887 | 2,999 | 0.660263 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_1652.asm | 6,090 | Assembly |
; A337897: Number of achiral colorings of the 8 triangular faces of a regular octahedron or the 8 vertices of a cube using n or fewer colors.
; Submitted by Jamie Morken(s4)
; 1,21,201,1076,4025,11901,29841,66256,134001,251725,445401,750036,1211561,1888901,2856225,4205376,6048481,8520741,11783401,16026900,21474201,2838... | 31 | 195 | 0.763441 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/337/A337897.asm | 465 | Assembly |
SECTION code_fp_am9511
PUBLIC cam32_sdcc_cos
EXTERN asm_am9511_cos
defc cam32_sdcc_cos = asm_am9511_cos
| 12 | 36 | 0.861111 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_cos.asm | 108 | Assembly |
Map_22119A_: dc.w Frame_2211A6-Map_22119A_ ; ...
dc.w Frame_2211B4-Map_22119A_
dc.w Frame_2211D4-Map_22119A_
dc.w Frame_2211F4-Map_22119A_
dc.w Frame_221214-Map_22119A_
dc.w Frame_22122E-Map_22119A_
Frame_2211A6: dc.w 2
dc.b $C0, $B, 0, 0, 0, 8
dc.b $E0, $F, 0, $C, 0, 0
Frame_2211B4: dc.w 5
dc.b ... | 29.162162 | 48 | 0.497683 | [
"Apache-2.0"
] | NatsumiFox/AMPS-Sonic-3-Knuckles | Levels/AIZ/Misc Object Data/Map - Intro Waves.asm | 1,079 | Assembly |
; megamini-defs.asm
*pragmapush list ; Save state of list pragma
pragma nolist ; Turn off assembly listing and exclude from symbol list
ifndef MEGA_DEFS ; Load defines only once
ifndef MPI_DEFS
... | 48.808511 | 117 | 0.458152 | [
"MIT"
] | dougmasten/coco_defines | defines/megamini-defs.asm | 6,882 | 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 c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
ld a, 02
ldff(ff), a
ld a, 06
ldff(43... | 12.894737 | 24 | 0.622449 | [
"MIT"
] | Manurocker95/GiovanniEmulator | GIOVANNI/gambatte/test/hwtests/m2int_m3stat/scx/m2int_scx6_m3stat_ds_1_cgb04c_out3.asm | 1,470 | Assembly |
; A158447: a(n) = 10*n^2 - 1.
; Submitted by Christian Krause
; 9,39,89,159,249,359,489,639,809,999,1209,1439,1689,1959,2249,2559,2889,3239,3609,3999,4409,4839,5289,5759,6249,6759,7289,7839,8409,8999,9609,10239,10889,11559,12249,12959,13689,14439,15209,15999,16809,17639,18489,19359,20249,21159,22089,23039,24009,24999,2... | 66.333333 | 496 | 0.78057 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/158/A158447.asm | 597 | Assembly |
; A064199: a(n) = 9*(n-2)^2*(n^2-2*n-1)/2.
; 0,9,126,567,1656,3825,7614,13671,22752,35721,53550,77319,108216,147537,196686,257175,330624,418761,523422,646551,790200,956529,1147806,1366407,1614816,1895625,2211534,2565351,2959992,3398481,3883950,4419639,5008896,5655177,6362046,7133175,7972344,8883441,9870462,10937511,120... | 45.5 | 498 | 0.786499 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/064/A064199.asm | 637 | Assembly |
; z_Windows_NT-586_asm.asm: - microtasking routines specifically
; written for IA-32 architecture and Intel(R) 64 running Windows* OS
; $Revision: 43373 $
; $Date: 2014-08-07 09:17:32 -0500 (Thu, 07 Aug 2014) $
;
;//===----------------------------------------------------------------------===//
;//
;// ... | 22.312006 | 91 | 0.549588 | [
"BSD-3-Clause"
] | HackLinux/goblin-core | riscv/llvm/omp_trunk/runtime/src/z_Windows_NT-586_asm.asm | 31,036 | Assembly |
; A155598: 7^n-2^n+1.
; 1,6,46,336,2386,16776,117586,823416,5764546,40353096,282474226,1977324696,13841283106,96889002216,678223056466,4747561477176,33232930504066,232630513856136,1628413597648306,11398895184848856
mov $1,7
pow $1,$0
mov $2,2
pow $2,$0
sub $1,$2
mov $0,$1
add $0,1
| 25.727273 | 192 | 0.770318 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/155/A155598.asm | 283 | Assembly |
; A175784: Numerators of k/(10+k)+1 for k = 2*n-1.
; 12,16,4,24,28,32,36,8,44,48,52,56,12,64,68,72,76,16,84,88,92,96,20,104,108,112,116,24,124,128,132,136,28,144,148,152,156,32,164,168,172,176,36,184,188,192,196,40,204,208,212,216,44,224,228
add $0,3
dif $0,5
mov $1,$0
mul $1,4
| 35 | 190 | 0.660714 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/175/A175784.asm | 280 | Assembly |
; A075888: Difference of successive primes squared divided by 24, (prime(n+1)^2-prime(n)^2)/24.
; Submitted by Jamie Morken(s2)
; 1,3,2,5,3,7,13,5,17,13,7,15,25,28,10,32,23,12,38,27,43,62,33,17,35,18,37,140,43,67,23,120,25,77,80,55,85,88,30,155,32,65,33,205,217,75,38,77,118,40,205,127,130,133,45,137,93,47,240,350,103,5... | 63.9 | 340 | 0.71518 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/075/A075888.asm | 639 | Assembly |
; A168309: Period 2: repeat 4,-3.
; 4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3,4,-3
mod $0,2
sub $1,$0
mul $1,7
add $1,4
mov $0,$1
| 32.666667 | 211 | 0.445578 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/168/A168309.asm | 294 | Assembly |
; A082505: a(n) = sum of (n-1)-th row terms of triangle A134059.
; 0,1,6,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736,3221225472,6442450944,12884901888,25769803776,51539607552,103... | 52.583333 | 488 | 0.820919 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/082/A082505.asm | 631 | Assembly |
; A109116: a(n) = (n+1)^3*(n+2)^2*(n+5).
; 20,432,3024,12800,40500,105840,241472,497664,947700,1694000,2874960,4672512,7320404,11113200,16416000,23674880,33428052,46317744,63102800,84672000,112058100,146452592,189221184,241920000,306312500,384387120,478375632,590772224,724353300,882198000,1067709440,1284636672,15370973... | 49.902439 | 3,348 | 0.849462 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/109/A109116.asm | 4,092 | Assembly |
ori $1, $0, 11
ori $2, $0, 8
ori $3, $0, 8
ori $4, $0, 0
sw $4, 0($0)
sw $1, 4($0)
sw $2, 8($0)
sw $4, 12($0)
sw $1, 16($0)
sw $2, 20($0)
sw $4, 24($0)
sw $4, 28($0)
sw $2, 32($0)
sw $2, 36($0)
sw $1, 40($0)
sw $4, 44($0)
sw $3, 48($0)
sw $1, 52($0)
sw $3, 56($0)
sw $2, 60($0)
sw $4, 64($0)
sw $3, ... | 12.915062 | 22 | 0.501889 | [
"Apache-2.0"
] | alxzzhou/BUAA_CO_2020 | P6/data_P6/testpoint/testpoint44.asm | 48,961 | Assembly |
;----------------------------------------------------------;
; BOS 0.05 Christoffer Bubach, 2004-2015. ;
;----------------------------------------------------------;
; ;
; English strings used in BOS. ;
; ... | 35.566667 | 75 | 0.309278 | [
"Unlicense"
] | gniuk/BOS | kernel/vars/strings.asm | 1,067 | Assembly |
title prac03
.model small
include irvine32.inc
.code
main proc far
.startup
mov eax, 10000h
add eax, 40000h
sub eax, 20000h
.exit
main endp
end | 11.153846 | 20 | 0.772414 | [
"MIT"
] | Abel-RM/materias-tec | Lenguajes de interfaz/prac03.asm | 145 | Assembly |
; A040546: Continued fraction for sqrt(570).
; 23,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1,46,1,6,1
seq $0,40304 ; Continued fraction for sqrt(322).
dif $0,4
mov $1,$0
add $0,4
div $0... | 31.090909 | 190 | 0.599415 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/040/A040546.asm | 342 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x872b, %rdx
nop
nop
nop
nop
nop
sub %r8, %r8
mov (%rdx), %r9d
nop
nop
nop
nop
inc %rsi
lea addresses_normal_ht+0xa62d, %rsi
nop
nop
cmp %r11, %r11
mov (%rsi), %edi
add %rdx, %r... | 38.177515 | 2,999 | 0.657936 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_404.asm | 6,452 | Assembly |
;
; file: read.asm
; This subroutine reads an array of doubles from a file
segment .data
format db "%lf", 0 ; format for fscanf()
segment .text
global read_doubles
extern fscanf
%define SIZEOF_DOUBLE 8
%define FP dword [ebp + 8]
%define ARRAYP dword [ebp + 12]... | 29.703704 | 73 | 0.519534 | [
"MIT"
] | icefoxen/lang | asm/examples/read.asm | 2,406 | Assembly |
; Q68 Keyboard polling (c) 2016-2020 W. Lenerz
;
; 2020-03-30 1.01 use possible delay loop ; apparently some keyboard adapters (usb->ps/2) do not respect the
; ps/2 protocol : instead of waiting for the signal that a new byte may be sent, they just
; wait a bit (apparently for a variable period of time) and then ... | 22.196262 | 108 | 0.653474 | [
"BSD-2-Clause"
] | olifink/smsqe | smsq/q68/kbd/read.asm | 4,750 | Assembly |
; =================================================
; Techniques can either be used for enemies or allies dependent on how they're set and who is using them.
; The same index is carried over to enemy data for the tech copies and poison.
;
; byte 1-8 = Name (ends with $FC); shows up in battle
; byte 9 = ?
; byte 10 = Ta... | 38.64878 | 105 | 0.675502 | [
"MIT"
] | hansbonini/-SMD-Phantasy-Star-3 | inc/tech_data.asm | 7,923 | Assembly |
irq_common:
pusha
mov ax, ds
push eax
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
extern irq_handler
call irq_handler
pop ebx
mov ds, bx
mov es, bx
mov fs, bx
mov gs, bx
popa
add esp, 8
sti
iret
global irq0
global irq1
global ir... | 10.192593 | 22 | 0.69186 | [
"MIT"
] | Groszekk/OperatingSystem | kernel/IRQ/irq.asm | 1,376 | Assembly |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CExcl (common code for all specific UIs)
FILE: citemManager.asm (main file for all gadget code)
REVISION HISTORY:
Name Date Description
... | 26.863636 | 80 | 0.468697 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Library/SpecUI/CommonUI/CItem/citemManager.asm | 1,773 | Assembly |
; A009001: Expansion of e.g.f: (1+x)*cos(x).
; 1,1,-1,-3,1,5,-1,-7,1,9,-1,-11,1,13,-1,-15,1,17,-1,-19,1,21,-1,-23,1,25,-1,-27,1,29,-1,-31,1,33,-1,-35,1,37,-1,-39,1,41,-1,-43,1,45,-1,-47,1,49,-1,-51,1,53,-1,-55,1,57,-1,-59,1,61,-1,-63,1,65,-1,-67,1,69,-1,-71,1,73,-1,-75,1,77,-1,-79,1,81,-1,-83,1,85,-1,-87,1,89,-1,-91,1,... | 69 | 820 | 0.538302 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/009/A009001.asm | 966 | Assembly |
;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; Copyright 1992-2020 Silicon Laboratories Inc. www.silabs.com
;
; ... | 44.193705 | 113 | 0.357385 | [
"Apache-2.0"
] | Cojayx/uC-OS2 | Ports/80x86/DOS/L-FP-I/BC45/os_cpu_a.asm | 18,252 | Assembly |
TITLE Scanning for a Positive Value (Loopnz.asm)
; Scan an array for the first positive value.
; If no value is found, ESI will point to a sentinel
; value (0) stored immediately after the array.
; Last update: 11/4/01
INCLUDE Irvine32.inc
.data
array SWORD -3,-6,-1,-10,10,30,40,4
;array SWORD -3,-6,-1,-... | 20.823529 | 55 | 0.707627 | [
"Apache-2.0"
] | satadriver/LiunuxOS_t | Examples/ch06/Loopnz.asm | 708 | Assembly |
; *********************************************************************************
; *********************************************************************************
;
; File: screen48k.asm
; Purpose: Hardware interface to Spectrum display, standard but with
; sprites enabled.
; Date : 27th December 2018
... | 23.548673 | 83 | 0.397219 | [
"MIT"
] | paulscottrobson/z80-machine-forth-2 | kernels/lib.source/graphics.48k/screen48k.asm | 2,661 | Assembly |
INCLUDE "defines.asm"
SECTION "Vectors", ROM0[0]
NULL::
; This traps jumps to $0000, which is a common "default" pointer
; $FFFF is another one, but reads rIE as the instruction byte
; Thus, we put two `nop`s that may serve as operands, before soft-crashing
; The operand will always be 0, so even jumps will work ... | 23.472222 | 113 | 0.701775 | [
"MIT"
] | rondnelson99/bouncy-dvd | src/vectors.asm | 5,915 | Assembly |
.data
char: .byte 'e'
strr: .asciiz "aeiou"
fail: .asciiz " the char was not found in "
success: .asciiz " the char was found in "
.text
main:
lb $t0, char
lb $t7, char
la $s0, strr
lb $s1, ($s0)
srch:
beq $s1,$zero, uns
beq $s1,$t0,suc
add $s0,$s0,1
lb $s1,($s0)
j srch
suc:
la $a0, success
li $v0, 4
syscall
j e... | 10 | 43 | 0.62381 | [
"MIT"
] | MilindAnand/MIPS_Programming | Strings and Arrays/String Search.asm | 420 | Assembly |
; A077897: Expansion of (1-x)^(-1)/(1+x-2*x^2-x^3).
; Submitted by Christian Krause
; 1,0,3,-1,8,-6,22,-25,64,-91,195,-312,612,-1040,1953,-3420,6287,-11173,20328,-36386,65870,-118313,213668,-384423,693447,-1248624,2251096,-4054896,7308465,-13167160,23729195,-42755049,77046280,-138827182,250164694,-450772777,812274984,-... | 25.157895 | 246 | 0.648536 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/077/A077897.asm | 478 | Assembly |
;------------------------------------------------------------------------------
; ECDSA signature
; In: KECCAKS hash state, PRIVK private key
; Out: ECX r, ECV s, A v
SECTION code_user
EXTERN MODQADD
EXTERN MODQMUL
EXTERN ECGMUL
EXTERN KECCAKI
EXTERN KECCAKU
EXTERN KECCAKR
EXTERN ... | 15.208333 | 79 | 0.53516 | [
"MIT"
] | feilipu/z80_crypto | source/ecdsa.asm | 1,095 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2017 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... | 31.460894 | 80 | 0.655864 | [
"BSD-3-Clause"
] | carl008-ma/isa-l_crypto | sha256_mb/sha256_ni_x1.asm | 11,263 | Assembly |
; lzo1y_f2.asm -- lzo1y_decompress_asm_fast_safe
;
; This file is part of the LZO real-time data compression library.
;
; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2... | 48.166667 | 69 | 0.723183 | [
"BSD-3-Clause"
] | 1502shivam-singh/opentoonz | thirdparty/lzo/2.03/asm/i386/src_nasm/lzo1y_f2.asm | 4,335 | Assembly |
; DV3 QXL Start / Stop Drive V3.00 1998 Tony Tebby
section dv3
xdef hd_ststp ; start / stop drive
include 'dev8_keys_err'
include 'dev8_dv3_keys'
include 'dev8_dv3_hd_keys'
include 'dev8_dv3_hd_ide_keys'
;+++
; This routine starts or stops a drive
;
; d0 cr start (-1), stop ($ffff) rundown (0+ minutes... | 17.428571 | 60 | 0.680328 | [
"BSD-2-Clause"
] | olifink/smsqe | dv3/qxl/hd/ststp.asm | 488 | Assembly |
.org 0x8C0179F :: .incbin "m12-psitext.bin"
.org 0x8B194C0 :: dw 0x000E945B
.org 0x8B194C4 :: dw 0x000E945D
.org 0x8B194C8 :: dw 0x000E9465
.org 0x8B194CC :: dw 0x000E9468
.org 0x8B194D0 :: dw 0x000E946D
.org 0x8B194D4 :: dw 0x000E9474
.org 0x8B194D8 :: dw 0x000E947D
.org 0x8B194DC :: dw 0x000E9487
.org 0x8B194E0 :: d... | 31.8 | 43 | 0.749661 | [
"MIT"
] | Imavoyc/Mother2Gba-chs | working/m12-psitext.asm | 8,109 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xd67b, %rax
nop
nop
nop
xor %r13, %r13
mov $0x6162636465666768, %rbx
movq %rbx, (%rax)
nop
nop
nop
nop
cmp $49270, %r13
lea addresses_D_ht+0x2cdb, %rax
nop
nop
nop
no... | 30.5 | 2,999 | 0.652233 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_749.asm | 8,845 | Assembly |
; A116722: Number of permutations of length n which avoid the patterns 312, 1324, 3421; or avoid the patterns 312, 1324, 2341, etc.
; 1,2,5,12,25,47,82,135,212,320,467,662,915,1237,1640,2137,2742,3470,4337,5360,6557,7947,9550,11387,13480,15852,18527,21530,24887,28625,32772,37357,42410,47962,54045,60692,67937,75815,8436... | 109.571429 | 1,997 | 0.837897 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/116/A116722.asm | 2,301 | Assembly |
; *****************************************************************************
; *****************************************************************************
;
; Name: run.asm
; Purpose: Run program
; Created: 3rd March 2020
; Reviewed: 17th March 2020
; Author: Paul Robson (paul@robsons.org.uk)
;
; *********... | 32.768595 | 80 | 0.544262 | [
"MIT"
] | paulscottrobson/eris | basic/src/commands/run.asm | 3,965 | Assembly |
; void *zx_py2saddr(uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC zx_py2saddr
EXTERN asm_zx_py2saddr
defc zx_py2saddr = asm_zx_py2saddr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _zx_py2saddr
defc _zx_py2saddr = zx_py2saddr
ENDIF
| 12.947368 | 34 | 0.821138 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_py2saddr.asm | 246 | Assembly |
; A081688: 0 followed by A030124 - 1.
; 0,1,3,4,5,7,8,9,10,12,13,14,15,16,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,69,70,71,72,73,74,75,76,77
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,$0
mul $2,$3
add $1,$2
mov $4,... | 19.130435 | 200 | 0.563636 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/081/A081688.asm | 440 | Assembly |
; A075362: Triangle read by rows with the n-th row containing the first n multiples of n.
; 1,2,4,3,6,9,4,8,12,16,5,10,15,20,25,6,12,18,24,30,36,7,14,21,28,35,42,49,8,16,24,32,40,48,56,64,9,18,27,36,45,54,63,72,81,10,20,30,40,50,60,70,80,90,100,11,22,33,44,55,66,77,88,99,110,121,12,24,36,48,60,72,84,96,108,120,132,144,... | 63.882353 | 864 | 0.686004 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/075/A075362.asm | 1,086 | Assembly |
; A343492: a(n) = Sum_{k=1..n} 5^(gcd(k, n) - 1).
; Submitted by Christian Krause
; 1,6,27,132,629,3162,15631,78264,390681,1953774,9765635,48831564,244140637,1220718786,6103516983,30517656528,152587890641,762939850086,3814697265643,19073488283028,95367431672037,476837167968810,2384185791015647,11920929004069128
mov $2... | 24.555556 | 230 | 0.714932 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/343/A343492.asm | 442 | Assembly |
clc
lda {m1}
adc #1
sta {m1}
bcc !+
inc {m1}+1
!:
| 6.25 | 10 | 0.52 | [
"MIT"
] | jbrandwood/kickc | src/main/fragment/mos6502-common/vwsm1=vwsm1_plus_1.asm | 50 | Assembly |
; d) Ídem al (a) pero imprimir el texto "El arreglo contiene X numeros positivos" si la cantidad números positivos es mayor o igual a la de negativos. En caso contrario, imprimir el texto "El arreglo contiene X numeros negativos".
section .data
arreglo: dd 52, 23, -5, 0, -65, 12, -1, 1
longitud EQU $ - arreglo
m... | 32.540541 | 230 | 0.652824 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | fokerman/computingSystemsCourse | T08_Lenguaje_Ensamblador/ejs/ej1_cantidad_positivos_sol_d.asm | 2,410 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x14610, %rsi
lea addresses_WT_ht+0x18a7e, %rdi
nop
add %rbp, %rbp
mov $103, %rcx
rep movsq
nop
nop
nop
nop
nop
dec %r11
lea addresses_D_ht+0x3bce, %rbp
cmp %r13, %r13
mov (%rb... | 33.47807 | 2,999 | 0.657671 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1555.asm | 7,633 | Assembly |
; A088879: Numbers n such that 3n + 5 is a prime.
; -1,0,2,4,6,8,12,14,16,18,22,26,28,32,34,36,42,44,48,54,56,58,62,64,74,76,78,82,84,86,88,92,96,102,104,114,116,118,126,128,132,138,142,146,148,152,154,158,162,166,168,172,184,186,188,194,196,198,204,212,214,216,218,224,226,232,238,246,252,256,264,268,272,274,278,284,28... | 26.807692 | 363 | 0.648494 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/088/A088879.asm | 697 | Assembly |
;
; jidctflt.asm - floating-point IDCT (SSE & MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice ... | 43.456446 | 78 | 0.514392 | [
"BSD-3-Clause"
] | 157356379/libjpeg-turbo | simd/i386/jidctflt-sse.asm | 24,944 | Assembly |
; A276862: First differences of the Beatty sequence A003151 for 1 + sqrt(2).
; 2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2... | 26.575758 | 501 | 0.507412 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/276/A276862.asm | 877 | Assembly |
; void *esx_disk_stream_bytes(void *dst,uint16_t len)
INCLUDE "config_private.inc"
SECTION code_esxdos
PUBLIC asm_esx_disk_stream_bytes
EXTERN _esx_stream_io_port
EXTERN asm_esx_disk_stream_sectors
asm_esx_disk_stream_bytes:
; enter : hl = void *dst
; de = uint16_t len > 0
;
; exit : c = de... | 13.946237 | 59 | 0.564379 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_disk_stream_bytes.asm | 1,297 | Assembly |
.data
newline:.asciiz "\n"
.text
main:
li $t0,0
li $t1,0
li $t3,0
loop:
li $v0,1
addi $a0,$t0,0
syscall
li $v0,4
la $a0,newline
syscall
addi $t0,$t0,1
bgt $t0,14,exit
j loop
exit:
li $v0,0
| 9.875 | 21 | 0.518987 | [
"MIT"
] | x06lan/mt | mips/test.asm | 237 | Assembly |
; A098660: E.g.f. BesselI(0,2*sqrt(2)*x) + BesselI(1,2*sqrt(2)*x)/sqrt(2).
; 1,1,4,6,24,40,160,280,1120,2016,8064,14784,59136,109824,439296,823680,3294720,6223360,24893440,47297536,189190144,361181184,1444724736,2769055744,11076222976,21300428800,85201715200,164317593600,657270374400,1270722723840,5082890895360,9848101... | 172.1 | 1,586 | 0.916328 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/098/A098660.asm | 1,721 | Assembly |
; ===============================================================
; Jun 2007
; ===============================================================
;
; uchar zx_aaddr2cx(void *attraddr)
;
; Attribute address to character x coordinate.
;
; ===============================================================
SECTION code_clib
S... | 16.911765 | 65 | 0.431304 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_aaddr2cx.asm | 575 | Assembly |
# File to either setup register 2 to point to the GOT, or to adjust the
# pointers in the .got2 section to point to their new addresses.
.file "eabi.asm"
.section ".text"
.globl __eabi
.section ".got2","aw"
.LCTOC1 = . # +32768
# Table of addresses
.Ltable = .-.LCTOC1
.long .LCTOC1 # address we are really ... | 26.360526 | 80 | 0.734052 | [
"BSD-3-Clause"
] | aaliomer/exos | bin/gcc/config/rs6000/eabi.asm | 10,017 | Assembly |
db DEX_NIDORINO ; pokedex id
db 61, 72, 57, 65, 55
; hp atk def spd spc
db POISON, POISON ; type
db 120 ; catch rate
db 118 ; base exp
INCBIN "gfx/pokemon/front/nidorino.pic", 0, 1 ; sprite dimensions
dw NidorinoPicFront, NidorinoPicBack
db LEER, TACKLE, HORN_ATTACK, NO_MOVE ; level 1 learnset
... | 28.833333 | 77 | 0.618497 | [
"CC0-1.0"
] | opiter09/ASM-Machina | data/pokemon/base_stats/nidorino.asm | 692 | Assembly |
; A147677: Subtract 5, add 8, repeat.
; Submitted by Jamie Morken(s2)
; 7,2,10,5,13,8,16,11,19,14,22,17,25,20,28,23,31,26,34,29,37,32,40,35,43,38,46,41,49,44,52,47,55,50,58,53,61,56,64,59,67,62,70,65,73,68,76,71,79,74,82,77,85,80,88,83,91,86,94,89,97,92,100,95,103,98,106,101,109
mov $1,$0
mul $0,6
mul $1,2
add $1,11
m... | 24.933333 | 209 | 0.641711 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/147/A147677.asm | 374 | Assembly |
# CALCULATES THE SUM OF R0 AND R1
.SECTION TEXT
.STACK 1
.ESTACK 0
START: MOV R0, 1
MOV R1, 2
CALL SUM
LDC R2, STDOUT
FWRTQ R5, R2, R0
MOV R0, 0xA
FWRTB R5, R2, R0
HALT R31
.GLOBAL SUM
SUM: ADD R0, R0, R1
RET
| 13.117647 | 34 | 0.650224 | [
"MIT"
] | plankp/RLVM | sample/sum.asm | 223 | Assembly |
* Hotkey Stuffer V0.00 1987 Tony Tebby QJUMP
*
section gen_util
*
xdef gu_hotst
*
include 'dev8_keys_qdos_sms'
include 'dev8_keys_sys'
*
hkd_pllk equ $08 long polling int linkage from A3
hkd_plad equ $0c long polling int routine address from A3
hkd_id ... | 30.597826 | 69 | 0.542451 | [
"BSD-2-Clause"
] | olifink/smsqe | util/gut/hotstuff.asm | 2,815 | Assembly |
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
section .text code align=64
%else
section .text code
%endif
global _Camellia_EncryptBlock_Rounds
align 16
_Camellia_EncryptBlock_Rounds:
L$_Camellia_EncryptBlock_Rounds_begin:
push ebp
push ebx
push e... | 19.060169 | 141 | 0.737784 | [
"MIT"
] | King19931229/KApp | Dependency/Python27/externals/openssl-1.0.2q/tmp32/cmll-x86.asm | 44,982 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %r9
push %rdi
push %rdx
lea addresses_D_ht+0x1a2b3, %r12
nop
nop
nop
add $32990, %r9
movb $0x61, (%r12)
nop
sub $26015, %r11
lea addresses_A_ht+0x14db9, %rdx
nop
add %r9, %r9
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
movups %x... | 53.267442 | 2,999 | 0.659026 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1238.asm | 4,581 | Assembly |
; **************************************************
; PSGlib - C programming library for the SEGA PSG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "PSGlib_private.inc"
; fundamental vars
SECTION data_clib
SECTION data_PSGlib
PUBLIC __PSGlib_Music... | 24.705202 | 82 | 0.680861 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/sms/PSGlib/z80/__PSGlib_variables.asm | 4,274 | Assembly |
; A019445: Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1+..+p_n.
; Submitted by Jon Maiga
; 1,4,6,12,20,24,35,40,54,70,77,96,117,126,150,160,187,216,228,260,273,308,345,360,400,442,459... | 57.777778 | 200 | 0.709615 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/019/A019445.asm | 520 | Assembly |
; void SMS_loadTiles(void *src, unsigned int tilefrom, unsigned int size)
SECTION code_clib
SECTION code_SMSlib
PUBLIC SMS_loadTiles
EXTERN asm_SMSlib_loadTiles
SMS_loadTiles:
pop af
pop bc
pop hl
pop de
push de
push hl
push bc
push af
jp asm_SMSlib_loadTiles
| 13.043478 | 73 | 0.72 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_loadTiles.asm | 300 | Assembly |
; A235877: Number of (n+1) X (1+1) 0..2 arrays with the minimum plus the upper median equal to the lower median plus the maximum in every 2 X 2 subblock.
; 21,51,129,339,921,2571,7329,21219,62121,183291,543729,1618899,4832121,14447211,43243329,129533379,388206921,1163834331,3489930129,10466644659,31393642521,9416834465... | 35.647059 | 317 | 0.759076 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/235/A235877.asm | 606 | Assembly |
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_dread1, cm48_sdcciyp_dread2
EXTERN cm48_sdcciyp_dload
cm48_sdcciyp_dread2:
; sdcc float primitive
; Read two sdcc floats from the stack
;
; Covert from sdcc float format to math48 format.
;
; enter : stack = sdcc_float right, sdcc_float... | 17.243243 | 66 | 0.648903 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_dread.asm | 638 | Assembly |
global GetGs
global clearTrapFlag
section .text ; makes this executable
USE64
clearTrapFlag:
PUSHF
AND word [rsp], 0FEFFh
POPF
ret
GetGs :
mov rax, gs
ret
| 9.444444 | 37 | 0.717647 | [
"MIT"
] | fplu/Flow | src/Flow/_Miscellaneous.asm | 170 | Assembly |
;nasm 2.11.08
section .data
hello: db 'Hello world!',10 ; 'Hello world!' plus a linefeed character
helloLen: equ $-hello ; Length of the 'Hello world!' string
section .text
global _start
_start:
mov eax,4 ; The system call for write (sys_write)
mov ebx,1 ; File de... | 31.612903 | 81 | 0.585714 | [
"Unlicense"
] | SonarSystems/Assembly-Programming | [6] Arithmetic Instructions/Decrement Command (DEC)/main.asm | 980 | Assembly |
; A024025: a(n) = 3^n-n^2.
; 1,2,5,18,65,218,693,2138,6497,19602,58949,177026,531297,1594154,4782773,14348682,43046465,129139874,387420165,1162261106,3486784001,10460352762,31381059125,94143178298,282429535905,847288608818,2541865827653,7625597484258,22876792454177,68630377364042,205891132093749,617673396282986,1853020... | 156.2 | 1,474 | 0.921895 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/024/A024025.asm | 1,562 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.