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 |
|---|---|---|---|---|---|---|---|---|
; A296180: Triangle read by rows: T(n, k) = 3*(n - k)*k + 1, n >= 0, 0 <= k <= n.
; 1,1,1,1,4,1,1,7,7,1,1,10,13,10,1,1,13,19,19,13,1,1,16,25,28,25,16,1,1,19,31,37,37,31,19,1,1,22,37,46,49,46,37,22,1,1,25,43,55,61,61,55,43,25,1,1,28,49,64,73,76,73,64,49,28,1
lpb $0
add $1,$2
trn $1,$0
mul $1,$0
add $2,1
trn $... | 25.5 | 175 | 0.540616 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/296/A296180.asm | 357 | Assembly |
; A140681: a(n) = 3*n*(n+6).
; 0,21,48,81,120,165,216,273,336,405,480,561,648,741,840,945,1056,1173,1296,1425,1560,1701,1848,2001,2160,2325,2496,2673,2856,3045,3240,3441,3648,3861,4080,4305,4536,4773,5016,5265,5520,5781,6048,6321,6600,6885,7176,7473,7776,8085,8400,8721,9048,9381,9720,10065,10416,10773,11136,11505,11880... | 195.5 | 1,495 | 0.816496 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/140/A140681.asm | 1,564 | Assembly |
; A224330: Number of idempotent n X n 0..5 matrices of rank n-1.
; 1,22,213,1724,12955,93306,653177,4478968,30233079,201553910,1330255861,8707129332,56596340723,365699432434,2350924922865,15045919506416,95917736853487,609359740010478,3859278353399789,24374389600419820
mov $1,$0
add $1,1
mov $2,6
pow $2,$1
sub $2,3
mul... | 27.230769 | 203 | 0.771186 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/224/A224330.asm | 354 | Assembly |
mov ax, 0xb800
mov es, ax
and di, 0
; Century
mov al, 0x32
out 0x70, al
in al, 0x71
call read_CMOS_disp
; Year
mov al, 0x9
out 0x70, al
in al, 0x71
call read_CMOS_disp
call print_dash
; Month
mov al, 0x8
out 0x70, al
in al, 0x71
call read_CMOS_disp
call print_dash
; Day
mov al, 0x7
out 0x70, al
in al, 0x71
call ... | 10.686567 | 25 | 0.642458 | [
"MIT"
] | Dark15/assembly | exercises/exercise11/CMOS_date_call.asm | 716 | Assembly |
@256
D=A
@SP
M=D
@Sys.init_RETURN_0 // call Sys.init 0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@0
D=A
@5
D=D+A
@SP
D=M-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(Sys.init_RETURN_0)
(Sys.init)// initializate... | 6.527149 | 49 | 0.624957 | [
"MIT"
] | DarkCleopas/vm-translator | 08/FunctionCalls/FibonacciElement/FibonacciElement.asm | 2,885 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x19c4f, %rbx
nop
nop
nop
nop
nop
dec %r12
movups (%rbx), %xmm7
vpextrq $1, %xmm7, %rdx
nop
xor %rax, %rax
lea addresses_WC_ht+0xa04f, %rsi
lea addresses_WT_ht+0x12c6f, %rdi
n... | 32.210332 | 2,999 | 0.658495 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1109.asm | 8,729 | Assembly |
; A063957: Numbers not of the form round(m*sqrt(2)) for any integer m, i.e., complement of A022846.
; Submitted by Jamie Morken(s4)
; 2,5,9,12,15,19,22,26,29,32,36,39,43,46,50,53,56,60,63,67,70,73,77,80,84,87,90,94,97,101,104,108,111,114,118,121,125,128,131,135,138,142,145,149,152,155,159,162,166,169,172,176,179,183,18... | 66 | 369 | 0.700337 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/063/A063957.asm | 594 | Assembly |
; A036126: a(n) = 3^n mod 43.
; 1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22,23,26,35,19,14,42,40,34,16,5,15,2,6,18,11,33,13,39,31,7,21,20,17,8,24,29,1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22,23,26,35,19,14,42,40,34,16,5,15,2,6,18,11,33,13,39,31,7,21,20,17,8,24,29,1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22
mov $1,1
... | 32.083333 | 279 | 0.602597 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/036/A036126.asm | 385 | Assembly |
[bits 32]
; Define some constants
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
; prints a null - terminated string pointed to by EDX
print_pm:
pusha
mov edx, VIDEO_MEMORY ; Set edx to the start of vid mem.
print_pm_loop:
mov al, [ebx] ; Store the char at EBX in AL
mov ah, WHITE_ON_BLAC... | 32.333333 | 71 | 0.585338 | [
"MIT"
] | ChromaMaster/os-dev | bootloader/print_string_pm.asm | 873 | Assembly |
; A129232: a(n)=Floor(n*r)+Floor((n-2)*r)+Floor((n-4)*r)+...+Floor(k*r), where r = 2^(1/2) and k=0 if n is even, k=1 if n is odd.
; 0,1,2,5,7,12,15,21,26,33,40,48,56,66,75,87,97,111,122,137,150,166,181,198,214,233,250,271,289,312,331,355,376,401,424,450,474,502,527,557,583,614,642,674,704,737,769,803,836,872,906,944,97... | 44.4 | 206 | 0.628378 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/129/A129232.asm | 444 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc6ae, %rsi
lea addresses_A_ht+0x136e, %rdi
nop
nop
nop
and %r12, %r12
mov $28, %rcx
rep movsq
nop
nop
cmp %r9, %r9
lea addresses_D_ht+0xc066, %r9
nop
sub $38534, %rsi
mov $0x6162636465666768, %rdi
mov... | 58.226667 | 2,999 | 0.662926 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2350.asm | 4,367 | Assembly |
; A242082: Nim sequence of game on n counters whose legal moves are removing some number of counters in A027941.
; 0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,0,1,2,0,1,0,1,2,0
lpb ... | 37.166667 | 201 | 0.585202 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/242/A242082.asm | 446 | Assembly |
; A330592: a(n) is the number of subsets of {1,2,...,n} that contain exactly two odd numbers.
; Submitted by Jon Maiga
; 0,0,2,4,12,24,48,96,160,320,480,960,1344,2688,3584,7168,9216,18432,23040,46080,56320,112640,135168,270336,319488,638976,745472,1490944,1720320,3440640,3932160,7864320,8912896,17825792,20054016,401080... | 50 | 498 | 0.801429 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/330/A330592.asm | 700 | Assembly |
; Original address was $B381
; 6-2 end
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_03 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG
.byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(12) ... | 42.538462 | 85 | 0.692586 | [
"Unlicense"
] | narfman0/smb3_pp1 | PRG/levels/Ice/6-2End.asm | 553 | Assembly |
Name: mn_hp_smcset.asm
Type: file
Size: 65916
Last-Modified: '1993-08-24T11:34:54Z'
SHA-1: BB136156E9C266793F2583ED891C925363F27922
Description: null
| 21.428571 | 47 | 0.82 | [
"MIT"
] | prismotizm/gigaleak | other.7z/NEWS.7z/NEWS/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n1/mn_hp_smcset.asm | 150 | Assembly |
; A279512: Sierpinski octahedron numbers a(n) = 2*6^n + 3*2^n + 1.
; Submitted by Jamie Morken(s4)
; 6,19,85,457,2641,15649,93505,560257,3360001,20156929,120935425,725600257,4353576961,26121412609,156728377345,940370067457,5642220011521,33853319282689,203119914123265,1218719481593857,7312316883271681,43873901287047169,... | 48.928571 | 498 | 0.839416 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/279/A279512.asm | 685 | Assembly |
; A276866: First differences of the Beatty sequence A004976 for 2 + sqrt(5).
; 4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4... | 30 | 501 | 0.52069 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/276/A276866.asm | 870 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5481, %rsi
lea addresses_A_ht+0x1a881, %rdi
nop
cmp $61239, %r8
mov $0, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %r8, %r8
lea addresses_UC_ht+0xb3e1, %rcx
add $18544, %r9
mov $0x... | 43.736 | 2,999 | 0.661789 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1064.asm | 5,467 | Assembly |
; NoirVisor - Hardware-Accelerated Hypervisor solution
;
; Copyright 2018-2022, Zero Tang. All rights reserved.
;
; This file saves processor states.
;
; This program is distributed in the hope that it will be successful, but
; without any warranty (no matter implied warranty of merchantability or
; fitness for a part... | 18.42577 | 73 | 0.737914 | [
"MIT"
] | killvxk/NoirVisor | src/xpf_core/msvc/kpcr.asm | 13,156 | Assembly |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4000000000000000",
"RBX": "0x4000000000000000",
"RCX": "0x3ff0000000000000"
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
lea rdx, [rel data]
fld tword [rdx + 8 * 0]
lea rdx, [rel data2]
fld tword [rdx + 8 * 0]
fld st0
; dump stack to registers
mo... | 12.973684 | 44 | 0.614604 | [
"MIT"
] | Seas0/FEX | unittests/ASM/X87_F64/D9_C0_F64.asm | 493 | Assembly |
[XCX_DAMAGES]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
.origin = codecave
.int $divr
_divide_dmg:
li r4, $divr
divw r4, r31, r4
blr
0x025D896C = bla _divide_dmg
[XCX_DAMAGES_1U]
moduleMatches = 0xAB97DE6B ; 1.0.1U
.origin = codecave
.int $mult
0x025D88FC = mulli r4, r31, $mult
| 13.086957 | 55 | 0.717608 | [
"CC0-1.0"
] | ActualMandM/cemu_graphic_packs | src/XenobladeChroniclesX/Mods/BattleDamageModGround2/patch_dmg.asm | 301 | Assembly |
format ELF64 executable 3
entry start
include 'procs.inc'
segment readable executable
start:
mov eax, 90
add eax, 9
call iprintLF
call quitProgram
| 14.916667 | 27 | 0.664804 | [
"MIT"
] | mashingan/notes-asmtutor | linux64/lesson12.asm | 179 | Assembly |
; BSD 3-Clause License
; Copyright (c) 2021, AtieP
; All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice, this
; list of co... | 23.065455 | 130 | 0.676967 | [
"BSD-3-Clause"
] | AtieP/tinyvale | src/elf.asm | 6,343 | Assembly |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
dd "ftyp"
db 0x6D, 0x69, 0x66, 0x31 ; major_brand(32) ('mif1')
db 0x00, 0x00, 0x00, 0x00 ; minor_version(32)
db 0x6D, 0x69, 0x66, 0x31 ;... | 36.943478 | 159 | 0.491938 | [
"BSD-3-Clause"
] | gpac/ComplianceWarden | tests/miaf/invalid-colours.asm | 16,994 | Assembly |
###############################################################################
# File : jr.asm
# Project : MIPS32 MUX
# Author: : Grant Ayers (ayers@cs.stanford.edu)
#
# Standards/Formatting:
# MIPS gas, soft tab, 80 column
#
# Description:
# Test the functionality of the 'jr' instruction.
#
####... | 22.893617 | 79 | 0.421933 | [
"MIT"
] | 0xYYY/cannon | mipsevm/test/jr.asm | 1,076 | Assembly |
;written by : salah kilani
org 100h
;-------set mode-------
mov ah, 0
mov al, 0h
int 10h
;======================
page_Main:
;-----clear screen-----
mov ... | 21.004213 | 69 | 0.307656 | [
"MIT"
] | SalahKilani/PaintProject.asm | paintNC.asm | 14,955 | Assembly |
; Verifies ASL
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.segment "ZEROPAGE"
zp:
.byte %00100000
.byte %00100000
.code
init:
asl ; A will be %00100000
asl ; A will be %01000000 from last instruction
asl ; A will be %10000000 from last instruction
asl zp
... | 15.333333 | 59 | 0.593478 | [
"MIT"
] | danecreekphotography/6502ts | tests/assembly/ASL.asm | 460 | Assembly |
; float __ulong2fs_callee(unsigned long ul)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_ulong2ds_callee
EXTERN am48_double32u, cm48_sdcciyp_m482d
cm48_sdcciyp_ulong2ds_callee:
; unsigned long to double
;
; enter : stack = unsigned long ul, ret
;
; exit : dehl = sdcc_float(ul)
;... | 15.827586 | 43 | 0.690632 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_ulong2ds_callee.asm | 459 | Assembly |
; size_t w_vector_insert(w_vector_t *v, size_t idx, void *item)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_insert
EXTERN asm_w_vector_insert
w_vector_insert:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
jp asm_w_vector_insert
; SDCC bridge for Cl... | 13.225806 | 63 | 0.75122 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_insert.asm | 410 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xbf, %rsi
nop
nop
nop
cmp $37237, %r14
movw $0x6162, (%rsi)
nop
nop
nop
nop
nop
xor $19030, %rsi
lea addresses_D_ht+0x1447f, %rcx
add $6512, %rbp
mov $0x6162636465666768,... | 41.013889 | 2,999 | 0.658991 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_918.asm | 5,906 | Assembly |
SECTION code_fp_math16
PUBLIC cm16_sccz80_sqrt
EXTERN cm16_sccz80_read1, asm_f16_sqrt
cm16_sccz80_sqrt:
call cm16_sccz80_read1
jp asm_f16_sqrt
| 14.090909 | 38 | 0.832258 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_sqrt.asm | 155 | Assembly |
/*
* Copyright (c) 2017, Intel Corporation
*
* 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 rights to use, copy, modify, merge, publi... | 63.970149 | 98 | 0.418339 | [
"MIT"
] | mintaka33/media-driver-non-kmd | media-driver/media_driver/agnostic/gen10/vp/kernel/Source/PL2_444Scale16_Buf_0_Rot_270.asm | 4,286 | Assembly |
; A142800: Primes congruent to 2 mod 61.
; Submitted by Jon Maiga
; 2,307,673,1039,1283,2137,2381,2503,3967,4211,4943,5309,5431,6163,6529,7993,8237,8969,9091,10067,10433,10799,11287,11897,12263,14947,15313,15679,15923,16411,17021,17387,17509,18119,18973,19583,19949,20071,20681,21169,22511,22877,23609,24097,25073,25439,... | 36.681818 | 499 | 0.73482 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/142/A142800.asm | 807 | Assembly |
DATA SEGMENT
A DB 8,24,12,14,10,20,30,16,22 ;array of numbers
NA EQU 9 ;length of the array A
B DB 20,6,30,12,15,32,22 ;array of numbers
NB EQU 7 ;length of the array B
C DB 30,27,8,4,25,20,15,36 ;array of numbers
NC EQU 8 ;length of the array C
D DB NA+NB DUP (?) ;the arra... | 19.3875 | 80 | 0.586718 | [
"MIT"
] | Avigdor-Kolonimus/ASM | Gilaion4-Elhanan/q3.asm | 1,551 | Assembly |
; A029739: Numbers that are congruent to {1, 3, 4} mod 6.
; Submitted by Christian Krause
; 1,3,4,7,9,10,13,15,16,19,21,22,25,27,28,31,33,34,37,39,40,43,45,46,49,51,52,55,57,58,61,63,64,67,69,70,73,75,76,79,81,82,85,87,88,91,93,94,97,99,100,103,105,106,109,111,112,115,117,118,121,123,124
mul $0,36
div $0,27
add $0,1
m... | 33.7 | 198 | 0.670623 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/029/A029739.asm | 337 | Assembly |
; size_t ba_priority_queue_capacity_fastcall(ba_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_ba_priority_queue
PUBLIC _ba_priority_queue_capacity_fastcall
EXTERN asm_ba_priority_queue_capacity
defc _ba_priority_queue_capacity_fastcall = asm_ba_priority_queue_capacity
| 23.666667 | 74 | 0.908451 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sdcc_ix/ba_priority_queue_capacity_fastcall.asm | 284 | Assembly |
printf:
pusha
mov ah, 0x0e ; Teletype output function
str_loop:
mov al, [si] ; Load a character byte to al
cmp al, 0
jne print_char ; if al != 0, jmp to print_char
popa
ret
print_char:
int 0x10 ; 0x10 interrupt
inc si ; add 1 to si
jmp str_loop
| 19.266667 | 50 | 0.619377 | [
"Apache-2.0"
] | 100009337131285/OS_Developement | src/boot/printf.asm | 289 | Assembly |
; A180004: Nearest integer to n*(27/26)
; 1,2,3,4,5,6,7,8,9,10,11,12,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,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75
mov $1,222222222
add $1,$0
div $1,26
add $1,$0
sub $1,8547007
mov $0,$... | 32.2 | 208 | 0.645963 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/180/A180004.asm | 322 | Assembly |
segment .rdata, align=16
correct dq 0000800000008000h
round dq 0000200000002000h
round1 dq 0000020000000200h
round2 dq 0002000000020000h
segment .text
%include "a_triblt.inc"
extern _kVDCubicInterpTableFX14_075_MMX
;-----------------------------------------------------------------... | 19.443662 | 76 | 0.591573 | [
"MIT"
] | wurui1994/AviSynth | xy-VSFilter/src/thirdparty/VirtualDub/Kasumi/source/a_triblt_mmx.asm | 8,283 | Assembly |
; A269027: Parity of the number of 1's in A039724(n).
; 0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,... | 56.636364 | 501 | 0.518459 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/269/A269027.asm | 623 | Assembly |
;*****************************************************************
;* - Description: Device definition file for RC Calibration
;* - File: t24.asm
;* - AppNote: AVR053 - Production calibration of the
;* RC oscillator
;*
;* - Author: Atmel Corporation: http://www.atmel.com
;* ... | 28.538462 | 66 | 0.493261 | [
"CC0-1.0"
] | smart-electro/BMS_SLAVE_V2.0 | Software/AtTiny_programmer/RC calib Projekt/Device specific/t24.asm | 742 | Assembly |
;**************************************************************************
; arch/z80/src/ez80/ez80_getsp.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 ownersh... | 36.375 | 75 | 0.485109 | [
"Apache-2.0"
] | 1838854997/incubator-nuttx | arch/z80/src/ez80/ez80_getsp.asm | 1,746 | Assembly |
# mp_limb_t mulredc17(mp_limb_t * z, const mp_limb_t * x, const mp_limb_t * y,
# const mp_limb_t *m, mp_limb_t inv_m);
#
# Stack:
# inv_m ## parameters
# m
# y
# x
# z (4*(2k+7))%esp
# ??? (1 limb???)
# ebp ## pushed registers (4*(2k+5))%esp
# ed... | 17.365535 | 78 | 0.546384 | [
"MIT"
] | beninato8/ctfs | picoctf/EasyRsa/ecm-7.0.4/athlon/mulredc17.asm | 6,651 | Assembly |
;
; MIT License
;
; Copyright (c) 2020 Alexander Brandt
;
; 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 rights
; to use, copy, modify, ... | 17.288136 | 80 | 0.669216 | [
"MIT"
] | baAlex/Sakurai | source/engine-dos/io.asm | 5,100 | Assembly |
; A323724: a(n) = n*(2*(n - 2)*n + (-1)^n + 3)/4.
; 0,0,2,6,20,40,78,126,200,288,410,550,732,936,1190,1470,1808,2176,2610,3078,3620,4200,4862,5566,6360,7200,8138,9126,10220,11368,12630,13950,15392,16896,18530,20230,22068,23976,26030,28158,30440,32800,35322,37926,40700,43560,46598,49726,53040,56448,60050,63750,67652,716... | 52.428571 | 588 | 0.756131 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/323/A323724.asm | 734 | Assembly |
.386p
Kernel Segment public para use32
assume cs:Kernel
__kParallelProc proc
pushad
mov ebp,esp
add ebp,32
push dword ptr ICW2_MASTER_INT_NO + 7
push dword ptr 0
push dword ptr [ebp]
push dword ptr [ebp + 4]
push dword ptr [ebp + 8]
test dword ptr [ebp + 4],3
jz _kParallelKernelModeInt
push ... | 15.230769 | 38 | 0.725589 | [
"Apache-2.0"
] | satadriver/LiunuxOS | kPrlll.asm | 594 | Assembly |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... | 25.411638 | 87 | 0.375456 | [
"Apache-2.0"
] | ymarkovitch/ipp-crypto | sources/ippcp/asm_intel64_gas_converted/linux/nonpic/l9/singlecpu/pcpsm2pfuncs_montas.asm | 35,373 | Assembly |
# SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax"
# <- source.mc6809
; Binary numbers (Prefixed with a "%" or suffixed with a "b" or "B")
lda #%00001111
# ^ keyword.operator.immediate
# ^ punctuation.definition.numeric.binary
# ^^^^^^^^^ constant.numeric.binary
lda #0000... | 32.686957 | 80 | 0.625698 | [
"MIT"
] | dougmasten/dougmasten-sublime-assembly-6809 | tests/syntax_test_numbers.asm | 7,524 | Assembly |
; A130744: a(n) = n*(n+2)*n!.
; 0,3,16,90,576,4200,34560,317520,3225600,35925120,435456000,5708102400,80472268800,1214269056000,19527937228800,333456963840000,6025763487744000,114887039275008000,2304854534062080000,48536395063123968000,1070476883597721600000,24676925068935659520000,593472384266576855040000,148649096248... | 42.375 | 531 | 0.837758 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/130/A130744.asm | 678 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x18204, %r15
nop
nop
nop
and %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm7
vmovups %ymm7, (%r15)
nop
dec %rdx
lea addresses_UC_ht+0x145a4, %r10
nop
nop
no... | 31.897959 | 2,999 | 0.658221 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2359.asm | 7,815 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xf6b7, %rcx
dec %r13
movl $0x61626364, (%rcx)
nop
nop
nop
nop
inc %rdi
lea addresses_D_ht+0x190ed, %rbx
nop
and $21991, %r9
mov $0x6162636465666768, %r8
movq %r8, %xmm6
mov... | 31.972656 | 2,999 | 0.659255 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1398.asm | 8,185 | Assembly |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... | 32.061293 | 80 | 0.36661 | [
"Apache-2.0"
] | idesai/ipp-crypto | sources/ippcp/asm_intel64_gas_converted/linux/nonpic/y8/merged/pcpsm3u8as.asm | 38,185 | Assembly |
; FIXME: this is weird, this works locally but not on appveyor?!??!
.386
.model flat
ASSUME FS:NOTHING
; WTF: PUBLIC conflicts with "SYSCALL" but "SYSCALL" is the only way to stop MASM from manging the
; symbol names?
;
; PUBLIC @rust_psm_stack_direction@0
; PUBLIC @rust_psm_stack_pointer@0
; PUBLIC @rust_psm_replac... | 27.788732 | 98 | 0.663964 | [
"Apache-2.0"
] | Maistra/proxy | maistra/vendor/proxy_wasm_cpp_host__psm__0_1_12/src/arch/x86_msvc.asm | 1,973 | Assembly |
; A069982: Number of 4-gonal compositions of n into positive parts.
; 0,0,0,0,1,4,10,16,31,40,68,80,125,140,206,224,315,336,456,480,633,660,850,880,1111,1144,1420,1456,1781,1820,2198,2240,2675,2720,3216,3264,3825,3876,4506,4560,5263,5320,6100,6160,7021,7084,8030,8096,9131,9200,10328,10400,11625,11700,13026,13104,14535,... | 68.71875 | 1,571 | 0.763529 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/069/A069982.asm | 2,199 | Assembly |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int i, n;
int l, w, c, inword;
l = w = c = 0;
6: c7... | 35.399698 | 60 | 0.422965 | [
"MIT"
] | Aravinda214/XV6 | xv6/wc.asm | 46,940 | Assembly |
global long_mode_start
extern rust_main
section .text
bits 64
long_mode_start:
; load 0 into all data segment registers
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; call the rust main
extern rust_main
call rust_main
; print `OKAY` to screen
mov ra... | 17.181818 | 44 | 0.650794 | [
"MIT"
] | Napokue/MyOs | src/arch/x86_64/long_mode_init.asm | 378 | Assembly |
;
; jcgrass2-64.asm - grayscale colorspace conversion (64-bit SSE2)
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; Copyright (C) 2011, D. R. Commander.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with... | 26.087719 | 79 | 0.705111 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | michaelforfxhelp/fxhelprepo | third_party/chromium/third_party/libjpeg_turbo/simd/jcgrass2-64.asm | 2,974 | Assembly |
ds 48
ds 16,1
ds 48
ds 16,2
ds 48
ds 16,3
ds 48
ds 16,4 | 7.111111 | 8 | 0.5625 | [
"BSD-3-Clause"
] | bushy555/ZX-Spectrum-1-Bit-Routines | beepertoy/samples/ice-v4.asm | 64 | Assembly |
;#######################################################
;
; Generated by MAPeD-SMS Copyright 2017-2021 0x8BitDev
;
;#######################################################
; export options:
; - tiles 4x4/(columns)
; - properties per CHR (screen attributes)
; - mode: static screens
; - layout: adjacent screens ... | 24.361111 | 120 | 0.648803 | [
"MIT"
] | 0x8BitDev/MAPeD-SPReD | samples/sms/tilemap_render/stat_scr_VDP_data/data/tilemap.asm | 2,631 | Assembly |
page ,132
subttl emlsint.asm - Load/Store 16/32-bit integers
;***
;emlsint.asm - Load/Store 16/32-bit integers
;
; Copyright (c) 1986-89, Microsoft Corporation
;
;Purpose:
; Load/Store 16/32-bit integers
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Co... | 21.575439 | 81 | 0.596032 | [
"Unlicense"
] | bestbat/Windows-Server | base/mvdm/wow16/win87em/emlsint.asm | 6,149 | Assembly |
; A241203: a(n) = floor(5^n/4^(n-1)).
; Submitted by Jamie Morken(s3)
; 5,6,7,9,12,15,19,23,29,37,46,58,72,90,113,142,177,222,277,346,433,542,677,847,1058,1323,1654,2067,2584,3231,4038,5048,6310,7888,9860,12325,15407,19259,24074,30092,37615,47019,58774,73468,91835,114794,143492,179366,224207,280259
lpb $0
mov $2,$1
... | 26.666667 | 229 | 0.67 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/241/A241203.asm | 400 | Assembly |
;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice,
; this list... | 37.458234 | 123 | 0.505256 | [
"BSD-3-Clause"
] | HollowMan6/aocl-libm-ose | src/isa/avx/masm/sincosf.asm | 15,695 | Assembly |
; ----------------
; Phantoon hijacks
; ----------------
{
; Intro
if !FEATURE_PAL
org $A7D4DD
else
org $A7D4A9
endif
JSL hook_phantoon_init
NOP
BNE $3D
; 1st pattern
if !FEATURE_PAL
org $A7D5DA
else
org $A7D5A6
endif
JSL hook_phantoon_1st_rng
BRA $10
; 2nd pattern
if !FEATURE_PAL
org ... | 18.076453 | 89 | 0.645576 | [
"Unlicense"
] | NobodyNada/sm_practice_hack | src/rng.asm | 11,822 | Assembly |
; A082694: Partial sums of A082693.
; 1,3,4,6,10,12,13,15,19,27,31,33,34,36,40,48,64,72,76,78,79,81,85,93,109,141,157,165,169,171,172,174,178,186,202,234,298,330,346,354,358,360,361,363,367,375,391,423,487,615,679,711,727,735,739,741,742,744
mov $5,$0
mov $7,$0
add $7,1
lpb $7,1
clr $0,5
mov $0,$5
sub $7,1
sub... | 24.090909 | 205 | 0.60566 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/082/A082694.asm | 530 | Assembly |
segment .data
a: dq 0
b: dq 0
c: dq 0
cnt: dq 0
fmt: dq "Largest number %lld was found at location %lld ",10,0
fmt1: dq " smallest number %lld was found at location %lld " ,10, 0
fmt_in: dq "%lld", 0
fmt_out: dq "THE SUM IS: %lld", 10, 0
segment .bss
array resq 21
segment .text
global main
extern printf
extern scanf
... | 13.329787 | 67 | 0.65842 | [
"MIT"
] | zaoad/assembly- | assemblylabarray1/5largest_smallest_number.asm | 1,253 | Assembly |
; === main_wram.asm
; WRAM functions. Mostly stuff related to SRAM bank switching
SECTION "WRAM", ROM0[$DA80]
; Restart (or start) the game.
GameStart:
ld a, 3
call SwitchSRAMBank
jp $a000
; Several variables for keeping track of SRAM banking.
CurrentSRAMBank:
db 0
SavedSRAMBank:
db 0
; Se... | 20.128205 | 73 | 0.695796 | [
"MIT"
] | stranck/fools2018-1 | savefile/main_wram.asm | 3,925 | Assembly |
;
; Copyright (c) 2021 Alain (@AlainPlusPlus)
;
; Programa básico de "hello, world!" en español.
;
;Define variables en sección de datos
section .data
hello db '¡Hola, mundo!',10 ;nuestra cadena
helloLen equ $- hello ;longitud de nuestra cadena
;Código va en la sección de texto
section .text
global _st... | 27.407407 | 54 | 0.682432 | [
"MIT"
] | AlainPlusPlus/assembly-course | codigo/x86/NASM/hola.asm | 749 | Assembly |
IslandMonsB4:
db $0A
IF DEF(_BLUE)
db 31,KRABBY
db 31,SHELLDER
db 33,KRABBY
db 33,JYNX
db 29,SLOWPOKE
db 31,SEEL
db 31,SLOWPOKE
db 29,SEEL
db 39,SLOWBRO
db 37,KINGLER
ELSE
db 31,KRABBY
db 31,STARYU
db 33,KRABBY
db 33,STARYU
db 29,PSYDUCK
db 31,SEEL
db 31,PSYDUCK
db 29,SEEL
db 39,GOLDUCK
db 37,KINGL... | 13.756757 | 17 | 0.732809 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | data/wildPokemon/seafoamislandb4.asm | 509 | Assembly |
db DEX_WIGGLYTUFF ; pokedex id
db 140 ; base hp
db 70 ; base attack
db 45 ; base defense
db 45 ; base speed
db 50 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 50 ; catch rate
db 109 ; base exp yield
INCBIN "pic/ymon/wigglytuff.pic",0,1 ; 66, sprite dimensions
dw WigglytuffPicFront
dw Wigglytu... | 21.344828 | 60 | 0.746365 | [
"Unlicense"
] | adhi-thirumala/EvoYellow | data/baseStats_original/wigglytuff.asm | 619 | Assembly |
; A174902: Denominator of 1 - 1/n^2, using 0 at the pole where n=0.
; 1,0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025
sub $0,1
pow $0,2
mov $1,$0
| 40.714286 | 187 | 0.701754 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/174/A174902.asm | 285 | Assembly |
; A274716: a(2*n+1) = a(2*floor(n/2)+1) + n, a(2*n) = a(n), for n>=1 with a(1)=0.
; 0,0,1,0,3,1,4,0,7,3,8,1,10,4,11,0,15,7,16,3,18,8,19,1,22,10,23,4,25,11,26,0,31,15,32,7,34,16,35,3,38,18,39,8,41,19,42,1,46,22,47,10,49,23,50,4,53,25,54,11,56,26,57,0,63,31,64,15,66,32,67,7,70,34,71,16,73,35,74,3,78,38,79,18,81,39,82,8,8... | 32.142857 | 271 | 0.568889 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/274/A274716.asm | 450 | Assembly |
; A344336: Number of divisors of n^9.
; Submitted by Christian Krause
; 1,10,10,19,10,100,10,28,19,100,10,190,10,100,100,37,10,190,10,190,100,100,10,280,19,100,28,190,10,1000,10,46,100,100,100,361,10,100,100,280,10,1000,10,190,190,100,10,370,19,190,100,190,10,280,100,280,100,100,10,1900,10,100,190,55,100,1000,10,190,10... | 23.806452 | 372 | 0.602981 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/344/A344336.asm | 738 | Assembly |
; A134062: Row sums of triangle A134061.
; 1,8,18,38,78,158,318,638,1278,2558,5118,10238,20478,40958,81918,163838,327678,655358,1310718,2621438,5242878,10485758,20971518,41943038,83886078,167772158,335544318,671088638,1342177278,2684354558,5368709118,10737418238,21474836478,42949672958,85899345918,171798691838,34359738... | 141 | 1,710 | 0.917621 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/134/A134062.asm | 1,833 | Assembly |
* Network server driver V0.0 1985 Tony Tebby QJUMP
*
section nd
*
xdef ns_io IO entry
xdef ns_open open entry
*
xref nd_read0 read a packet
xref nd_send0 send a packet
*
include dev8_dd_ql... | 31.467742 | 69 | 0.447463 | [
"BSD-2-Clause"
] | olifink/smsqe | dd/qlnd/nsv.asm | 1,951 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rdx
lea addresses_WC_ht+0x1e243, %r11
clflush (%r11)
add %rax, %rax
mov $0x6162636465666768, %rdx
movq %rdx, %xmm7
vmovups %ymm7, (%r11)
inc %r8
pop %rdx
pop %rax
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push... | 67.316667 | 2,999 | 0.663035 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1255.asm | 4,039 | Assembly |
; $Id: VBoxVgaBiosAlternative286.asm $
;; @file
; Auto Generated source file. Do not edit.
;
;
; Source file: vgarom.asm
;
; ============================================================================================
;
; Copyright (C) 2001,2002 the LGPL VGABios developers Team
;
; This library is free softw... | 59.104728 | 109 | 0.353744 | [
"MIT"
] | remynicol/icebox | third_party/virtualbox/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative286.asm | 493,820 | Assembly |
; A151961: Semiperimeter of the n-th Heronian triangle.
; 3,6,21,78,291,1086,4053,15126,56451,210678,786261,2934366,10951203,40870446,152530581,569251878,2124476931,7928655846,29590146453,110431929966,412137573411,1538118363678,5740335881301,21423225161526,79952564764803,298387033897686,1113595570825941,415599524940607... | 35.454545 | 265 | 0.8 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/151/A151961.asm | 390 | Assembly |
_ls: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
100b: ff 71 fc pus... | 37.853532 | 73 | 0.409927 | [
"MIT-0"
] | adevi002/xv6-public | ls.asm | 58,408 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xd623, %rsi
lea addresses_normal_ht+0x15443, %rdi
nop
nop
nop
nop
nop
cmp $51430, %r12
mov $49, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_WT_ht+0x1c8b3, %rdx
nop
nop... | 19.125786 | 152 | 0.638277 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_11_687.asm | 3,041 | Assembly |
; ================================================================
; Variables
; ================================================================
if !def(incVars)
incVars set 1
SECTION "Variables",HRAM
; ================================================================
; Global variables
; ================... | 22.582278 | 69 | 0.529709 | [
"MIT"
] | DevEd2/DevSound | demo/Variables.asm | 1,784 | Assembly |
; move battle menu references
org $0000
incbin "foobar.bin"
org $ce1a
BSR battle_submenu
org $be5e
BSR battle_menu
org $b748
battle_submenu:
LEA $20FB3, a0
RTS
org $b7c0
battle_menu:
LEA $20fe2, a0
RTS | 11.05 | 29 | 0.705882 | [
"MIT"
] | tashiww/maten_tools | reference_asm/battle_menu.asm | 221 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rdi
push %rdx
lea addresses_WC_ht+0xdd1a, %rdx
clflush (%rdx)
nop
and %r8, %r8
movl $0x61626364, (%rdx)
add $36183, %r9
lea addresses_UC_ht+0x791a, %r15
nop
nop
and $29587, %r13
movb (%r15), %r11b
nop
nop
cmp %r9, %r9
pop... | 18.422222 | 125 | 0.643546 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/US/_zr_/i7-7700_9_0x48.log_20_2375.asm | 1,658 | Assembly |
; A212069: Number of (w,x,y,z) with all terms in {1,...,n} and 3*w = x+y+z.
; Submitted by Jon Maiga
; 0,1,2,9,22,41,72,115,170,243,334,443,576,733,914,1125,1366,1637,1944,2287,2666,3087,3550,4055,4608,5209,5858,6561,7318,8129,9000,9931,10922,11979,13102,14291,15552,16885,18290,19773,21334,22973
pow $0,3
sub $2,$0
cmp... | 28.692308 | 195 | 0.680965 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/212/A212069.asm | 373 | Assembly |
; A041449: Denominators of continued fraction convergents to sqrt(240).
; Submitted by Christian Krause
; 1,2,61,124,3781,7686,234361,476408,14526601,29529610,900414901,1830359412,55811197261,113452753934,3459393815281,7032240384496,214426605350161,435885451084818,13290990137894701,27017865726874220,823826961944121301,... | 41.823529 | 485 | 0.838256 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/041/A041449.asm | 711 | Assembly |
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring
;;;;;;;;;;;;;;;
;; DECLARE SOME VARIABLES HERE
.rsset $0000 ;;start variables at ram location 0
gamestate .rs 1 ; .rs 1 means reserve on... | 24.10989 | 99 | 0.600365 | [
"MIT"
] | ryanplusplus/nes-dev | nerdy-nights-nesasm/week9/pong2.asm | 10,970 | Assembly |
; A133567: A007318 * A133566.
; Submitted by Christian Krause
; 1,1,1,1,3,1,1,6,3,1,1,10,6,5,1,1,15,10,15,5,1,1,21,15,35,15,7,1,1,28,21,70,35,28,7,1,1,36,28,126,70,84,28,9,1,1,45,36,210,126,210,84,45,9,1
lpb $0
add $1,1
sub $0,$1
mov $2,$1
sub $2,$0
lpe
mod $0,2
add $0,$1
bin $0,$2
| 20.857143 | 141 | 0.59589 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/133/A133567.asm | 292 | Assembly |
#ruledef test
{
ld r{x}, {y} => 0x55 @ x`8 @ y`8
}
ld r 0 , 0x34 ; = 0x550034 | 13.666667 | 36 | 0.487805 | [
"Apache-2.0"
] | Artentus/customasm | tests/rule_arg_glued/11.asm | 82 | Assembly |
; A244854: Decimal expansion of Pi^2/32.
; Submitted by Christian Krause
; 3,0,8,4,2,5,1,3,7,5,3,4,0,4,2,4,5,6,8,3,8,5,7,7,8,4,3,7,4,6,1,2,9,7,2,2,9,7,8,5,5,3,1,0,6,4,7,6,2,7,4,7,0,7,0,7,5,4,1,7,1,6,8,0,0,6,8,7,6,4,0,0,7,0,0,6,0,0,1,6,3,8,4,3,8,0,5
add $0,1
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
sub $3,1
lpb $3
mul $1... | 16.15625 | 175 | 0.535783 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/244/A244854.asm | 517 | Assembly |
; A163608: a(n) = ((5 + 2*sqrt(2))*(2 + sqrt(2))^n + (5 - 2*sqrt(2))*(2 - sqrt(2))^n)/2.
; 5,14,46,156,532,1816,6200,21168,72272,246752,842464,2876352,9820480,33529216,114475904,390845184,1334428928,4556025344,15555243520,53108923392,181325206528,619082979328,2113681504256,7216560058368,24638877224960,84122388783104,28... | 49.071429 | 500 | 0.791849 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/163/A163608.asm | 687 | Assembly |
SFX_SS_Anne_Horn_1_Ch4:
duty 2
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 4, 0, 0, 0
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 15, 242, 0, 5
endchannel
SFX_SS_Anne_Horn_1_Ch5:
duty 3
unknownsfx0x20 15, 240, 130, 4
un... | 22.434783 | 31 | 0.724806 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | audio/sfx/ss_anne_horn_1.asm | 516 | Assembly |
; find out hardware map
HWN I
:query_loop
SUB I, 1
HWQ I
IFE B, 0x7349
IFE A, 0xf615
SET [monitor_n], I
IFN I, 0
SET PC, query_loop
; set up monitor
SET A, 0
SET B, 0x8000
HWI [monitor_n]
SET A, 1
SET B, 0x8180
HWI [monitor_n]
; load character data:
SET A, shroom
SET B, shroom_end
SET C, 0x8180
JSR copy
SET ... | 13.601064 | 77 | 0.672272 | [
"MIT"
] | denizzzka/dcpu16 | examples/charmaptest.asm | 2,557 | Assembly |
@ 5
D = A
D;JLE
//Yo
@ 3 //Yo
(JM)
D=A
(JUMP)
@JM
D;JMP | 5.5 | 8 | 0.472727 | [
"MIT"
] | AbstractXan/ComputerSystemDesignLab | 07/Lab06 Assembler/test.asm | 55 | Assembly |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosStopSession DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokus... | 15.108108 | 69 | 0.683363 | [
"BSD-3-Clause"
] | osfree-project/FamilyAPI | dos/DosStopSession.asm | 559 | Assembly |
Mansion4Object:
db $1 ; border block
db $1 ; warps
db $16, $17, $5, MANSION_1
db $0 ; signs
db $8 ; objects
object SPRITE_BLACK_HAIR_BOY_2, $10, $17, STAY, NONE, $1, OPP_BURGLAR, $6
object SPRITE_BLACK_HAIR_BOY_2, $1b, $b, STAY, DOWN, $2, OPP_SUPER_NERD, $8
object SPRITE_BALL, $a, $2, STAY, NONE, $3, RARE_CA... | 31.857143 | 76 | 0.678625 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | data/mapObjects/mansion4.asm | 669 | Assembly |
.model small
.stack 100h
.data
.code
main proc
mov ah , 01h
int 21h
mov bl,al
;new line
mov ah, 02h
mov dl, 0ah
int 21h
mov dl, 0dh
int 21h
mov ah, 01h
int 21h
mov cl,al
;new line
mov ah, 02h
... | 11.659091 | 17 | 0.417154 | [
"MIT"
] | mdabdullahibnaharun/Assembly-Language | MySource/sum-newline.asm | 513 | Assembly |
; A170635: Number of reduced words of length n in Coxeter group on 50 generators S_i with relations (S_i)^2 = (S_i S_j)^48 = I.
; 1,50,2450,120050,5882450,288240050,14123762450,692064360050,33911153642450,1661646528480050,81420679895522450,3989613314880600050,195491052429149402450,9579061569028320720050,469374016882387... | 30.5 | 201 | 0.765808 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/170/A170635.asm | 427 | Assembly |
.model small
outpb macro
mov dx,pb
out dx,al
endm
outpc macro
mov dx,pc
out dx,al
endm
printf macro l
lea dx,l
mov ah,9
int 21h
endm
exit macro
mov ah,4ch
int 21h
endm
.data
pa equ 1190h
pb equ 1191h
cr equ 1193h
pc equ 1192h
m1 db 10,13,"any key to exit:$"
fire db 8eh,0cfh,0afh,86h
help d... | 9.303371 | 32 | 0.676329 | [
"MIT"
] | abhimanyudwivedi/mp-testing | p4b.asm | 828 | Assembly |
; A132269: Product{k>=0, 1+floor(n/2^k)}.
; 1,2,6,8,30,36,56,64,270,300,396,432,728,784,960,1024,4590,4860,5700,6000,8316,8712,9936,10368,18200,18928,21168,21952,27840,28800,31744,32768,151470,156060,170100,174960,210900,216600,234000,240000,340956,349272,374616,383328,447120,457056,487296,497664,891800,910000,965328,9... | 158.5 | 2,379 | 0.871451 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/132/A132269.asm | 2,536 | Assembly |
; VirusName : PARADISE LOST!
; Origin : Sweden
; Author : The Unforgiven
; Date : 20/12/93
; This is a "mutation", of Tormentor's .COM lession. I've modified
; some stuffs, but since I liked the .EXE infector better, I didn't
; cared too much about this one.
; Anyway, this is a non-resident current direct... | 32.950617 | 80 | 0.558636 | [
"MIT"
] | 010001111/Family | MSDOS/Virus.MSDOS.Unknown.paralost.asm | 8,007 | Assembly |
;/*!
; @file
;
; @ingroup fapi
;
; @brief BksStringIn DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushev... | 19.9 | 69 | 0.624121 | [
"BSD-3-Clause"
] | prokushev/FamilyAPI | bks/BksStringIn.asm | 995 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.