content stringlengths 5 918k | size int64 5 918k | lang stringclasses 1
value | ext stringclasses 3
values | avg_line_length float64 1.67 3.94k | max_line_length int64 3 3.94k | alphanum_fraction float64 0.08 0.95 | hexsha stringlengths 40 40 | max_stars_repo_name stringlengths 7 71 | max_stars_repo_licenses listlengths 1 6 | max_stars_count int64 1 26.9k ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|
; A180119: a(n) = (n+2)! * Sum_{k = 1..n} 1/((k+1)*(k+2)).
; 0,1,6,36,240,1800,15120,141120,1451520,16329600,199584000,2634508800,37362124800,566658892800,9153720576000,156920924160000,2845499424768000,54420176498688000,1094805903679488000,23112569077678080000,510909421717094400000,11802007641664880640000,2843721841277... | 679 | Assembly | asm | 48.5 | 524 | 0.832106 | f700161a95f9a24839ebe185e126e5a9f81eb0e8 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; size_t w_vector_erase_callee(w_vector_t *v, size_t idx)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC _w_vector_erase_callee
EXTERN _w_array_erase_callee
defc _w_vector_erase_callee = _w_array_erase_callee
| 218 | Assembly | asm | 18.166667 | 57 | 0.866972 | f7003de408ef2565cbe16c08f1a335ad1d5f395d | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
PROGRAM 4
BR L1
L0:
PROC 1
LDLADDR 8
LDCB 1
STOREB
LDLADDR 8
LOADB
PUTBYTE
LDCSTR " "
PUTSTR
RET 0
L1:
LDGADDR 0
LDCINT 5
STOREW
CALL L0
LDGADDR 0
LOADW
PUTINT
PUTEOL
HALT
| 237 | Assembly | asm | 9.875 | 15 | 0.556962 | f7006af344336f589e0d6bb6d4dc9196a630c80d | SoftMoore/CPRL-Kt | [
"Unlicense"
] | 6 |
; size_t b_array_erase_block(b_array_t *a, size_t idx, size_t n)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_erase_block
EXTERN asm_b_array_erase_block
b_array_erase_block:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
jp asm_b_array_erase_block
| 315 | Assembly | asm | 13.125 | 64 | 0.736508 | f7006b953eb42413b146284ce21ecf529271b419 | teknoplop/z88dk | [
"ClArtistic"
] | 8 |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Item (Sample PC GEOS application)
FILE: list.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 6/1/92 Initial version
... | 7,783 | Assembly | asm | 24.170807 | 80 | 0.418733 | f700bdc868ad14c4c37181a3e0b7dd173a74eb5a | steakknife/pcgeos | [
"Apache-2.0"
] | 504 |
; A016793: a(n) = (3*n + 2)^5.
; 32,3125,32768,161051,537824,1419857,3200000,6436343,11881376,20511149,33554432,52521875,79235168,115856201,164916224,229345007,312500000,418195493,550731776,714924299,916132832,1160290625,1453933568,1804229351,2219006624,2706784157,3276800000,3939040643,4704270176,5584059449,6590815232,... | 550 | Assembly | asm | 78.571429 | 490 | 0.852727 | f700c338fcce6a364a251e749fb8c9fc6fc15111 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
==================== Asm code ====================
.section .data
.align 8
.align 1
.globl abc
.type abc, @object
abc:
.quad xyz_info
| 138 | Assembly | asm | 11.5 | 50 | 0.478261 | f700cc568367a021a307baf3989a31987ce14ef0 | takenobu-hs/haskell-ghc-cmm-examples | [
"BSD-3-Clause"
] | 1 |
;
; Fast background save
;
; Generic version (just a bit slow)
;
; $Id: w_bksave.asm $
;
SECTION smc_clib
PUBLIC bksave
PUBLIC _bksave
EXTERN w_pixeladdress
.bksave
._bksave
push ix
ld hl,4
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ;sp... | 1,098 | Assembly | asm | 12.2 | 39 | 0.510018 | f700e96c771173fef1e98106a43868288c07897b | jpoikela/z88dk | [
"ClArtistic"
] | null |
; $Id: bs3-wc32-U8LS.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - 32-bit Watcom C/C++, 64-bit integer left shift.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
;... | 1,878 | Assembly | asm | 29.809524 | 85 | 0.642705 | f700feff0683a2473dfad8d637ec7142ef5ec983 | Nurzamal/rest_api_docker | [
"MIT"
] | null |
; A140341: The number of bits needed to write the universal code for an Elias delta coding, the simplest asymptotically optimal code.
; Submitted by Jon Maiga
; 1,4,4,5,5,5,5,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1... | 669 | Assembly | asm | 22.3 | 270 | 0.620329 | f7012a54ccaf5a4f18748ef4aff453c3725501e1 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
00000000: 4E4553 LSR $5345
00000003: 1A .DB $1A
00000004: 0100 ORA ($00,X)
00000006: 00 BRK
00000007: 00 BRK
00000008: 00 BRK
00000009: 00 BRK
0000000A: 00 BRK
0000000B: 00 BRK
0000000C: 00 BRK
0000000D: 00 BRK
0000000E: 00 BRK
0000000F: 00 BRK
00000010: 78 SEI
00000011: D8 CLD
00000012: A240 LDX #$40
00000014: 8E1740 ... | 238,683 | Assembly | asm | 22.110514 | 28 | 0.708831 | f70187b6dfd99f183f24c936d3c424d9d9ddefcb | mattconsto/nes | [
"MIT"
] | 4 |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; QgemmU8S8KernelAvx2.asm
;
; Abstract:
;
; This module implements the kernels for the quantized integer matrix/matrix
; multiply operation (QGEMM).
;
; This implementation uses AVX2 instruct... | 37,278 | Assembly | asm | 35.368121 | 91 | 0.597672 | f701fb623facb3bead214e224628ce0c2d8a288c | lynex/nnfusion | [
"MIT"
] | 639 |
user/_strace: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"
int main(int argc, char *argv[])
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 ... | 41,421 | Assembly | asm | 29.671203 | 61 | 0.460877 | f7025493f1e84f8debf1ece60d285f1b15849e2c | Parth0248/Enhancing-xv6-OS | [
"MIT-0"
] | 1 |
_test_h2o: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
void hydrogen(void *arg_ptr);
void oxygen(void *arg_ptr);
int main(int argc, char *argv[]){
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp... | 64,793 | Assembly | asm | 34.537846 | 75 | 0.448829 | f7025e0067f4f23219f6f64481c9488d8f95df14 | phung001/xv6_lab2_mark | [
"MIT-0"
] | null |
; A062026: a(n) = n(n+1)(n^2 -3n +6)/4
; 0,2,6,18,50,120,252,476,828,1350,2090,3102,4446,6188,8400,11160,14552,18666,23598,29450,36330,44352,53636,64308,76500,90350,106002,123606,143318,165300,189720,216752,246576,279378,315350,354690,397602,444296,494988,549900,609260,673302,742266,816398,895950,981180,1072352,1169736... | 594 | Assembly | asm | 59.4 | 497 | 0.789562 | f70266dd68f74c8be78c2eff84ea609d2643d64b | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x3ff0000000000000",
"RBX": "0x0000000000000000",
"RCX": "0x3ff0000000000000"
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rdx, 0xe0000000
mov eax, 0x3f800000 ; 1.0
mov [rdx + 8 * 0], eax
fld1
fldz
mov eax, 1
cmp eax, 1
fcmovne st0, st1
fldz
cmp... | 448 | Assembly | asm | 11.789474 | 44 | 0.631696 | f702979f5bac84b390816f947a05a6d6190124a3 | Seas0/FEX | [
"MIT"
] | null |
TITLE uiedit.asm - Misc user interface functions.
;***
;uiedit.asm
;
; Copyright <C> 1985-1988, Microsoft Corporation
;
;Purpose:
; Interface between CW and parsing code.
;
;
;*******************************************************************************
.xlist
include version.inc
UIEDIT_ASM = ON
CONTEXT_NOFUN... | 67,103 | Assembly | asm | 27.808952 | 103 | 0.661163 | f702a4c498727c53c9d442243be5246315ad6bf3 | minblock/msdos | [
"Apache-2.0"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x17495, %rsi
lea addresses_UC_ht+0xc8e0, %rdi
nop
nop
nop
nop
xor $25931, %rbp
mov $86, %rcx
rep movsq
nop
nop
nop
nop
and $51232, %rax
lea addresses_WT_ht+0xeef2, %rbx
nop
no... | 7,378 | Assembly | asm | 33.536364 | 2,999 | 0.656953 | f702da484458ea7518a7e0fefae61f3d4c6a9904 | ljhsiun2/medusa | [
"MIT"
] | 9 |
// ============================================================================
// Instructions not yet implemented in hardware, but will be in near future
// ============================================================================
// Multiply
MACRO MUL ( _rX_, _rY_, _imm_ )
...
ENDMACRO
// Divide
MACRO DIV (... | 899 | Assembly | asm | 16.648148 | 79 | 0.434928 | f702dce4b6ed96314aabec21d97ca6b72020dd1d | JetStarBlues/Nand-2-Tetris | [
"MIT"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x137f3, %rbx
clflush (%rbx)
nop
nop
nop
nop
dec %r12
movups (%rbx), %xmm5
vpextrq $1, %xmm5, %r8
nop
nop
nop
nop
nop
xor $5398, %rbp
lea addresses_UC_ht+0x... | 7,239 | Assembly | asm | 30.544304 | 2,999 | 0.658793 | f702e8ea5bd33f0f0e20cf4ae884032541942008 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.text
.file "example0-8787f43e282added376259c1adb08b80.rs"
.section ".text._ZN95_$LT$example..Bla$LT$$u27$a$GT$$u20$as$u20$core..convert..Into$LT$alloc..string..String$GT$$GT$4into17h38301ffbb2e8fb47E","ax",@progbits
.globl _ZN95_$LT$example..Bla$LT$$u27$a$GT$$u20$as$u20$core..... | 1,283 | Assembly | asm | 71.277778 | 280 | 0.674981 | f7030092309939ce2f0b21a66a769f5ae8ec4dd0 | OfekShilon/compiler-explorer | [
"BSD-2-Clause"
] | 4,668 |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r9
push %rax
push %rcx
push %rdx
// Store
lea addresses_WC+0x8cec, %r10
nop
sub $61857, %r12
mov $0x5152535455565758, %rcx
movq %rcx, %xmm1
movups %xmm1, (%r10)
nop
nop
nop
nop
cmp $33050, %r1... | 1,823 | Assembly | asm | 21.447059 | 338 | 0.646736 | f7032ec21e5a0ab43edec0f6231ca8d84da6723d | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A025009: Expansion of 1/((1-x)(1-9x)(1-10x)(1-11x)).
; Submitted by Jon Maiga
; 1,31,632,10682,162183,2297253,31000054,403684144,5115788645,63462153755,773891110356,9306180096486,110619493115587,1302189143870737,15203564170082738,176265669269562908
add $0,2
lpb $0
sub $0,1
add $2,2
mul $2,9
mul $3,10
add $... | 373 | Assembly | asm | 21.941176 | 170 | 0.707775 | f7033a672483e122bdea8e97292c54ed391ee2c9 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
GLOBAL sys_read, sys_write, sys_time, quadSolver
GLOBAL _getMem, sys_loadProcess
GLOBAL raiseOpcodeExc
GLOBAL _getRegs, sys_switchContext
GLOBAL cpu_id, cpu_id_support
GLOBAL sys_exit, sys_ps, sys_free, sys_malloc, sys_sem, sys_openPipe, sys_closePipe, sys_semClose
GLOBAL sys_nice, sys_semWait, sys_semPost, sys_semOpen... | 7,977 | Assembly | asm | 12.1231 | 99 | 0.603861 | f7035b6d0031e0a625a178ae9abcbbc7f4f166e1 | slococo/TP2-SO | [
"BSD-3-Clause"
] | null |
; A081016: a(n) = (Lucas(4*n+3) + 1)/5, or Fibonacci(2*n+1)*Fibonacci(2*n+2), or A081015(n)/5.
; 1,6,40,273,1870,12816,87841,602070,4126648,28284465,193864606,1328767776,9107509825,62423800998,427859097160,2932589879121,20100270056686,137769300517680,944284833567073,6472224534451830,44361286907595736,304056783818718321... | 1,052 | Assembly | asm | 75.142857 | 855 | 0.867871 | f7039fb715ef2d38d217dc6c041c350e73530d3a | neoneye/loda | [
"Apache-2.0"
] | 22 |
.data
mat1: .space 1024
mat2: .space 1024
ans: .space 1024
.macro input(%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 $v0, 11
li $a0, ' '
syscall
.end_macro... | 1,764 | Assembly | asm | 16.961538 | 34 | 0.597506 | f703a8d72835b35db03ad45e00497f233ee54435 | flyinglandlord/BUAA-CO-2021 | [
"MIT"
] | 5 |
TextMode.println : ; ebx is String
pusha
call TextMode.print
call TextMode.newline
popa
ret
TextMode.print : ; ebx is String
pusha
mov ah, 0x0F
mov ecx, [TextMode.charpos]
TextMode.println.loop :
mov al, [ebx]
cmp al, 0x0
je TextMode.println.ret
mov [ecx], ax
add ecx, 2
add ebx, 1
jmp TextMode.println.loop
... | 1,732 | Assembly | asm | 16.653846 | 46 | 0.735566 | f703fb07e0234644ca3d2f0938ed48e6a81d8c4f | jaredwhitney/os3 | [
"MIT"
] | 5 |
; A215960: First differences of A016759.
; 2186,75938,745418,3959426,14704202,43261346,108110858,239479298,483533066,907216802,1603736906,2698690178,4356837578,6789523106,10262737802,15105828866,21720853898,30592580258,42299129546,57523267202,77064337226,101850842018,132953667338,171599952386,219187605002,277300461986,... | 2,386 | Assembly | asm | 119.3 | 2,190 | 0.904862 | f70432f5b81be9937f827057447664b9ec941e3f | jmorken/loda | [
"Apache-2.0"
] | 1 |
dnl AMD64 mpn_hamdist -- hamming distance.
dnl Copyright 2008, 2010-2012, 2017 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Publi... | 2,533 | Assembly | asm | 23.027273 | 79 | 0.672325 | f70494a33a217fec75dc98b7b39e9eb988f35eef | jhh67/chapel | [
"ECL-2.0",
"Apache-2.0"
] | 1,602 |
; Get window size for a string 1989 Jochen Merz V0.01
section utility
xdef ut_gwszs
;+++
; This routine calculates the number of lines and characters per line needed to
; put in a string into a window. The string may contain the \ characters which
; are replaced by <LF>. The pointer to t... | 2,269 | Assembly | asm | 39.12069 | 79 | 0.447334 | f704cdf72bd2981f011fba1c637c9955e595d7b3 | olifink/smsqe | [
"BSD-2-Clause"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xd813, %rsi
lea addresses_WT_ht+0xbc53, %rdi
xor %r9, %r9
mov $12, %rcx
rep movsb
inc %rdx
lea addresses_normal_ht+0x1d53, %rsi
lea addresses_D_ht+0x8293, %rdi
clflush (%rdi)
nop
nop
no... | 5,048 | Assembly | asm | 20.946058 | 151 | 0.642433 | f704ecef21598ea663b70dc8b0023842472a11a5 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A214587: Greatest common divisor of a number and its last decimal digit: a(n) = gcd(n, n mod 10).
; 0,1,2,3,4,5,6,7,8,9,10,1,2,1,2,5,2,1,2,1,20,1,2,1,4,5,2,1,4,1,30,1,2,3,2,5,6,1,2,3,40,1,2,1,4,5,2,1,8,1,50,1,2,1,2,5,2,1,2,1,60,1,2,3,4,5,6,1,4,3,70,1,2,1,2,5,2,7,2,1,80,1,2,1,4,5
mov $1,$0
pow $2,$0
add $2,$0
lpb $0,... | 362 | Assembly | asm | 30.166667 | 181 | 0.563536 | f7054fc41afd0a194cb58fa48da528bdf0742fb1 | karttu/loda | [
"Apache-2.0"
] | 1 |
; 0 - PUSH constant 0
leaw $0,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 1 - POP temp 0
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $5,%A
movw %D,(%A)
; 2 - PUSH constant 1
leaw $1,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%... | 2,540 | Assembly | nasm | 13.956044 | 56 | 0.560236 | f70622ee63104b3c07ece50eada8dfdab0e98f28 | mariaeduardabicalho/Z01 | [
"Unlicense"
] | 2 |
; A000127: Maximal number of regions obtained by joining n points around a circle by straight lines. Also number of regions in 4-space formed by n-1 hyperplanes.
; 1,2,4,8,16,31,57,99,163,256,386,562,794,1093,1471,1941,2517,3214,4048,5036,6196,7547,9109,10903,12951,15276,17902,20854,24158,27841,31931,36457,41449,46938,... | 756 | Assembly | asm | 54 | 498 | 0.785714 | f70644071e4a88b08c4839dba9457ec8185bee68 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A281908: a(n) = (Sum_{k=1..n} C(n,k) mod k) mod n.
; Submitted by Christian Krause
; 0,1,2,2,3,2,2,3,6,3,3,2,1,0,2,14,13,13,12,8,18,16,14,20,2,23,24,21,19,22,19,15,21,2,25,6,1,26,25,38,33,4,42,19,34,19,14,38,31,18,22,20,14,42,29,13,9,44,38,39,31,9,4,9,25,7,63,22,2,17,7,38,27,44,25,12,7,63,53,14,8,39,26,6,43,68,57,60,... | 577 | Assembly | asm | 22.192308 | 269 | 0.554593 | f70645f5353be340e292b493ecde2c54033309fa | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; Stub for the TI 83 calculator
;
; Stefano Bodrato - Dec 2000
; Henk Poley - Apr 2001 Fixed and add some things
;
; $Id: ti83_crt0.asm,v 1.32 2016-07-11 05:58:34 stefano Exp $
;
; startup =
; n - Primary shell(s); compatible shell(s)
; (Primary shell merely means it's the smallest implementation
; for t... | 8,858 | Assembly | asm | 22.712821 | 68 | 0.645857 | f7070d44a3b729bc52408187f842fdbcdf238760 | dikdom/z88dk | [
"ClArtistic"
] | 1 |
;------------------------------------------------------------------------------
;
; Copyright (c) 2009-2013, ARM Ltd. All rights reserved.
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
EXPORT SetJump
EXPORT InternalLongJump... | 2,923 | Assembly | asm | 30.768421 | 99 | 0.539514 | f707368ad7949c62b2fef9b16d5cc5b13eea85a0 | makubacki/mu_basecore | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 100 |
user/_strace: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"
int main(int argc, char **argv)
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 ... | 33,215 | Assembly | asm | 33.892857 | 60 | 0.464971 | f7073ade3d6c81131bb78c6ab76935e019a4d64f | Pallavi-Pamulapati/Modified-xv6 | [
"MIT-0"
] | null |
; A022370: Fibonacci sequence beginning 2, 16.
; 2,16,18,34,52,86,138,224,362,586,948,1534,2482,4016,6498,10514,17012,27526,44538,72064,116602,188666,305268,493934,799202,1293136,2092338,3385474,5477812,8863286,14341098,23204384,37545482,60749866,98295348,159045214,257340562,416385776,673726338,1090112114,1763838452,28... | 858 | Assembly | asm | 66 | 724 | 0.848485 | f70741e0f89bb312f78600bac85943dddf424d27 | jmorken/loda | [
"Apache-2.0"
] | 1 |
include asm.inc
;publics:
;setvmode()
extrn _bgpic:far
text__vid SEGMENT para public 'CODE'
ASSUME cs:text__vid
.386
modes dw OFFSET v320x200x256
dw OFFSET v320x350x256
dw OFFSET v320x350x256
dw OFFSET v320x240x256
dw OFFSET vtseng640x400x256
PUBLIC setvmode
setvmode PROC FAR
;ax=mode =... | 7,212 | Assembly | asm | 17.633252 | 66 | 0.693844 | f7074576fb54ce200d3a14b9bd480ff5e945baf9 | Falken42/SecondReality | [
"Unlicense"
] | 9 |
; A100315: Number of 3 X n 0-1 matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (00;1), (01;0), (10;0) and (01;1).
; 1,8,14,22,34,54,90,158,290,550,1066,2094,4146,8246,16442,32830,65602,131142,262218,524366,1048658,2097238,4194394,8388702,16777314,33554534,67108970,134217838,2684355... | 462 | Assembly | asm | 35.538462 | 224 | 0.735931 | f707b0fb637706c8aa0d1fc67a2f5335713f491d | neoneye/loda | [
"Apache-2.0"
] | 22 |
;
; feilipu, 2019 April
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-------------------------------------------------------------------------
; m32_fsinvsqr... | 6,230 | Assembly | asm | 26.738197 | 96 | 0.435634 | f707baa9c527d7f66c9a19e6f30ebc5e10003a81 | jpoikela/z88dk | [
"ClArtistic"
] | null |
;
; Copyright (c) 2006-2008 Advanced Micro Devices,Inc. ("AMD").
;
; This library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as
; published by the Free Software Foundation; either version 2.1 of the
; License, or (at your option) any lat... | 2,283 | Assembly | asm | 27.506024 | 73 | 0.587823 | f707da584d8aec6550c64e3b532f7f973938c336 | fabiojna02/OpenCellular | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 1 |
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA... | 1,390 | Assembly | asm | 23.166667 | 79 | 0.722302 | f707de8feb8714a2b24ee20595f6143e60be32c5 | JamesType/optimization-manual | [
"0BSD"
] | 374 |
; int posix_memalign(void **memptr, size_t alignment, size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _posix_memalign
EXTERN asm_posix_memalign
_posix_memalign:
pop af
pop de
pop bc
p... | 653 | Assembly | asm | 15.186047 | 66 | 0.531394 | f707ee0e08816df127abaa5ee9fba53a028c10de | meesokim/z88dk | [
"ClArtistic"
] | null |
%include "../utils/printf32.asm"
section .data
mystring db "This is my string", 0
section .text
extern puts
extern printf
global main
main:
push ebp
mov ebp, esp
PRINTF32 `[PRINTF32]: %s\n[PUTS]: \x0`, mystring
; TODO: call puts on string
leave
ret
| 284 | Assembly | asm | 12.909091 | 52 | 0.640845 | f707ef25a2bd82fdbfc8f3d1ed73236db2f5fa1d | adinasm/iocla-demos | [
"MIT"
] | null |
; A073929: a(1) = 1, a(n) = smallest number not included earlier such that the n-th partial sum (n>1) is divisible by n+1.
; 1,2,5,7,3,10,4,13,15,6,18,20,8,23,9,26,28,11,31,12,34,36,14,39,41,16,44,17,47,49,19,52,54,21,57,22,60,62,24,65,25,68,70,27,73,75,29,78,30,81,83,32,86,33,89,91,35,94,96,37,99,38,102,104,40,107,109... | 1,451 | Assembly | asm | 53.740741 | 893 | 0.678842 | f7086d6f5b921925feb05d37f00cfeb443c43dcf | karttu/loda | [
"Apache-2.0"
] | null |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: printcomIBMPropDialog.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HIST... | 1,013 | Assembly | asm | 28.138889 | 79 | 0.593287 | f7086e716ad980f08c038c9e6219d4c810fdc063 | steakknife/pcgeos | [
"Apache-2.0"
] | 504 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xbe16, %rsi
lea addresses_WC_ht+0x1dfd6, %rdi
clflush (%rsi)
nop
nop
dec %r9
mov $37, %rcx
rep movsl
nop
and $23589, %rsi
lea addresses_WC_ht+0x13a16, %r14
xor %r8, %r8
mov (%r14), %r11w
... | 5,117 | Assembly | asm | 48.273585 | 2,999 | 0.658784 | f7088a4c08d30880c28752d3681c40b201d7af7c | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A158313: a(n) = 400 * n + 1.
; 401,801,1201,1601,2001,2401,2801,3201,3601,4001,4401,4801,5201,5601,6001,6401,6801,7201,7601,8001,8401,8801,9201,9601,10001,10401,10801,11201,11601,12001,12401,12801,13201,13601,14001,14401,14801,15201,15601,16001,16401,16801,17201,17601,18001,18401,18801,19201,19601,20001,20401,20801,2... | 552 | Assembly | asm | 92 | 497 | 0.791667 | f708c1e59884f13bb7c5e817a3c6c6c6b4fe3c92 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A158135: a(n) = 144*n^2 - 2*n.
; 142,572,1290,2296,3590,5172,7042,9200,11646,14380,17402,20712,24310,28196,32370,36832,41582,46620,51946,57560,63462,69652,76130,82896,89950,97292,104922,112840,121046,129540,138322,147392,156750,166396,176330,186552,197062,207860,218946,230320,241982,253932,266170,278696,291510,304612... | 579 | Assembly | asm | 64.333333 | 497 | 0.799655 | f7094b721cfaab2fbb1df9384227a621b68ff700 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; Wonderswan test
%include "Wonderswan.inc"
%macro memcopy 4
xor ax,ax
mov es,ax
mov di,%1
mov ax,%2
mov ds,ax
mov si,%3
mov cx,%4
cld
rep movsw
%endmacro
; ================================
section .bss start=0
section .data v... | 2,139 | Assembly | asm | 20.970588 | 58 | 0.475456 | f70956c8df4950b76874686dea08884f96701d45 | akumanatt/DevSound-WS | [
"MIT"
] | 3 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x13c93, %r11
nop
nop
nop
nop
xor $22734, %r15
mov $0x6162636465666768, %r14
movq %r14, %xmm6
and $0xffffffffffffffc0, %r11
vmovntdq %ymm6, (%r11)
add $1480,... | 6,487 | Assembly | asm | 30.890476 | 2,057 | 0.661323 | f70962f111afbf76d2159bbfe91f9819d37dec61 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; Original address was $BB77
; Unused "Dark" hammer bro fight area
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_IN... | 410 | Assembly | asm | 34.166667 | 60 | 0.797561 | f7098657276faf9fba770c7ed47681003ca7c55e | narfman0/smb3_pp1 | [
"Unlicense"
] | null |
;name: nibblebcd2ascii.asm
;
;description: Convert a bcd nibble in lower 4 bits of rdi to ascii in rax.
; This routine is very trivial and exists only to complete the set of
; conversion routines. (byte, word, dword, qword, dqword.
; When using this routine it's better to copy/paste ... | 612 | Assembly | asm | 27.818182 | 82 | 0.658497 | f7099faf0380f12793474442378e5219da85f8b4 | agguro/linux-nasm | [
"Unlicense"
] | 6 |
; char *ultoa(unsigned long num, char *buf, int radix)
SECTION code_stdlib
PUBLIC _ultoa
EXTERN asm_ultoa
_ultoa:
pop af
pop hl
pop de
pop ix
pop bc
push bc
push hl
push de
push hl
push af
jp asm_ultoa
| 249 | Assembly | asm | 9.96 | 54 | 0.626506 | f709ec377d17a2b48d0e1f9014a21ee6c564625d | meesokim/z88dk | [
"ClArtistic"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x195b0, %rsi
lea addresses_UC_ht+0x1d16c, %rdi
nop
nop
nop
nop
nop
xor $23214, %rbp
mov $79, %rcx
rep movsl
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_WT_ht+0x192b0, %r... | 6,868 | Assembly | asm | 34.169154 | 2,999 | 0.658561 | f70a088c3139fc6f35038068261f1e0246aca339 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x39f5, %rax
nop
nop
nop
nop
dec %rdx
mov $0x6162636465666768, %r14
movq %r14, %xmm5
vmovups %ymm5, (%rax)
and $15910, %rdx
lea addresses_D_ht+0x125f5, %r11
nop
nop
in... | 7,341 | Assembly | asm | 33.520548 | 2,999 | 0.646915 | f70a1e130b0c9ea9ebd2f5d71ca0fef5e7c73eba | ljhsiun2/medusa | [
"MIT"
] | 9 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x6342, %r11
sub %rcx, %rcx
mov (%r11), %r8
nop
nop
nop
nop
dec %r14
lea addresses_WT_ht+0x1d39a, %r9
nop
nop
nop
nop
and $1937, %rax
mov (%r9), %cx
nop
nop
nop
inc %r... | 7,412 | Assembly | asm | 33.844749 | 2,999 | 0.652186 | f70a29bab2a03738606ed4ccf586f1a09b988d15 | ljhsiun2/medusa | [
"MIT"
] | 9 |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; TEST16ri
mov bx, 0x7
;TEST_BEGIN_RECORDING
test bx, 0x444
;TEST_END_RECORDING
| 195 | Assembly | asm | 16.25 | 25 | 0.753846 | f70a60440e3b067034a523505747689464d91239 | randolphwong/mcsema | [
"BSD-3-Clause"
] | 2 |
;Array reverser
;Author: Frederico Moeller
;Created: 25.02.2021 (in x86 Assembly Programming Language From Ground Up course, Udemy)
.386
.model flat,c
.code
Reverser PROC
push ebp
mov ebp,esp
push esi
push edi
xor eax,eax
mov edi,[ebp+8]
mov esi,[ebp+12]
mov ecx,[ebp+16]
test ecx,ecx
... | 514 | Assembly | asm | 11.681818 | 88 | 0.616732 | f70a65f43f0bb68f3deb1bd1d68bed484d5d7936 | FMoller/coding-auxiliary-tools | [
"MIT"
] | null |
; A054893: Floor[n/4] + floor[n/16] + floor[n/64] + floor[n/256] + ....
; 0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,26,26,26,26,27,27,27,27,28,28,28,28,29... | 836 | Assembly | asm | 92.888889 | 719 | 0.632775 | f70a6c9b3ce5a78b309b9c222d91f6bf22f0469e | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A001855: Sorting numbers: maximal number of comparisons for sorting n elements by binary insertion.
; 0,1,3,5,8,11,14,17,21,25,29,33,37,41,45,49,54,59,64,69,74,79,84,89,94,99,104,109,114,119,124,129,135,141,147,153,159,165,171,177,183,189,195,201,207,213,219,225,231,237,243,249,255,261,267,273,279,285,291,297,303,309... | 1,223 | Assembly | asm | 122.3 | 1,064 | 0.754702 | f70a6e41112ae83a9cd4194511defbe5793d7460 | jmorken/loda | [
"Apache-2.0"
] | 1 |
VermilionPokecenterScript:
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
VermilionPokecenterTextPointers:
dw VermilionHealNurseText
dw VermilionPokecenterText2
dw VermilionPokecenterText3
dw VermilionTradeNurseText
VermilionHealNurseText:
TX_POKECENTER_NURSE
VermilionPokec... | 497 | Assembly | asm | 20.708333 | 55 | 0.885312 | f70aed316e3ada8519bfbaa3aac4461789340be9 | etdv-thevoid/pokemon-rgb-enhanced | [
"MIT"
] | 1 |
[BITS 64]
GLOBAL cpuid_result
GLOBAL cpuid_command
cpuid_result:
resb 8
cpuid_command:
mov rax, rdi
cpuid
mov [cpuid_result], rbx
mov [cpuid_result + 4], rdx
mov [cpuid_result + 8], rcx
mov rax, cpuid_result
ret | 245 | Assembly | asm | 16.333333 | 31 | 0.669388 | f70b42453e8465190e6e0d25339882fedc0bf1c3 | AlexandreArduino/mykernel | [
"BSD-3-Clause"
] | 9 |
.globl main
main: # sum of the integers from 1 to 100
.text
add $t0, $zero, $zero # I is zero
add $s0, $zero, $zero # sum is zero
addi $t1, $zero, 100 # set the limit value (100)
loop:
addi $t0, $t0, 1 # I = I + 1
mult $t0 $t0
mflo $t3
add $s0, $s0, $t3 # sum = sum + I^2
blt $t0, $t1, loop # I < 10... | 665 | Assembly | asm | 23.75 | 50 | 0.598496 | f70b47c62e991c642fa64f1e606eefb3bd731ca6 | justincely/classwork | [
"BSD-3-Clause"
] | 1 |
; A040343: Continued fraction for sqrt(363).
; 19,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38
pow $1,$0
sub $1,2
gcd $1,$0
mul $1,19
| 276 | Assembly | asm | 34.5 | 190 | 0.655797 | f70b52f47386a65ee2727cf64d3b67599e697d5e | karttu/loda | [
"Apache-2.0"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd35d, %rdi
mfence
movw $0x6162, (%rdi)
nop
nop
nop
sub %rcx, %rcx
lea addresses_WC_ht+0x1d2fd, %r11
nop
xor %rbp, %rbp
vmovups (%r11), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpex... | 7,227 | Assembly | asm | 34.578947 | 2,999 | 0.657673 | f70b8e948e69a41f1f9bd6d7612a5579e665d37c | ljhsiun2/medusa | [
"MIT"
] | 9 |
SECTION code_clib
PUBLIC bit_open_di
PUBLIC _bit_open_di
EXTERN bit_open
EXTERN __snd_tick
EXTERN __bit_irqstatus
INCLUDE "games/games.inc"
.bit_open_di
._bit_open_di
ld a,($403B)
ld (__bit_irqstatus),a
and @01111111 ;Disable NMI (i.e. how interrupt... | 439 | Assembly | asm | 21.95 | 73 | 0.617312 | f70ba1f51f284d96500bb4e176770a9eb3876335 | jorgegv/z88dk | [
"ClArtistic"
] | null |
;;
;; Copyright (c) 2020-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... | 1,711 | Assembly | asm | 53.46875 | 81 | 0.75979 | f70bc5abb3ffbbb417e46a00516433c3138a9099 | dongbinghua/intel-ipsec-mb | [
"BSD-3-Clause"
] | null |
; this comes right after the boot sector, and just calls the kernel
bits 32
extern kmain
call kmain
jmp $
; some initialization required by the kernel
; such as interrupt handlers, etc.
%include "kernel/isr.asm"
%include "kernel/irq.asm"
| 242 | Assembly | asm | 17.285714 | 67 | 0.756198 | f70bcbd264e1c1877b4425c50362d7c93edc3e3e | yds12/newcOS | [
"MIT"
] | null |
.386
.model flat,c
.data
intArray DWORD 1h, 2h, 3h, 4h
.code
arraySum proc
mov edi, OFFSET intArray ; sets the destenation array pointer
mov ecx, LengthOF intArray ;initilize the loop counter C = Counter
mov eax, 0 ; sets the accumeltaiver initilize for zerp
LP:
add eax, [edi]
add edi, TYPE intArray
... | 407 | Assembly | asm | 19.380952 | 69 | 0.707617 | f70bea617865dffb5988d52541ed628416b8f25c | ChenPeleg/AsmCourse | [
"Apache-2.0"
] | 1 |
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE
org 1000h
CODE ENDS
END | 87 | Assembly | asm | 6.692308 | 40 | 0.689655 | f70c08f0c9949460f5ad88631a8fcaf85a6b544a | mbadry1/FCIFayoum-Computer-architecture-2018 | [
"Unlicense"
] | 9 |
;*****************************************************************************
;* x86-optimized functions for interlace filter
;*
;* Copyright (C) 2014 Kieran Kunhya <kierank@obe.tv>
;* Copyright (c) 2014 Michael Niedermayer <michaelni@gmx.at>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can re... | 1,694 | Assembly | asm | 25.666667 | 79 | 0.622786 | f70c700965c476f7d58e6d29554bfd1faae8ccec | huyu0415/FFmpeg | [
"Apache-2.0"
] | 3,645 |
;;
;; Copyright (c) 2018-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... | 1,709 | Assembly | asm | 55.129032 | 81 | 0.76536 | f70c9e8522e2639319b22a448730a075d0088f6a | edtubbs/intel-ipsec-mb | [
"BSD-3-Clause"
] | 174 |
;
; Fast CLS for the Robotron KC85/2..5
; Stefano - Sept 2016
;
;
; $Id: clg.asm,v 1.2 2017-01-02 22:57:58 aralbrec Exp $
;
SECTION code_clib
PUBLIC clg
PUBLIC _clg
INCLUDE "caos.def"
.clg
._clg
; ld a,7 ; Fore color
; ld (FARB),a
ld a,7
ld ... | 458 | Assembly | asm | 14.3125 | 55 | 0.491266 | f70caa7f1a5dfd127ee45c327c2201bf60049e2c | RC2014Z80/z88dk | [
"ClArtistic"
] | 8 |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>epoll_ctl_old(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall epoll_ctl_old.
See 'man 2 epoll_ctl_old' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%doc... | 3,552 | Assembly | asm | 36.244898 | 89 | 0.647804 | f70cd23c98f5a1dc6b04a47f72b20c13ba03ac9f | mtdcr/pwntools | [
"MIT"
] | 7 |
; void tshr_cls(uchar ink)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_cls_fastcall
EXTERN asm_tshr_cls
defc _tshr_cls_fastcall = asm_tshr_cls
| 152 | Assembly | asm | 13.818182 | 38 | 0.842105 | f70d78e5d8f244adecdfdb2e6a6eee50fb68487e | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
song050restored_pri equ 0
song050restored_rev equ 0
song050restored_mvl equ 127
song050restored_key equ 0
song050restored_tbs equ 1
song050restored_exg equ 0
song050restored_cmp equ 1
.align 4
;**************** Track 1 (Midi-Chn.1) ****************;
@song050restored_1:
.byte TEMPO , 60
.byte KEYSH , song... | 16,386 | Assembly | asm | 24.52994 | 56 | 0.529476 | f70d9e3ee2dc41c581506b839d869b6ee4de3342 | MusicTheorist/Mother2GbaTranslation | [
"MIT"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x16d2a, %rsi
lea addresses_UC_ht+0xbe2a, %rdi
nop
nop
cmp %r8, %r8
mov $62, %rcx
rep movsq
nop
nop
nop
nop
sub %r13, %r13
lea addresses_UC_ht+0xda6a, %rdi
sub %rax, %rax
mov (... | 6,850 | Assembly | asm | 33.414634 | 2,999 | 0.657518 | f70da5f8db7f7817fd07184b5ea91d76a43de17f | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A090239: a(n) = A053838(n) + 2 modulo 3.
; 2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,2
mov $3,2
lpb $0,14
mod $3,3
add $3,$0
div $0,3
lpe
mov $0,$3
| 313 | Assembly | asm | 28.454545 | 201 | 0.507987 | f70dac6051f93382a6dcd5d3009092be1f3ffbaa | neoneye/loda | [
"Apache-2.0"
] | 22 |
;
; Small C z88 File functions
; Written by Dominic Morris <djm@jb.man.ac.uk>
;
; 11/3/99 djm ***UNTESTED***
;
; *** THIS IS A Z88 SPECIFIC ROUTINE!!! ***
;
;
; $Id: fdtell.asm,v 1.5 2015/01/19 01:32:44 pauloscustodio Exp $
;
INCLUDE "fileio.def"
PUBLIC fdtell
;long fdtell(int fd)
... | 628 | Assembly | asm | 18.470588 | 68 | 0.511146 | f70de2ee67a97364c3d8fc660e86cbfcc133407f | meesokim/z88dk | [
"ClArtistic"
] | null |
; void dzx7_agile_rcs_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC _dzx7_agile_rcs_back
EXTERN asm_dzx7_agile_rcs_back
_dzx7_agile_rcs_back:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_dzx7_agile_rcs_back
| 275 | Assembly | asm | 12.5 | 48 | 0.763636 | f70e888dd1fbbe85334bbae2447db7369f143dff | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A138443: a(n) = ((n-th prime)^6-(n-th prime^2))/4.
; 15,180,3900,29400,442860,1206660,6034320,11761380,37008840,148705620,221875680,641431260,1187525640,1580340300,2694803280,5541089580,10545132540,12880092660,22614594420,32025069720,37833555240
seq $0,40 ; The prime numbers.
mov $2,$0
pow $2,5
sub $2,$0
mul $0,$2
d... | 328 | Assembly | asm | 32.8 | 194 | 0.75 | f70e9c6489234f525d4d990092f1edad2b9d76a4 | neoneye/loda | [
"Apache-2.0"
] | 22 |
DEVICE ZXSPECTRUM48
SLOT 0
PAGE 0 : ORG 0x0000 : DB "00"
PAGE 1 : ORG 0x0000 : DB "11"
PAGE 2 : ORG 0x0000 : DB "22"
PAGE 3 : ORG 0x0000 : DB "33"
PAGE 4 ; error - non-existing page (page 3 should be still visible in slot 0)
ASSERT {0} == "33"
SLOT 1 : PAGE 0 : ASSERT {0x4000... | 2,198 | Assembly | asm | 33.30303 | 86 | 0.545496 | f70ed8fba36b6a540e3f5fe91c207bfd71a266c9 | fengjixuchui/sjasmplus | [
"BSD-3-Clause"
] | 220 |
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 14/09/2006
; Improved by Antonio Schifano, Dec 2008
;
; int zx_break();
;
; Check if the CAPS-SPACE (BREAK) key is being pressed
; ( 1 = pressed; 0 = not pressed )
;
; Caps-shift + space version A.Schifano 29/12/2008
;
; $Id: zx_break.asm,v 1.2 2008/12/31 13... | 541 | Assembly | asm | 18.033333 | 59 | 0.658041 | f70ed9a190635a5f22931bd1a92b3ec67a4c242f | andydansby/z88dk-mk2 | [
"ClArtistic"
] | 1 |
; A213655: Number of dominating subsets of the theta-graph TH(2,2,n) (n>=1). A tribonacci sequence with initial values 13, 23, and 41.
; Submitted by Jamie Morken(s4)
; 13,23,41,77,141,259,477,877,1613,2967,5457,10037,18461,33955,62453,114869,211277,388599,714745,1314621,2417965,4447331,8179917,15045213,27672461,508975... | 487 | Assembly | asm | 28.647059 | 194 | 0.706366 | f70f0b9ca68be94431fd1e9389a712f3674a1a60 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_settos
SECTION code_clib
PUBLIC sock_settos
PUBLIC _sock_settos
EXTERN no_zsock
INCLUDE "packages.def"
INCLUDE "zsock.def"
.sock_settos
._sock_settos
ld a,r_sock_settos
call_pkg(tcp_all)
ret nc... | 458 | Assembly | asm | 14.774194 | 38 | 0.735808 | f70f0f43bc3b2e39babb6d22994d1ba27400bc90 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
SFX_Pound_Ch1:
unknownnoise0x20 2, 161, 34
endchannel
| 56 | Assembly | asm | 14 | 28 | 0.803571 | f70f6725ee6b85fe06859f41413cd64722f9f83c | adhi-thirumala/EvoYellow | [
"Unlicense"
] | 16 |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; AND32i32
mov eax, 0x7
;TEST_BEGIN_RECORDING
and eax, 0x6fffffff
;TEST_END_RECORDING
| 201 | Assembly | asm | 16.75 | 25 | 0.761194 | f70f67e4bccb952eba2f4d9488c14657c828889c | randolphwong/mcsema | [
"BSD-3-Clause"
] | 2 |
mov ebp, 0x400
mov esp, ebp
mov esi, 0x0f0b0f0b
mov edi, 0x0f0b0f0b
mov ecx, 0x0f0b0f0b
mov edx, 0x0f0b0f0b
mov ebx, 0x0f0b0f0b
mov eax, 0x0f0b0f0b
start:
pushad
sub esp, 0x20
and esp, 0x3ff
jmp start | 216 | Assembly | asm | 16.615385 | 19 | 0.722222 | f70f7212a403af06572f25943dd21a5f1d92351c | brightprogrammer/r2wars-bots | [
"CC0-1.0"
] | null |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Hierarchy
FILE: graphicBodyObjArray.asm
AUTHOR: Steve Scholl, Nov 15, 1991
ROUTINES:
Name Description
---- -----------
ObjArrayProcessChil... | 18,432 | Assembly | asm | 26.444763 | 80 | 0.653266 | f70f75189b26e6c8097c8a84663f316a63985636 | steakknife/pcgeos | [
"Apache-2.0"
] | 504 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x16fbc, %rsi
lea addresses_UC_ht+0x12e5c, %rdi
add %r11, %r11
mov $98, %rcx
rep movsb
nop
nop
nop
nop
sub $23544, %rsi
lea addresses_A_ht+0xf5c, %rsi
lea addresses_WC_ht+0xc75c, %r... | 5,893 | Assembly | asm | 41.794326 | 2,999 | 0.658748 | f70fa46ddf695d86f8119ab134fe6b0675d1b8b9 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.386
.model flat
.code
ShowSquare = 0
ShowMultiply = 1
ShowDivide = 2
ShowRemainder = 3
ShowDivideFailure = 4
Failure = 0
Success = 1
public _Divide
public _Multiply
public _Square
extrn _PrintResult: proc
_Square proc
mov ebx, [esp + 4]
imul ebx, ebx
push ebx
push ShowMultiply... | 1,103 | Assembly | asm | 11.98913 | 25 | 0.6165 | f70ff055e31924f8b0d587b8872df8ec0c2f1d4e | CZhang1997/x86-Assembly | [
"MIT"
] | null |
; float trunc(float x)
SECTION code_fp_math48
PUBLIC cm48_sdccix_trunc
EXTERN cm48_sdccix_trunc_fastcall
cm48_sdccix_trunc:
pop af
pop hl
pop de
push de
push hl
push af
jp cm48_sdccix_trunc_fastcall
| 234 | Assembly | asm | 11.142857 | 33 | 0.726496 | f710c00bba4dd6e99a166ac1a09e1cee1d589801 | meesokim/z88dk | [
"ClArtistic"
] | null |
start:
ldi r1, 8192
add r0, r1, 0
syscall SetGlobalMemory
cmp r0, r1
jeq success
ret
success:
xor r0, r0, r0
add r2, r2, 1
cycle:
add r4, r2, r3
store r4, r0
add r0, r0, 4
add r2, r4, 0
add r4, r2, r3
store r4, r0
add r0, r0, 4
add r3, r4, 0
cmp r0, r1
jls cycle
ret
| 308 | Assembly | asm | 13.391304 | 25 | 0.581169 | f710dd08dbc923071ec513c75c05053df9826e9b | Rus08/mandarin-vm | [
"MIT"
] | null |
; A010688: Period 2: repeat (1,7).
; Submitted by Christian Krause
; 1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1
mod $0,2
mul $0,6
add $0,1
| 259 | Assembly | asm | 32.375 | 163 | 0.555985 | f710e240c3ecea8011a4818701ea486cf4b8a86c | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Module Name:
;
; systable.asm
;
; Abstract:
;
; ... | 14,537 | Assembly | asm | 33.418391 | 134 | 0.771617 | f71105aae325db36f1f7d8deda35671f18435bcd | yang235/wrk-v1.2 | [
"Intel"
] | 209 |
!:
lda {c2},y
sta {c1},y
iny
dex
bne !- | 39 | Assembly | asm | 6.5 | 10 | 0.538462 | f7115574fb6612d4c468b1cdfa3397efcbdb20f7 | jbrandwood/kickc | [
"MIT"
] | 2 |
;
; Copyright (c) 2014 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | 2,075 | Assembly | asm | 29.225352 | 70 | 0.456386 | f71181c5e91ae26385d4775980fdc6982f0a9db7 | ittiamvpx/libvpx | [
"BSD-3-Clause"
] | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.