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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="rgid, egid, sgid"/>
<%docstring>
Invokes the syscall setresgid. See 'man 2 setresgid' for more information.
Arguments:
rgid(gid_t): rgid
egid(gid_t): egid
sgid(gid_t): sgid
</%docstring>
${syscall('SYS_setresgid', rgid, egid, sgi... | 324 | Assembly | asm | 21.6 | 75 | 0.679012 | f725079f93bfcba4415a829ccd102c30197929b3 | IMULMUL/python3-pwntools | [
"MIT"
] | 325 |
###############################################################################
# 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... | 5,650 | Assembly | asm | 34.876543 | 80 | 0.524071 | f72519ea84ed35e2d5a672124f751f2f094936f3 | idesai/ipp-crypto | [
"Apache-2.0"
] | 1 |
; A019443: Expansion of 1/((1-4x)(1-6x)(1-9x)).
; Submitted by Jamie Morken(s2)
; 1,19,247,2743,28063,273847,2596399,24174631,222479455,2032023895,18467516431,167287650439,1512085646527,13647818683063,123064923768943,1108992721390567,9989389232302879,89955248709321751,809901780814947535,7290943556798745415,656294582874... | 670 | Assembly | asm | 41.875 | 482 | 0.834328 | f725790a10e97f3f474958c7050c387964ff362a | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rbp
push %rsi
lea addresses_WT_ht+0x6cb9, %rbp
add %r11, %r11
vmovups (%rbp), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r10
nop
nop
nop
inc %r12
lea addresses_WC_ht+0x2069, %rsi
clflush (%rsi)
nop
nop
nop
nop
add %r1... | 5,152 | Assembly | asm | 44.413793 | 2,999 | 0.65722 | f7259cab432c13a3e3a00e8247dfa6f42edf1ec2 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A022975: a(n) = 19 - n.
; 19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63... | 1,182 | Assembly | asm | 147.75 | 1,093 | 0.564298 | f72621f69c2c591d0d9e6b3972dcb541534c497a | karttu/loda | [
"Apache-2.0"
] | 1 |
; A232985: The Gauss factorial n_11!.
; 1,1,2,6,24,120,720,5040,40320,362880,3628800,3628800,43545600,566092800,7925299200,118879488000,1902071808000,32335220736000,582033973248000,11058645491712000
mov $1,$0
fac $1
mov $2,11
gcd $2,$1
div $1,$2
| 247 | Assembly | asm | 27.444444 | 160 | 0.777328 | f7264c71399219990f8a941cea11fdd676b02d2e | karttu/loda | [
"Apache-2.0"
] | null |
; A102094: a(n) = (2*n-1)*(2*n+1)^2.
; 9,75,245,567,1089,1859,2925,4335,6137,8379,11109,14375,18225,22707,27869,33759,40425,47915,56277,65559,75809,87075,99405,112847,127449,143259,160325,178695,198417,219539,242109,266175,291785,318987,347829,378359,410625,444675,480557,518319,558009,599675,643365,689127,737009,787059... | 836 | Assembly | asm | 64.307692 | 712 | 0.803828 | f7269c688ccc254f1a521230b5130ddf0863db2f | neoneye/loda | [
"Apache-2.0"
] | 22 |
;;
;; Copyright (c) 2012-2022, 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... | 12,277 | Assembly | asm | 24.902637 | 81 | 0.668567 | f726ea7529b8baa39e1226abc44cd59682136961 | jkivilin/intel-ipsec-mb | [
"BSD-3-Clause"
] | 1 |
; A189374: Expansion of 1/((1-x)^5*(x^2+x+1)^3).
; 1,2,3,7,11,15,25,35,45,65,85,105,140,175,210,266,322,378,462,546,630,750,870,990,1155,1320,1485,1705,1925,2145,2431,2717,3003,3367,3731,4095,4550,5005,5460,6020,6580,7140,7820
mov $2,$0
add $2,1
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
div $0,3
add $0,3... | 348 | Assembly | asm | 21.75 | 177 | 0.623563 | f72755c5d9945b68933797de35a9a52ba70c7c88 | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A099551: Odd part of n modulo 10. Final digit of A000265(n).
; 1,1,3,1,5,3,7,1,9,5,1,3,3,7,5,1,7,9,9,5,1,1,3,3,5,3,7,7,9,5,1,1,3,7,5,9,7,9,9,5,1,1,3,1,5,3,7,3,9,5,1,3,3,7,5,7,7,9,9,5,1,1,3,1,5,3,7,7,9,5,1,9,3,7,5,9,7,9,9,5,1,1,3,1,5,3,7,1,9,5,1,3,3,7,5,3,7,9,9,5,1,1,3,3,5,3,7,7,9,5,1,7,3,7,5,9,7,9,9,5,1,1,3,1,5,3,7,1... | 641 | Assembly | asm | 53.416667 | 501 | 0.521061 | f7276a4ada3f90619b40a55f2f0ecf3e61fef841 | karttu/loda | [
"Apache-2.0"
] | null |
CPU 386
BITS 32
segment .text use32
%include "rtl.inc"
%include "console.inc"
%include "ui.inc"
extern GetLastError
import GetLastError kernel32.dll
run:
..start:
push ebp
mov ebp, esp
call InitRTL
call InitUI
; BOOL WINAPI WriteConsoleA( HANDLE hConsoleOutput,
; const VOI... | 1,220 | Assembly | asm | 16.712329 | 57 | 0.645082 | f7276ee11614dc530843c30b08ceb0fd82a6e73a | orlandol/origow32 | [
"MIT"
] | 1 |
; void __CALLEE__ sp1_MoveSprAbs_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot)
; 04.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
; *** PLEASE HELP ME I'VE BEEN MADE UGLY BY BUGFIXES
PUBLIC sp1_MoveSprAbs_callee
PUBLIC ASMDISP_SP1_MOVESPRABS_... | 5,306 | Assembly | asm | 25.757282 | 140 | 0.574444 | f7277fe71936b083e14d9c9ec67786ffebf2562b | jpoikela/z88dk | [
"ClArtistic"
] | 38 |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12bd7, %rbp
xor $50192, %r15
movups (%rbp), %xmm6
vpextrq $0, %xmm6, %r8
add $47381, %rax
lea addresses_WT_ht+0xcd36, %rsi
lea addresses_UC_ht+0x2e57, %rdi
nop
sub $45954, %rb... | 7,210 | Assembly | asm | 36.598985 | 2,999 | 0.657698 | f728a83de303ebc0836dc19f80c9f31f1d1aa427 | ljhsiun2/medusa | [
"MIT"
] | 9 |
-- HUMAN RESOURCE MACHINE PROGRAM --
INBOX
COPYTO 0
INBOX
COPYTO 1
SUB 0
JUMPN a
COPYFROM 1
JUMP b
a:
COPYFROM 0
b:
OUTBOX
INBOX
COPYTO 0
INBOX
COPYTO 1
SUB 0
JUMPN c
COPYFROM 1
JUMP d
c:
COPYFROM 0
d:
OUTBO... | 495 | Assembly | asm | 11.785714 | 36 | 0.480808 | f728f81bbe38e344c20e5d27cf19654a01cd0017 | jsejcksn/human-resource-machine-solutions | [
"MIT"
] | null |
; A093360: a(n) = prime(n)^(n-1).
; 1,3,25,343,14641,371293,24137569,893871739,78310985281,14507145975869,819628286980801,177917621779460413,22563490300366186081,1718264124282290785243,256666986187667409334369,73137151889028619724488157,21559177407076402401757871041,2241853325254885342546716970621,740195513856780056217... | 444 | Assembly | asm | 63.428571 | 335 | 0.855856 | f729112e220b271303b1586d8dfd2b49a1346c7a | neoneye/loda | [
"Apache-2.0"
] | 22 |
preset_hundo_bombs_ceres_elevator:
dw #$0000
dl $7E078B : db $02 : dw $0000 ; Elevator Index
dl $7E078D : db $02 : dw $AB58 ; DDB
dl $7E078F : db $02 : dw $0000 ; DoorOut Index
dl $7E079B : db $02 : dw $DF45 ; MDB
dl $7E079F : db $02 : dw $0006 ; Region
dl $7E07C3 : db $02 : dw $E22... | 170,653 | Assembly | asm | 47.85558 | 112 | 0.602152 | f729176987d5e9eaa2bcdea151c1d9410e394b2e | tewtal/sm_practice_hack | [
"Unlicense"
] | 15 |
.386p
.387
include cntrl.dat
assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT
_TEXT segment para use32 public 'CODE'
include cntrl.equ
ini_ctl proc near
mov eax,16
mov ebx,offset FLAT:pnmac894
mov ecx,offset FLAT:zlff
call near ptr inicst
mov ebp,dword ptr [zllsystem]
mov dword ptr [1... | 31,303 | Assembly | asm | 19.887548 | 56 | 0.704821 | f72948be93c0771f1e8e89302aa81caef40c6b13 | c-jullien/lelisp | [
"BSD-2-Clause"
] | 13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2022 Intel Corporation
;
; SPDX-License-Identifier: MIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; returns modified node_ptr
; uint32_t proc_heap(uint64_t *heap, uint32_t heap_size);
%include "reg... | 1,948 | Assembly | asm | 17.709091 | 72 | 0.644764 | f7294914b901cd3a22b56c2104d7df28d50b51b5 | intel/qpl | [
"MIT"
] | 11 |
; A048875: Generalized Pellian with second term of 6.
; 1,6,25,106,449,1902,8057,34130,144577,612438,2594329,10989754,46553345,197203134,835365881,3538666658,14990032513,63498796710,268985219353,1139439674122,4826743915841,20446415337486,86612405265785,366896036400626,1554196550868289,6583682239873782
mov $1,1
mov $3,... | 429 | Assembly | asm | 26.8125 | 248 | 0.748252 | f72992d6d6b951ea6d4ddba8e83d3e73316a938e | karttu/loda | [
"Apache-2.0"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1b286, %r11
xor %rdi, %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm0
vmovups %ymm0, (%r11)
nop
and %rcx, %rcx
lea addresses_WT_ht+0xdf44, %r10
nop
dec %rcx
mov (%r10), ... | 6,638 | Assembly | asm | 36.076087 | 2,999 | 0.655017 | f729aecffe6e2336367947344d72f494f55d0cda | ljhsiun2/medusa | [
"MIT"
] | 9 |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... | 1,094 | Assembly | nasm | 28.051282 | 84 | 0.516453 | f729b3af0f71e3cf8e3eeb74d16daca2dd60f61a | sscargal/ipmctl | [
"BSD-3-Clause"
] | 151 |
0x0000 (0x000000) 0x1800-0x602E f:00014 d: 0 | A = 24622 (0x602E)
0x0002 (0x000004) 0x291A- f:00024 d: 282 | OR[282] = A
0x0003 (0x000006) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0004 (0x000008) 0x291B- f:00024 d: 283 | OR[283] = A
... | 39,120 | Assembly | asm | 79.836735 | 79 | 0.467536 | f72a624d372829ba2e5b8de1074acfcf44cb3087 | jrrk2/cray-sim | [
"BSL-1.0"
] | 49 |
; Create a loop that inputs lowercase letters. Convert
; each character to uppercase and display it. Halt
; when Ctrl-Break is pressed. (Hint: run this in the
; debugger.)
.model small
.stack 100h
.data
string db "Enter lowercase letters: $"
.code
main proc
mov ax,@data ; init data segment
mov d... | 1,412 | Assembly | asm | 24.344828 | 54 | 0.546742 | f72a8e486526151cf5783a4bdcf5d5866b702aee | Dumebi35/DumebiCSC102 | [
"MIT"
] | null |
// Pointer to pointer to procedure - using typedef
// Commodore 64 PRG executable file
.file [name="procedure-declare-9.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment B... | 650 | Assembly | asm | 22.413793 | 80 | 0.646154 | f72abd266f76652ee0033d73845a0d127f891990 | jbrandwood/kickc | [
"MIT"
] | 2 |
// Tests if writing to $21ff using HDMA glitches sprites.
//
// You may need to reset your console a few times for the glitch to appear.
//
// Copyright (c) 2021, Marcus Rowe <undisbeliever@gmail.com>.
// Distributed under The MIT License: https://opensource.org/licenses/MIT
define ROM_NAME = "HDMA 21ff GLITCH TEST"
... | 941 | Assembly | asm | 16.224138 | 80 | 0.604676 | f72ad27dfb2f5a6266e48ce2643669f866296933 | undisbeliever/snes-test-roms | [
"MIT"
] | 7 |
; int ba_stack_empty(ba_stack_t *s)
SECTION code_clib
SECTION code_adt_ba_stack
PUBLIC _ba_stack_empty
EXTERN _b_array_empty
defc _ba_stack_empty = _b_array_empty
| 168 | Assembly | asm | 14 | 37 | 0.845238 | f72af06a9f9012ee9d4ba9a5b1edd4817c6e8414 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
###############################################################################
# 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... | 218,535 | Assembly | asm | 28.27468 | 80 | 0.350704 | f72b0cb6265c5f5b4765cb9794b5d926be0515b6 | idesai/ipp-crypto | [
"Apache-2.0"
] | 1 |
SECTION code_clib
PUBLIC im1_install_isr
PUBLIC _im1_install_isr
EXTERN im1_vectors
EXTERN CLIB_IM1_VECTOR_COUNT
EXTERN asm_interrupt_add_handler
im1_install_isr:
_im1_install_isr:
pop bc
pop de
push de
push bc
ld hl, im1_vectors
ld b, CLIB_IM1_VECTOR_COUNT
call asm_interrupt_add_handler
l... | 338 | Assembly | asm | 15.363636 | 35 | 0.786982 | f72b14140607a9bf151026e94d5b22c96a5d25f7 | jpoikela/z88dk | [
"ClArtistic"
] | 38 |
; Date : 27-1-1989
; Ver : 1.04
; Program : Kill the Brain Virus
Cseg Segment Para Public 'MyCode'
Assume cs:Cseg,ds:Cseg
Org 100h
Start: Mov dx,offset CRight ;print copyright notice
Call DispStr
Mov ah,19h ;get current drive
Int 21h
Mov Drive,al ;save it
Call GetDrive ;Get drive if possible
Jc ... | 6,746 | Assembly | asm | 20.380665 | 65 | 0.669286 | f72b2eb5dd130bc03f4806eb699a0408de5c39ae | fengjixuchui/Family | [
"MIT"
] | 3 |
;;; 程序加载器
;;; 1、编译 azprasm loader.asm -o loader.bin --coe loader.coe
;;; 2、手工将Xilinx FPGA的coe文件转换为Altera FPGA的mif格式作为ROM初始化数据文件 loader16.mif
;;; 3、开发板综合时,将loader16.mif作为ROM的初始化数据文件
;;; 符号定义
UART_BASE_ADDR_H EQU 0x6000 ;UART Base Address High
UART_STATUS_OFFSET EQU 0x0 ;UART Status Register Offset
UART_DATA_OFFSE... | 5,874 | Assembly | asm | 22.592308 | 71 | 0.707695 | f72b3c24e53aadc48dd7e8a6aa807a736039bee8 | zhangly/azpr_cpu | [
"MIT"
] | 26 |
; Top-hole Golf
; Copyright 2020-2021 Matthew Clarke
caddie_c_BEGIN = *
; *****************
; *** CONSTANTS ***
; *****************
; *****************
; *** VARIABLES ***
; *****************
; *******************
; ****** MACROS *****
; *******************
; *******************
; *** SUBROUTINES ***
; ******... | 1,431 | Assembly | asm | 28.62 | 52 | 0.081761 | f72b583906768c922e2a78c6012db41e84a2cfef | 1888games/golf | [
"BSD-2-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,948 | Assembly | asm | 27.43662 | 79 | 0.699179 | f72b98c7934b0ac581f99350efe9af5717ca0403 | JamesType/optimization-manual | [
"0BSD"
] | 374 |
;==================================================================================================
; Settings and tables which the front-end may write
;==================================================================================================
; This is used to determine if and how the cosmetics can be patched... | 3,899 | Assembly | asm | 21.306011 | 116 | 0.770454 | f72bb12df422c8babc2d5f61a51a2038752c9ac2 | alienated11/OoT-Randomizer | [
"MIT"
] | null |
;RaTol Symbolinen konekieli: Harjoitus 2, tehtävä 2
;Tero Kukka IY96A
;Tiedosto: teht22.asm
;Luotu 19.2.1998
;Ohjelma kutsuu aliohjelmia _ali1 ja _ali2. Aliohjelma _ali1
;palauttaa arvon 1 ja _ali2 arvon 2 ax-rekisterissä. Ohjelma
;laskee palautusarvojen summan.... | 1,143 | Assembly | asm | 23.326531 | 68 | 0.533683 | f72c5c418062c0d1c4b009270dff85ee7e752d55 | tkukka/VariousContent | [
"MIT"
] | null |
CGASpade8 label byte
word C_BLACK
Bitmap <67,41,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0x08, 0x0f, 0xe0, 0x02, 0x00, 0x00, 0x08, 0x00,
0x10, 0x00
db 0x08, 0x18, 0x30, 0x0f, 0x80, 0x00, 0x3e, 0x00,
0x7c, 0x00
db 0x08, 0x18, 0x30, 0x3f, 0xe0, 0x00, 0xff, 0x80,
0xfe, 0x00
db 0x08... | 2,364 | Assembly | asm | 34.26087 | 53 | 0.631557 | f72c74a474420617add597ba665e118ad292ea1a | steakknife/pcgeos | [
"Apache-2.0"
] | 504 |
INCLUDE "core.asm"
INCLUDE "stdlib.asm"
LABEL foobar AUTO
$00001000:
; Let's put some values in the general-purpose registers so that we can see something
; in the register dump later.
LD $01 A
LD $02 B
LD $03 C
LD $04 D
LD $05 E
LD $06 G
LD $07 H
LD $08 J
LD $09 K
... | 750 | Assembly | asm | 22.727273 | 97 | 0.632 | f72ced0aeab182cf3b860003cd7401021f74a185 | paulmooreparks/Tortilla | [
"Apache-2.0"
] | 4 |
;
; MSX specific routines
; by Stefano Bodrato, December 2007
;
; int msx_lpt();
;
; Check if the line printer is ready (1=ready, 0 if not)
;
; $Id: msx_lpt.asm,v 1.4 2016-06-16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC msx_lpt
PUBLIC _msx_lpt
EXTERN msxbios
INCLUDE "msxbios.def"
msx_lpt:... | 404 | Assembly | asm | 13.931034 | 56 | 0.663366 | f72cf1277f28da3123870cf5fa0b2fb3c512eca5 | RC2014Z80/z88dk | [
"ClArtistic"
] | 8 |
; A283834: Number of length-n binary vectors beginning with 0, ending with 1, and avoiding 4 consecutive 0's and 4 consecutive 1's.
; 1,0,1,2,4,6,12,22,41,74,137,252,464,852,1568,2884,5305,9756,17945,33006,60708,111658,205372,377738,694769,1277878,2350385,4323032,7951296,14624712,26899040,49475048,90998801,167372888,30... | 1,029 | Assembly | asm | 34.3 | 582 | 0.736638 | f72d0974dbc291c769616ab576c9d53606c3075e | jmorken/loda | [
"Apache-2.0"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x11f26, %rbx
dec %r11
mov $0x6162636465666768, %r14
movq %r14, (%rbx)
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_A_ht+0x19466, %rsi
lea addresses_WT_ht+0x1bd66, %rdi
nop
nop
... | 8,730 | Assembly | asm | 30.207612 | 2,999 | 0.655899 | f72d1e2941cb66795742f00b8d661d133a76f89f | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A284838: Number of edges in the n-Keller graph.
; Submitted by Christian Krause
; 0,40,1088,21888,397312,6883328,116244480,1932230656,31778668544,518791888896,8424565768192,136279337467904,2198302774788096,35386835907641344,568757233463066624,9130929873047519232,146464646890277306368,2347871574175904694272,3761919186... | 841 | Assembly | asm | 25.484848 | 487 | 0.783591 | f72d2c75cd34044d06a3f1f4de55f9e382f5ef4d | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
REPORT: CP MAX_ERR
JR C,REPORTZ
SUB $81
LD (ERR_NR),A
EX DE,HL
REPORTL:LD A,(DE) ; Find end of command line
INC DE
CP $80
JR Z,MESSAGE
CP $0E
JR NZ,REPORTL
INC DE
INC DE
INC DE
INC DE
INC DE
JR REPORTL
STDERR_MSG:
XOR A
PUSH DE
RST $30
DEFW L1601
POP DE
JR MESSAGE
REPORTZ:SUB $1C
LD B,A
INC B
... | 886 | Assembly | asm | 12.478873 | 47 | 0.646727 | f72d442b2ec9f518ac3ed3788211e731a23c7c9f | nagydani/zx-rom-mods | [
"MIT"
] | 15 |
; A055881: a(n) = largest m such that m! divides n.
; 1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2
add $0,1
mov $1,2
lpb $0
dif $0,$1
add $2,1
min $2,1
add ... | 349 | Assembly | asm | 24.928571 | 201 | 0.518625 | f72d6faa04da3ae5bef93446fb744cdad0b524c4 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A013737: a(n) = 5^(3*n + 2).
; 25,3125,390625,48828125,6103515625,762939453125,95367431640625,11920928955078125,1490116119384765625,186264514923095703125,23283064365386962890625,2910383045673370361328125,363797880709171295166015625,45474735088646411895751953125,5684341886080801486968994140625,710542735760100185871124... | 537 | Assembly | asm | 59.666667 | 457 | 0.882682 | f72db9598daa7f08503ab3cee10d1cea24c284a9 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
* Copyright 2021 Harold Grovesteen
*
* MIT License:
*
* 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, merg... | 13,665 | Assembly | asm | 51.958175 | 81 | 0.68723 | f72e800b2c700b1ab59b99e9bf7b068e6bc7c80a | s390guy/simh_tests | [
"MIT"
] | 1 |
; A145285: a(n) is the number of monomials in the n-th power of polynomial x^4-x^3-x^2-x-1.
; 5,8,12,16,20,25,28,32,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,233
mov $2,$0
mov $4,$0... | 421 | Assembly | asm | 24.764706 | 207 | 0.650831 | f72e8096553835cf8e2282a29ddad56bd1c2fa14 | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A012245: Characteristic function of factorial numbers; also decimal expansion of Liouville's number or Liouville's constant.
; 1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... | 891 | Assembly | asm | 30.724138 | 501 | 0.531987 | f72e81127721b7d7ddb52d5537464a4d52273c2c | karttu/loda | [
"Apache-2.0"
] | null |
; A140210: a(n) = Product_{h == 1 (mod 4) and h|n} h.
; 1,1,1,1,5,1,1,1,9,5,1,1,13,1,5,1,17,9,1,5,21,1,1,1,125,13,9,1,29,5,1,1,33,17,5,9,37,1,13,5,41,21,1,1,2025,1,1,1,49,125,17,13,53,9,5,1,57,29,1,5,61,1,189,1,4225,33,1,17,69,5,1,9,73,37,125,1,77,13,1,5,729,41,1,21,7225,1,29,1,89,2025,13,1,93,1,5,1,97,49,297,125
add ... | 642 | Assembly | asm | 18.882353 | 260 | 0.517134 | f72eaf3dd3a25cf8ec3d4cb8c2632601972fcabb | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A244576: Sum of all proper divisors of all positive integers <= prime(n).
; 0,0,2,7,23,38,69,89,133,227,268,397,483,536,632,821,1018,1125,1355,1511,1633,1890,2077,2406,2906,3150,3263,3509,3680,3960,5026,5319,5854,6003,6909,7130,7761,8345,8681,9381,9986,10351,11456,11771,12212,12481,14128
seq $0,40 ; The prime number... | 406 | Assembly | asm | 58 | 214 | 0.743842 | f72ee4cca3048080ec62cd7762901b6cecbb6065 | neoneye/loda | [
"Apache-2.0"
] | 22 |
bits 64 ; set architecture
global strpbrk:function ; export strpbrk / RDI RSI parameters
strpbrk:
xor RAX, RAX ; set result to 0 in case of non-match
cmp RDI, 0 ; check if pointer null
je .end
.loop: ; loop label
... | 1,050 | Assembly | asm | 33.870968 | 70 | 0.52381 | f72f3c039c88dd1790178fa19b92430f17f0579f | ltabis/epitech-projects | [
"MIT"
] | null |
; 0 - PUSH constant 111
leaw $111, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw %A, %S
leaw $SP, %A
movw %S, (%A)
; 1 - PUSH constant 333
leaw $333, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw ... | 2,343 | Assembly | nasm | 14.64375 | 56 | 0.528809 | f72f4fa29b45e5fdfab7dfccebeca7fe11b4657e | mariaeduardabicalho/Z01 | [
"Unlicense"
] | 2 |
;*******************************************************************************
; Include: OS9
; Version: 1.00
; Written: August 13, 1990
; Updated: September 1, 1990
; Author : Tony G. Papadimitriou
; Purpose: This is an include file with code necessary to emulate the OS-9
; operating system (Level One, Ver.... | 5,266 | Assembly | asm | 30.976471 | 83 | 0.373338 | f72f89a519d0bded233af7dba38db1526d7db72a | tonypdmtr/emu6809 | [
"MIT"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x147ff, %rsi
lea addresses_UC_ht+0x1877f, %rdi
nop
nop
nop
nop
inc %rax
mov $103, %rcx
rep movsl
nop
cmp $50148, %r11
lea addresses_normal_ht+0x13bef, %rbp
xor $5145, %r13
mov... | 6,224 | Assembly | asm | 38.184049 | 2,999 | 0.661793 | f72fa1c140746cabafce0127554f708c20f915e6 | ljhsiun2/medusa | [
"MIT"
] | 9 |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>pread64(fd, buf, nbytes, offset) -> str
Invokes the syscall pread64.
See 'man 2 pread64' for more information.
Arguments:
fd(int): fd
buf(void*): buf
nbytes(size_t): nbytes
offset(off64_t): offset
... | 3,478 | Assembly | asm | 34.435644 | 79 | 0.634848 | f72fa67a41cb323c02bc995eb28ff43579e85c11 | mtdcr/pwntools | [
"MIT"
] | 7 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x8ce, %rcx
nop
nop
nop
and %rdi, %rdi
vmovups (%rcx), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r9
nop
nop
add $33727, %r14
lea addresses_WC_ht+0xdece, %rsi
lea a... | 7,622 | Assembly | asm | 36.123223 | 2,999 | 0.656389 | f72fc4a8c1a41eacc720be7a2cc6c719975a96b8 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; haribote-os
VBEMODE EQU 0x105
; 0x100: 640 * 400 * 8bit
; 0x101: 640 * 480 * 8bit
; 0x103: 800 * 600 * 8bit
; 0x105: 1024 * 768 * 8bit
; 0x107: 1280 * 1024 * 8bit
BOTPAK EQU 0x00280000 ; 加载bootpack
DSKCAC EQU 0x00100000 ; 磁盘缓存的位置
DSKCAC0 EQU 0x00008000 ; 实模式磁盘缓存的位置
; 有关BOOT_INFO
CYLS EQU 0... | 3,244 | Assembly | asm | 18.022222 | 55 | 0.574908 | f72fcc868731fe6a6bc7a7cf6555203f5f5c295a | ghosind/HariboteOS | [
"MIT"
] | 11 |
;
; ZX 81 specific routines
; by Stefano Bodrato, 29/07/2008
;
; Copy a variable from basic
;
; int __CALLEE__ zx_setint_callee(char *variable, int value);
;
; $Id: zx_setint_callee.asm,v 1.6 2016-06-26 20:32:09 dom Exp $
;
SECTION code_clib
PUBLIC zx_setint_callee
PUBLIC _zx_setint_callee
PUBLIC asm_zx_se... | 2,287 | Assembly | asm | 15.772414 | 65 | 0.679056 | f72fde5747ae0c73871a6964d62fa6ac4ef0aaf9 | ahjelm/z88dk | [
"ClArtistic"
] | 640 |
HookMode: subroutine
dec jtimer
bne .ngrip
ldx hookidx
lda #$33
sta $210,x
.ngrip
lda #HOOK_SWING
sta func2
lda angle0
clc
adc #$40
sta func0
lda angle1
sta func1
jsr CalcSin
ldx #0
lda... | 5,427 | Assembly | asm | 16.854037 | 95 | 0.442049 | f72fdeccbf22be5f980420ca492970ed5d28fe65 | NotExactlySiev/psychofloat | [
"CC0-1.0"
] | 1 |
; sp1_InvUpdateStruct
; 03.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
XLIB sp1_InvUpdateStruct
XREF SP1V_UPDATELISTT
; FASTCALL
; Add struct_sp1_update to invalidated list so that it is
; drawn at next update.
;
; enter : hl = & struct sp1_update
; uses : af, bc, de, hl
.sp1_InvUpdateStruct
l... | 951 | Assembly | asm | 25.702703 | 74 | 0.6204 | f72ff29b6e2f0ff9d9df8d2c9fc04c682809f9de | andydansby/z88dk-mk2 | [
"ClArtistic"
] | 1 |
; A167194: Triangle read by rows. A130713 in the columns.
; 1,2,1,1,2,1,0,1,2,1,0,0,1,2,1,0,0,0,1,2,1,0,0,0,0,1,2,1,0,0,0,0,0,1,2,1,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,0,0,1,2,1
add $0,1
lpb $0,1
sub $0,1
add $1,$0
trn $0,1
add $1,1
sub $1,$0
... | 357 | Assembly | asm | 23.8 | 183 | 0.526611 | f7300fa213ac28cd62ebd5375d165f8b91b17307 | karttu/loda | [
"Apache-2.0"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x8b94, %rsi
lea addresses_A_ht+0x7254, %rdi
nop
xor %r8, %r8
mov $51, %rcx
rep movsl
nop
nop
nop
cmp %r11, %r11
lea addresses_WC_ht+0x1c854, %r8
xor %r15, %r15
mov $0x61626... | 7,236 | Assembly | asm | 35.297561 | 2,999 | 0.658098 | f7301eea5e727617ab4149f419353fe996773902 | ljhsiun2/medusa | [
"MIT"
] | 9 |
Jump $$main
DLabel $eat-location-zero
DataZ 8
DLabel $print-format-integer
DataC 37 %% "%d"
DataC 100
DataC ... | 5,986 | Assembly | asm | 49.883333 | 75 | 0.214501 | f7302374ab20393290946e165eb353ae47cd598a | Tiffanylqc/Compiler-Design | [
"MIT"
] | null |
SECTION code_clib
SECTION code_l
PUBLIC l_fast_ultoo
EXTERN l_fast_utoo, l_setmem_de
EXTERN l1_fast_utoo_lz, l1_fast_utoo_nlz
EXTERN l2_fast_utoo_lz, l2_fast_utoo_nlz
EXTERN l3_fast_utoo_lz, l3_fast_utoo_nlz
l_fast_ultoo:
; write unsigned octal long to ascii buffer
;
; enter : dehl = unsigned long
; ... | 1,558 | Assembly | asm | 14.560748 | 66 | 0.568678 | f730699b798003cd0b390c0c424cd5da7d62a117 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A130240: Partial sums of A130239.
; 0,2,4,6,9,12,15,18,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260
mov $2,$0
mul $0,2
mov $1,$0
mov $0,6
trn $2,3
lpb $0,1
mul $0,2
sub ... | 468 | Assembly | asm | 18.72 | 209 | 0.594017 | f73081b82a9f992e37660c4013ab8c5897751a97 | karttu/loda | [
"Apache-2.0"
] | null |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>pciconfig_iobase(which, bus, devfn) -> str
Invokes the syscall pciconfig_iobase.
See 'man 2 pciconfig_iobase' for more information.
Arguments:
which(long): which
bus(unsigned): bus
devfn(uns... | 3,598 | Assembly | asm | 34.932039 | 87 | 0.63841 | f7308252c8b77d0bdf4af7d70f5588e29f65194f | DrKeineLust/pwntools | [
"MIT"
] | 2 |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)lseix"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... | 5,393 | Assembly | asm | 16.050595 | 38 | 0.355646 | f730828067c67019d1be136c511cc33a80064219 | meesokim/chips-test | [
"MIT"
] | 330 |
;PARTSWAP.ASM
;1581 PARTITION LIST AND SWAP
;AKX 2021
;---------------------------------------
;SET UP BASIC SYS
*= $0801
;END $080C
;LINE $000A
;SYS (TOKEN $9E)
;" 4096"
;END LINE (000)
.BYTE $0C,$08,$0A,$00,$9E,$20
.BYTE $34,$30,$39,$36,$00,$00
... | 15,212 | Assembly | asm | 19.884967 | 40 | 0.425914 | f7309bb74977692e6182292d4c08d67b3876d37d | AKX38/1581partswap | [
"MIT"
] | 1 |
;234567890123456789012345678901234567890123456789012345
.lf vtl02a1.lst
.cr 6502
.tf vtl02a1.obj,ap1
;------------------------------------------------------
; VTL-2 for the 6502 (VTL02)
; Original Altair 680b version by
; Frank McCoy and Gary Shannon 1977
; Adapted to the 6502 by Michael T. Barry 2012... | 25,254 | Assembly | asm | 32.968668 | 56 | 0.582284 | f730eb7b889f250eb8214fb2ccb3a07d6711d983 | paulscottrobson/vtl-1802 | [
"MIT"
] | null |
; A350050: a(n) = (2*n^4 - 6*(-1)^n*n^2 - 2*n^2 + 3*(-1)^n - 3)/96.
; Submitted by Christian Krause
; 0,0,0,2,4,14,24,52,80,140,200,310,420,602,784,1064,1344,1752,2160,2730,3300,4070,4840,5852,6864,8164,9464,11102,12740,14770,16800,19280,21760,24752,27744,31314,34884,39102,43320,48260,53200,58940,64680,71302,77924,8551... | 408 | Assembly | asm | 29.142857 | 221 | 0.664216 | f73116a9dfa189b72883ffb9e25eb5ab1191baa0 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A128514: Triangle, Pell sequence in every column.
; 1,2,1,5,2,1,12,5,2,1,29,12,5,2,1,70,29,12,5,2,1,169,70,29,12,5,2,1,408,169,70,29,12,5,2,1,985,408,169,70,29,12,5,2,1,2378,985,408,169,70,29,12,5,2,1
seq $0,25676 ; Exponent of 8 (value of i) in n-th number of form 8^i*9^j.
seq $0,52937 ; Expansion of (2-3*x-x^2)/((... | 348 | Assembly | asm | 49.714286 | 150 | 0.632184 | f7311c394a18510ede8538d65890b81b112c4397 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; int bv_priority_queue_resize_callee(bv_priority_queue_t *q, size_t n)
SECTION code_clib
SECTION code_adt_bv_priority_queue
PUBLIC _bv_priority_queue_resize_callee
EXTERN _ba_priority_queue_resize_callee
defc _bv_priority_queue_resize_callee = _ba_priority_queue_resize_callee
| 283 | Assembly | asm | 23.583333 | 72 | 0.897527 | f73149220d3cf979cf4bce6b25cf201758295959 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A006093: a(n) = prime(n) - 1.
; Submitted by Jon Maiga
; 1,2,4,6,10,12,16,18,22,28,30,36,40,42,46,52,58,60,66,70,72,78,82,88,96,100,102,106,108,112,126,130,136,138,148,150,156,162,166,172,178,180,190,192,196,198,210,222,226,228,232,238,240,250,256,262,268,270,276,280,282,292,306,310,312,316,330,336,346,348,352,358,36... | 514 | Assembly | asm | 64.25 | 372 | 0.708171 | f73149c9e28625d5d4b22d3e54d3122dd16a7eff | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
[BITS 32]
global fldz:function
section .text
; === [ FLDZ ] =================================================================
fldz:
fldz
ret
| 147 | Assembly | asm | 12.25 | 80 | 0.340136 | f7318c7db8663e7628f4173ccc0e5bb38dc59dd7 | decomp/experimental | [
"CC0-1.0"
] | 9 |
; A177072: (9*n+2)*(9*n+7).
; 14,176,500,986,1634,2444,3416,4550,5846,7304,8924,10706,12650,14756,17024,19454,22046,24800,27716,30794,34034,37436,41000,44726,48614,52664,56876,61250,65786,70484,75344,80366,85550,90896,96404,102074,107906,113900,120056,126374,132854,139496,146300,153266,160394,167684,175136,182750,19052... | 1,909 | Assembly | asm | 238.625 | 1,839 | 0.850707 | f7319a6dcfbdeb5fb9cc9854e7fda56fbb5d1a68 | karttu/loda | [
"Apache-2.0"
] | 1 |
; OpenBOR - http://www.chronocrash.com
; ----------------------------------------------------------------------
; All rights reserved, see LICENSE in OpenBOR root for details.
;
; Copyright (c) 2004 - 2012 OpenBOR Team
; Scales images by 2x using bilinear filtering. This implementation uses the
; SIMD capabilities of... | 2,280 | Assembly | asm | 23.75 | 103 | 0.637719 | f73262e1146f5717e7fe8aa83f7475727cc484ed | christianhaitian/openbor | [
"BSD-3-Clause"
] | 600 |
; A025927: Expansion of 1/((1-2x)(1-3x)(1-4x)(1-10x)).
; Submitted by Jon Maiga
; 1,19,245,2735,28701,293079,2957125,29682895,297294701,2974868039,29756539605,297597360255,2976103045501,29761552993399,297617634403685,2976184804896815,29761882021417101,297618956491125159
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
... | 437 | Assembly | asm | 25.705882 | 190 | 0.697941 | f732654563e9ea1fea0fe99cefec1cdd08f169f0 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A314218: Coordination sequence Gal.5.304.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,11,17,22,28,33,39,45,50,55,61,67,72,78,83,89,95,100,105,111,117,122,128,133,139,145,150,155,161,167,172,178,183,189,195,200,205,211,217,... | 640 | Assembly | asm | 21.333333 | 181 | 0.615625 | f732b0a3510cacd7ded3714c3bd601d63bc210b5 | karttu/loda | [
"Apache-2.0"
] | null |
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC wpoke
PUBLIC _wpoke
EXTERN asm_wpoke
.wpoke
._wpoke
pop af
pop de
pop hl
push hl
push de
push af
jp asm_wpoke
| 203 | Assembly | asm | 10.15 | 38 | 0.694581 | f732c6e62a78b7eacb0b36c790e071bb038ba02d | ahjelm/z88dk | [
"ClArtistic"
] | 640 |
IDD_DLGMENUEDIT equ 1500
IDC_EDTITEMCAPTION equ 2512
IDC_HOTMENU equ 2513
IDC_EDTITEMNAME equ 2516
IDC_EDTITEMID equ 2518
IDC_EDTHELPID equ 2529
IDC_BTNADD equ 2532
IDC_BTNINSERT equ 2519
IDC_BTNDELETE equ 2520
IDC_BTNL equ 2521
IDC_BTNR equ 2522
IDC_BTNU equ 2523
IDC_BTND e... | 31,106 | Assembly | asm | 25.835548 | 98 | 0.678294 | f732e988af09f6df93ec8f3c2f47a0777d6f8d7e | CherryDT/FbEditMOD | [
"Unlicense"
] | 11 |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2014 MikeOS Developers -- see doc/LICENSE.TXT
;
; MISCELLANEOUS ROUTINES
; ==================================================================
; -------------------------------... | 2,592 | Assembly | asm | 23.563636 | 69 | 0.555556 | f73378a926ebd5cdd4b732d46dc59055aaf54539 | ohoph/arcadia | [
"BSD-3-Clause"
] | null |
; ---------------------------------------------------------------------------
; Animation script - Caterkiller enemy (uses non-standard format)
; ---------------------------------------------------------------------------
dc.b 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
dc.b 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, ... | 659 | Assembly | asm | 54.916667 | 77 | 0.3217 | f7337a7f1174d19e82826a72d577df608adaf8c1 | NatsumiFox/AMPS-Sonic-1-2005 | [
"Apache-2.0"
] | 2 |
; A081067: Lucas(4n+2)+2, or 5*Fibonacci(2n+1)^2.
; 5,20,125,845,5780,39605,271445,1860500,12752045,87403805,599074580,4106118245,28143753125,192900153620,1322157322205,9062201101805,62113250390420,425730551631125,2918000611027445,20000273725560980
mul $0,2
mov $1,3
lpb $0
sub $0,1
add $2,$1
add $1,$2
add $1,1... | 334 | Assembly | asm | 25.692308 | 198 | 0.751497 | f73387e8de297176ec798a1e756d2d828cfbc5a0 | jmorken/loda | [
"Apache-2.0"
] | 1 |
;******************************************************************************
;* x86-SIMD-optimized IDCT for prores
;* this is identical to "simple" IDCT written by Michael Niedermayer
;* except for the clip range
;*
;* Copyright (c) 2011 Ronald S. Bultje <rsbultje@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* ... | 9,808 | Assembly | asm | 31.136508 | 79 | 0.485726 | f733bdf7cb9906401031f2576359640ff63844b9 | dgerding/Construct | [
"MIT"
] | 2 |
; A246508: Digital root of numbers congruent to {1,7,11,13,17,19,23,29} modulo 30.
; 1,7,2,4,8,1,5,2,4,1,5,7,2,4,8,5,7,4,8,1,5,7,2,8,1,7,2,4,8,1,5,2,4,1,5,7,2,4,8,5,7,4,8,1,5,7,2,8,1,7,2,4,8,1,5,2,4,1,5,7,2,4,8,5,7,4,8,1,5,7,2,8,1,7,2,4,8,1,5,2,4,1,5,7,2,4,8,5,7,4
seq $0,7775 ; Numbers not divisible by 2, 3 or 5.
mod ... | 325 | Assembly | asm | 54.166667 | 181 | 0.581538 | f7351a496b972b01818a7ccd543ecddc2b531ac4 | neoneye/loda | [
"Apache-2.0"
] | 22 |
page ,132
;************************************************************************
;* NAD90X.ASM
;* - Contains modules supporting the NetPC UNDI API for 3c90x
;*
;* Modules included :-
;* NADInit
;* NADReset
;* NADShutDown
;* NADOpen
;* NADClose
;* NADSetFilter
;* NADGetStatistics
;* NADRequestINT
;* NA... | 9,936 | Assembly | asm | 20.277551 | 79 | 0.532508 | f735c2ff40d07498b8fe3c98c54da25fe26ce985 | npocmaka/Windows-Server-2003 | [
"Unlicense"
] | 17 |
; /usr/local/bin/nasm -f macho64 64.asm && ld -macmacos_version_min 10.7.0 -lSystem -o 64 64.o && ./64
global start
section .text
start:
mov rax, 0x2000004 ; write
mov rdi, 1 ; stdout
mov rsi, msg
mov rdx, msg.len
syscall
mov rax, 0x2000001 ; exit
mov rdi, 0
... | 405 | Assembly | asm | 16.875 | 102 | 0.560494 | f735fc18c0e23f4683f8f8f5523283444cbc4a55 | mrTavas/owasp-fstm-auto | [
"CC0-1.0"
] | 2 |
; A120893: a(n) = 3*a(n-1) + 3*a(n-2) - a(n-3); a(0)=1, a(1)=1, a(2)=5.
; 1,1,5,17,65,241,901,3361,12545,46817,174725,652081,2433601,9082321,33895685,126500417,472105985,1761923521,6575588101,24540428881,91586127425,341804080817,1275630195845,4760716702561,17767236614401,66308229755041,247465682405765,923554499868017,3... | 657 | Assembly | asm | 46.928571 | 488 | 0.796043 | f736392e5385dd15d98fc04e6dbe7df9015e7a47 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; Copyright (C) 2018 Matt Currie <me@mattcurrie.com>
;
; 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, mer... | 3,884 | Assembly | asm | 19.816327 | 93 | 0.610453 | f7364d7070888ad80f2019e40b9e7ee175914df5 | gb-archive/mealybug-tearoom-tests | [
"MIT"
] | 37 |
; A170174: Number of reduced words of length n in Coxeter group on 21 generators S_i with relations (S_i)^2 = (S_i S_j)^39 = I.
; Submitted by Jamie Morken(s1)
; 1,21,420,8400,168000,3360000,67200000,1344000000,26880000000,537600000000,10752000000000,215040000000000,4300800000000000,86016000000000000,172032000000000000... | 442 | Assembly | asm | 29.466667 | 182 | 0.746606 | f736638023b6a36a465b5a1097807975e2f84934 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A266297: Numbers whose last digit is a square.
; 0,1,4,9,10,11,14,19,20,21,24,29,30,31,34,39,40,41,44,49,50,51,54,59,60,61,64,69,70,71,74,79,80,81,84,89,90,91,94,99,100,101,104,109,110,111,114,119,120,121,124,129,130,131,134,139,140,141,144,149,150,151,154,159,160,161,164,169,170,171,174,179,180,181,184,189,190,191,1... | 1,134 | Assembly | asm | 66.705882 | 957 | 0.71164 | f73679362357844eb2947ebe1b2c8af5f9d1db93 | karttu/loda | [
"Apache-2.0"
] | null |
# tests the assembler and not the simulator.
mov r0,#0xff
mov r1,#0xaa
mov r2,#0b110 | 88 | Assembly | asm | 17.6 | 44 | 0.715909 | f7370a805312b93f15320b59328bb59519de5fc2 | brgmnn/uob-cpu-simulator | [
"MIT"
] | null |
; A132209: a(0) = 0 and a(n) = 2*n^2 + 2*n - 1, for n>=1.
; 0,3,11,23,39,59,83,111,143,179,219,263,311,363,419,479,543,611,683,759,839,923,1011,1103,1199,1299,1403,1511,1623,1739,1859,1983,2111,2243,2379,2519,2663,2811,2963,3119,3279,3443,3611,3783,3959,4139,4323,4511,4703,4899,5099,5303,5511,5723,5939,6159,6383,6611,6... | 616 | Assembly | asm | 61.6 | 499 | 0.737013 | f7373139ea8505a179036547799227f11568fe6e | neoneye/loda | [
"Apache-2.0"
] | 22 |
;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apa... | 23,847 | Assembly | asm | 28.288256 | 121 | 0.560364 | f7374082830f3294d259e350a4933ad8776b44bd | dongbinghua/ipp-crypto | [
"Apache-2.0"
] | null |
db DEX_SANDSLASH ; pokedex id
db 75 ; base hp
db 100 ; base attack
db 110 ; base defense
db 65 ; base speed
db 55 ; base special
db ICE ; species type 1
db STEEL ; species type 2
db 99 ; catch rate
db 163 ; base exp yield
INCBIN "pic/ymon/sandslash.pic",0,1 ; 66, sprite dimensions
dw SandslashPicFront
dw SandslashPicBa... | 569 | Assembly | asm | 19.62069 | 59 | 0.741652 | f737615293cc96c77121ec53f75010a55c8d0558 | adhi-thirumala/EvoYellow | [
"Unlicense"
] | 16 |
TITLE MASM Template (main.asm)
INCLUDE Irvine32.inc
includelib irvine32.lib
; Christopher Smith Project 1-2
; CSCI 231 Professor J Ryder
; Sept 28, 2016
; Declare various variables (All but Real)
.data
varA BYTE 2
varB SBYTE 20
varC WORD 20
varD SWORD 20
varE DWORD 20
varF SDWORD 20
varG FWOR... | 541 | Assembly | asm | 15.911765 | 43 | 0.695009 | f737634671f22f77ef37a8b3bbf6e5e2d439b4ab | smitc29/Assembly_Projects | [
"MIT"
] | null |
; A180444: a(n) equals the number of bispecial Sturmian words of length n, that is words which are prefix to two words of length n+1, and likewise suffix. Note that prefix and suffix are not independent, unless the word is also palindromic: see A000010.
; 1,2,4,4,8,6,10,10,14,10,18,12,20,20,22,16,28,18,30,28,32,22,38,2... | 715 | Assembly | asm | 65 | 323 | 0.706294 | f7376598611f6c578f423daba21c24190ccbc7c1 | neoneye/loda | [
"Apache-2.0"
] | 22 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe703, %rsi
lea addresses_D_ht+0x82c0, %rdi
nop
nop
nop
sub %r13, %r13
mov $58, %rcx
rep movsq
nop
nop
nop
xor $9745, %rdi
lea addresses_WT_ht+0x17f80, %rbx
clflush (%rbx)
nop
nop
nop
... | 5,424 | Assembly | asm | 39.882353 | 2,999 | 0.660214 | f737f52aa8652ebe95c1d696571764f7e4b9ec00 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1301, %rsi
lea addresses_A_ht+0x2601, %rdi
nop
nop
nop
nop
sub %r14, %r14
mov $56, %rcx
rep movsq
nop
nop
nop
nop
nop
xor $41465, %r11
lea addresses_normal_ht+0x300d, %r14
nop
nop
nop... | 6,704 | Assembly | asm | 34.916667 | 2,999 | 0.654087 | f737f58df9d4445ffc77ac1a436ed549a740f3ab | ljhsiun2/medusa | [
"MIT"
] | 9 |
; signed long __fs2slong_callee(float f)
SECTION code_fp_math48
PUBLIC cm48_sdccixp_ds2slong
EXTERN cm48_sdccixp_dcallee1, am48_dfix32
cm48_sdccixp_ds2slong_callee:
; double to signed long
;
; enter : stack = sdcc_float x, ret
;
; exit : dehl = (long)(x)
;
; uses : af, bc, de, hl, bc', de',... | 395 | Assembly | asm | 17.173913 | 49 | 0.675949 | f7381f6b16709519e277ee4640023d02e1329268 | meesokim/z88dk | [
"ClArtistic"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1547b, %r10
nop
nop
nop
nop
nop
dec %rbx
movb (%r10), %r11b
nop
nop
add %r9, %r9
lea addresses_A_ht+0x1135e, %r15
nop
nop
nop
nop
nop
xor $38087, %rbx
movb (%r15), %r... | 6,546 | Assembly | asm | 35.576087 | 2,999 | 0.653682 | f7384da4be9477903df49457c1089c2266940ab8 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A169219: Number of reduced words of length n in Coxeter group on 14 generators S_i with relations (S_i)^2 = (S_i S_j)^28 = I.
; 1,14,182,2366,30758,399854,5198102,67575326,878479238,11420230094,148462991222,1930018885886,25090245516518,326173191714734,4240251492291542,55123269399790046,716602502197270598
add $0,1
mo... | 405 | Assembly | asm | 28.928571 | 179 | 0.748148 | f73885dfbf17e64079e06c74ca08f1f1471f7979 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.