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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|
; A178440: Convolution square of A058187, the tetrahedral series with repeats.
; 1,2,9,16,44,72,156,240,450,660,1122,1584,2508,3432,5148,6864,9867,12870,17875,22880,30888,38896,51272,63648,82212,100776,127908,155040,193800,232560,286824,341088,415701,490314,591261,692208,826804,961400,1138500,1315600
mov $2,$0
add $2,... | 435 | Assembly | asm | 25.588235 | 222 | 0.705747 | e8f6c958f18957a3761e49a2428c8fd2a7c23be2 | jmorken/loda | [
"Apache-2.0"
] | 1 |
.file "lib.c"
.code16gcc
.intel_syntax noprefix
.text
.p2align 2,,3
.globl _strlen
.def _strlen; .scl 2; .type 32; .endef
_strlen:
mov edx, DWORD PTR [esp+4]
xor eax, eax
cmp BYTE PTR [edx], 0
je L4
.p2align 2,,3
L3:
inc eax
cmp BYTE PTR [edx+eax], 0
jne L3
ret
.p2align 2,,3
L4:
ret
.ident "GCC: (Min... | 347 | Assembly | asm | 15.086957 | 44 | 0.636888 | e8f71e49b839208b35917118d479f2bbe6a56b3a | Lan-Jing/Courses | [
"MIT"
] | 1 |
;
; System Call for REX6000
;
; $Id: syscall1.asm,v 1.5 2002/04/17 21:30:25 dom Exp $
;
XLIB syscall1
.syscall1
pop bc
pop de ;parameter
pop hl ;call number
push hl
push de
push bc
ld ($c000),hl
ld ($c002),de
rst $10
ld hl,($c00e)
ret
| 253 | Assembly | asm | 10.541667 | 55 | 0.632411 | e8f766f200c502904502f68d5205d943e11f99de | andydansby/z88dk-mk2 | [
"ClArtistic"
] | 1 |
; Set File Information V1.01 1989 Tony Tebby QJUMP
;
; 2007-07-30 1.01 Show big file sizes in MB (MK)
section gen_util
xdef gu_flinf
xdef gu_flinm
xref gu_prlis
xref cv_d1asc
include 'dev8_keys_qlv'
include 'dev8_keys_fll'
include 'dev8_mac_assert'
;---
; Sets the minumum file information for the ... | 3,924 | Assembly | asm | 20.652632 | 75 | 0.642966 | e8f76d72987348d75195cada9feee633cbd6cba0 | olifink/smsqe | [
"BSD-2-Clause"
] | null |
; void *zx_saddrcdown(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_saddrcdown
EXTERN asm_zx_saddrcdown
_zx_saddrcdown:
pop af
pop hl
push hl
push af
jp asm_zx_saddrcdown
| 211 | Assembly | asm | 10.55 | 34 | 0.739336 | e8f79d3fc4bab0edb539f170e5105092bbaf0e4d | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>socketcall_bind(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall socketcall_bind.
See 'man 2 socketcall_bind' for more information.
Arguments:
vararg(int): vararg
Returns... | 3,692 | Assembly | asm | 36.554455 | 89 | 0.646533 | e8f7bfb91b0954a66fc7bab800328d2255693a53 | DrKeineLust/pwntools | [
"MIT"
] | 2 |
SFX_Snare2_2_Ch7:
noisenote 0, 11, 1, 51
endchannel
| 54 | Assembly | asm | 13.5 | 23 | 0.759259 | e8f7c5f9c689527f3dcc0d295f2d5819a0e08518 | AmateurPanda92/pokemon-rby-dx | [
"MIT"
] | 9 |
section .data
msg db "Displaying 9 stars", 0xA
len equ $ - msg
stars times 9 db "*"
section .text
global main
main:
mov edx, len
mov ecx, msg
mov ebx, 1 ;file descriptor (stdout)
mov eax, 4 ;system call number (sys_write)
int 0x80 ;call kernel
mov edx, 9
mov ecx, stars
mov... | 507 | Assembly | asm | 23.045455 | 47 | 0.627219 | e8f7f282ff934d926fa509dc27b79ce1e948dfc1 | Catherine22/Assembly | [
"MIT"
] | null |
; int vfprintf_unlocked_callee(FILE *stream, const char *format, void *arg)
SECTION code_clib
SECTION code_stdio
PUBLIC _vfprintf_unlocked_callee, l0_vfprintf_unlocked_callee
EXTERN asm_vfprintf_unlocked
_vfprintf_unlocked_callee:
pop af
pop hl
pop de
pop bc
push af
l0_vfprintf_unlocked_callee:
... | 402 | Assembly | asm | 14.357143 | 75 | 0.746269 | e8f81842b1f1106f08e1cbf4687d75e9a4935f0f | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A059602: Expansion of (5+10*x+x^2)/(1-x)^10.
; 5,60,376,1660,5830,17380,45760,109252,240955,497640,972400,1812200,3241628,5594360,9354080,15206840,24107105,37360004,56722600,84527300,123830850,178592700,253886880,356151900
mul $0,2
add $0,1
seq $0,38165 ; G.f.: 1/((1-x)*(1-x^2))^5.
| 286 | Assembly | asm | 40.857143 | 177 | 0.727273 | e8f84bd8ef6620577a0304d15c8a0af9f6384075 | neoneye/loda | [
"Apache-2.0"
] | 22 |
%macro x 2
xchg %1,%2
xchg %2,%1
%endmacro
bits 16
x ax,ax
x ax,cx
x ax,dx
x ax,bx
x ax,sp
x ax,bp
x ax,si
x ax,di
x eax,eax
x eax,ecx
x eax,edx
x eax,ebx
x eax,esp
x eax,ebp
x eax,esi
x eax,edi
bits 32
x ax,ax
x ax,cx
x ax,dx
x ax,bx
x ax,sp
x ax,bp
x ax,s... | 1,005 | Assembly | asm | 10.691489 | 12 | 0.556219 | e8f84e569f656f30af0e4c33eb918b5d3fd43536 | blue3k/StormForge | [
"Apache-2.0"
] | 1 |
; A077118: Nearest integer square to n^3.
; 0,1,9,25,64,121,225,361,529,729,1024,1296,1764,2209,2704,3364,4096,4900,5776,6889,7921,9216,10609,12100,13924,15625,17689,19600,21904,24336,26896,29929,32761,36100,39204,42849,46656,50625,54756,59536
seq $0,2821 ; a(n) = nearest integer to n^(3/2).
add $1,$0
pow $1,2
mov $0,... | 323 | Assembly | asm | 40.375 | 201 | 0.727554 | e8f87016dacc9ae69c135408f03e5174232bd3b3 | neoneye/loda | [
"Apache-2.0"
] | 22 |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1981 - 1991
; * All Rights Reserved.
; */
PAGE 90,132 ;AN000;A2
TITLE GRTABSM.SAL - GRAFTABL SYSTEM MESSAGES ;AN000;
;****************** START OF SPECIFICATIONS *****************... | 4,915 | Assembly | asm | 32.335526 | 81 | 0.644557 | e8f89e94584fbab94245084348f35efc519ce0cb | minblock/msdos | [
"Apache-2.0"
] | null |
; A033043: Sums of distinct powers of 6.
; 0,1,6,7,36,37,42,43,216,217,222,223,252,253,258,259,1296,1297,1302,1303,1332,1333,1338,1339,1512,1513,1518,1519,1548,1549,1554,1555,7776,7777,7782,7783,7812,7813,7818,7819,7992,7993,7998,7999,8028,8029,8034,8035,9072,9073,9078,9079,9108,9109,9114,9115,9288,9289,9294,9295,9324,... | 642 | Assembly | asm | 91.714286 | 509 | 0.780374 | e8f8a46b9f17d07af7af05f9a6cc892aef6a6530 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A050482: Sum of remainders when n-th prime is divided by all preceding integers.
; 0,1,4,8,22,28,51,64,98,151,167,233,297,325,403,505,635,645,790,904,923,1113,1244,1422,1654,1800,1888,2056,2098,2256,2849,3066,3326,3450,3969,4045,4329,4696,5014,5325,5767,5759,6499,6565,6898,7022,7817,8853,9176,9298,9646,10232,10206,11... | 692 | Assembly | asm | 98.857143 | 498 | 0.764451 | e8f909432f4eb84f9f7ccd6d24d68fa64257ffb9 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
;
; ZX IF1 & Microdrive functions
;
; char* if1_getname(char *location);
;
; Picks a file name from the specified location
;
; $Id: if1_getname.asm,v 1.4 2017/01/03 01:40:06 aralbrec Exp $
;
SECTION code_clib
PUBLIC if1_getname
PUBLIC _if1_getname
if1_getname:
_if1_getname:
pop bc ; ret addr
pop hl ;... | 581 | Assembly | asm | 13.511628 | 63 | 0.660929 | e8f9203bd988859189ae2904b377388bff59461f | grancier/z180 | [
"ClArtistic"
] | null |
;
; Small C+ Library Functions
;
; Renamed once more and rechristened for ANSIstdio
;
; This outputs a character to the console
;
; 1/4/2000 (Original Aug 98)
;
;
;
; $Id: fputc_cons.asm,v 1.9 2016-07-02 13:52:45 dom Exp $
;
INCLUDE "stdio.def"
MODULE fputc_cons_native
SECTION code_clib
... | 729 | Assembly | asm | 16.2 | 57 | 0.596708 | e8f967d6f9d33536dd55ca1be86d0458745dce21 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A017397: a(n) = (11*n)^9.
; 0,2357947691,1207269217792,46411484401953,618121839509504,4605366583984375,23762680013799936,95151694449171437,316478381828866048,913517247483640899,2357947691000000000,5559917313492231481,12166492167065567232,25004854810776297743,48717667557975775744,90647430472564453125,16203693149637941... | 557 | Assembly | asm | 92.833333 | 500 | 0.906643 | e8f9ad4e24a5eb0dab9399081a1ded91e881482d | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
;================================================================================
; Heart Beep Logic
;================================================================================
BeepLogic:
LDA.l HeartBeep : BEQ +
STA $04CA
LDA.b #$2B : STA $012E
RTL
+
LDA.b #$FF : STA $04CA
RTL
;===================... | 381 | Assembly | asm | 31.75 | 81 | 0.204724 | e8f9bd1d766f09bd37a83a6f94993701d8e8f93b | Catobat/z3randomizer | [
"MIT"
] | 31 |
;
;==================================================================================================
; ROMWBW 2.X CONFIGURATION FOR MARK IV
;==================================================================================================
;
; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SETTINGS FO... | 9,586 | Assembly | asm | 50.719577 | 100 | 0.698727 | e8f9da7360725d86017858f1924f9001c9bc025e | davidknoll/RomWBW | [
"DOC",
"MIT"
] | 194 |
%ifdef CONFIG
{
"RegData": {
"RAX": "0xF800000000000000",
"RBX": "4",
"RCX": "0xFFFFFFFFFFFFFFFF",
"RDX": "127",
"RSI": "63",
"RDI": "0x00000000FFFFFFFF"
}
}
%endif
; Trivial right shift
mov rax, 0x8000000000000000
mov rbx, 4
sarx rax, rax, rbx
; This is really a shift by 63. T... | 631 | Assembly | asm | 20.354839 | 61 | 0.66878 | e8f9e8f0a9bbf8efe75242d3d31044be77f3381a | cobalt2727/FEX | [
"MIT"
] | null |
PUSH ->W
DRAG
PUSH ->W
MOVE
PUSH 1
EQ
JIF drag
END
drag: PUSH ->W
DROP
PUSH 1
EQ
JIF drop
JMP nope
drop: PUSH ->E
DROP
nope: PUSH ->
MOVE
... | 335 | Assembly | asm | 13.4 | 21 | 0.301493 | e8fa06ef99c40395e78c0ba62a636c42fa96d555 | renatocf/MAC0242-PROJECT | [
"Apache-2.0"
] | 1 |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
FLDZ
;TEST_BEGIN_RECORDING
FINIT
;TEST_END_RECORDING
| 142 | Assembly | asm | 11.833333 | 21 | 0.859155 | e8fac4135880fd30168c55e3c17f377cd829f6c3 | randolphwong/mcsema | [
"BSD-3-Clause"
] | 2 |
; A155734: Binomial transform of A154879.
; 3,1,3,9,27,81,243,729,2187,6561,19683,59049,177147,531441,1594323,4782969,14348907,43046721,129140163,387420489,1162261467,3486784401,10460353203,31381059609,94143178827,282429536481,847288609443,2541865828329
mov $3,$0
mov $0,1
trn $0,$3
mov $2,2
sub $2,$0
mul $0,2
mov $1,3... | 360 | Assembly | asm | 24 | 211 | 0.75 | e8fb3583e08357fccc38a3b9db4bbc93d351f4c6 | karttu/loda | [
"Apache-2.0"
] | 1 |
; A077912: Expansion of 1/(1+x^2-2*x^3).
; 1,0,-1,2,1,-4,3,6,-11,0,23,-22,-23,68,-21,-114,157,72,-385,242,529,-1012,-45,2070,-1979,-2160,6119,-1798,-10439,14036,6843,-34914,21229,48600,-91057,-6142,188257,-175972,-200541,552486,-151403,-953568,1256375,650762,-3163511,1861988,4465035,-8189010,-741059,17119080,-15636961,... | 1,062 | Assembly | asm | 88.5 | 911 | 0.784369 | e8fb3acc7e29c53fcdd140b21cff2b27c2805c53 | neoneye/loda | [
"Apache-2.0"
] | 22 |
;; last edit date: 2016/10/24
;; author: Forec
;; LICENSE
;; Copyright (c) 2015-2017, Forec <forec@bupt.edu.cn>
;; Permission to use, copy, modify, and/or distribute this code for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all ... | 1,672 | Assembly | asm | 19.904762 | 75 | 0.686005 | e8fb66375390c497d7c874f103a021c30fdbae25 | KongoHuster/assembly-exercise | [
"0BSD"
] | 1 |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1985-1991
; * All Rights Reserved.
; */
;----------------------------------------------------------------------------;
; This is the erroe manager module. Control is transferred to the... | 7,798 | Assembly | asm | 30.460938 | 79 | 0.563606 | e8fb844a9bd48cd0b2ee3dd56285ebe9b1dd8f26 | minblock/msdos | [
"Apache-2.0"
] | null |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
MOV AX,1
ADD AX,5
ADD AX,5
; add your code here
ret
| 200 | Assembly | asm | 9.52381 | 68 | 0.705 | e8fbb39b5da1f15b790ed05ff370f4d7768622d3 | shahr1ar/CSE331L-Section-10-Fall20-NSU | [
"MIT"
] | null |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... | 11,270 | Assembly | asm | 35.109034 | 72 | 0.634871 | e8fc704320d3f759591dcb164797b783c5c4c8e7 | carl008-ma/isa-l_crypto | [
"BSD-3-Clause"
] | null |
segment .data
fmt: dq "%lld ",10,0
ffmt: dq "Sum: %lld ",10,0
ppp: dq "Numbers: ",10,0
prr: dq "",10,0
ssfmt: dq "%lld",0
segment .bss
a: resq 255
b: resq 2
c: resq 2
d: resq 2
segment .text
global main
extern printf
extern scanf
main:
push RBP
xor rcx, rcx
mov [c] , rcx
ll:
mov rbx , rcx
mov [b], rcx
xor rax, rax... | 781 | Assembly | asm | 11.318841 | 26 | 0.641485 | e8fc95e770d76edf33b579ab00d65247ffe9a022 | forkkr/Assembly-Lab | [
"MIT"
] | null |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... | 39,302 | Assembly | asm | 34.175652 | 60 | 0.424991 | e8fcb3267b9bf6c8467cb71ed1c3510e8c12f1dc | galdinstag/os162-3 | [
"MIT-0"
] | null |
.code
; void* __cdecl memcpy(void* _Dst, void const* _Src, size_t _Size);
extrn memcpy : proc
; RCX = void* func
; RDX = uint64_t[4] param_registers
; R8 = uint8_t* stack_top
; R9 = size_t stack_required
call_native_x64 PROC
push rbp
mov rbp, rsp
sub rsp, 32 ; shadow space
; move the params to the shadow ... | 1,238 | Assembly | asm | 20.633333 | 67 | 0.650242 | e8fcbcd8af80ddbeeb8b705d83b44b898d094698 | Veeloxfire/Axle | [
"MIT"
] | 2 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19236, %r15
dec %r11
vmovups (%r15), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r14
nop
inc %rbp
lea addresses_UC_ht+0xbb8e, %rsi
lea addresses_normal_ht+0x1488a... | 6,190 | Assembly | asm | 38.447205 | 2,999 | 0.658481 | e8fcbd1f3f8a1188a010babbf0456794160310a3 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; Copyright (c) 2004, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... | 1,234 | Assembly | asm | 33.351351 | 96 | 0.43517 | e8fcd610fc862c2f7863d572cbc2d096d4eefa70 | bitcrystal/edk | [
"BSD-3-Clause"
] | 14 |
db 0 ; species ID placeholder
db 80, 105, 65, 70, 100, 70
; hp atk def spd sat sdf
db GRASS, POISON ; type
db 45 ; catch rate
db 191 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/victreebe... | 677 | Assembly | asm | 30.772727 | 210 | 0.713442 | e8fcfe757f9cd6cd41e9a11a3c30c9c91ab51d21 | Ebernacher90/pokecrystal-allworld | [
"blessing"
] | null |
PrintIndigoPlateauHQText:
ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
tx_pre_jump IndigoPlateauHQText
IndigoPlateauHQText::
text_far _IndigoPlateauHQText
text_end
| 231 | Assembly | asm | 21 | 47 | 0.87013 | e8fd022041d24da9d686899427b526ccb81b2cdf | opiter09/ASM-Machina | [
"CC0-1.0"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rsi
lea addresses_normal_ht+0x1ecc8, %rsi
nop
nop
nop
nop
xor %rbp, %rbp
movw $0x6162, (%rsi)
nop
nop
nop
nop
dec %rsi
lea addresses_D_ht+0x12f68, %r15
cmp %r9, %r9
movups (%r15), %xmm4
vpextrq $0, %xmm4, %rbx
... | 4,996 | Assembly | asm | 47.132075 | 2,999 | 0.657926 | e8fd6efcfd0f387e01e7cbb9a5ec3242540b3968 | ljhsiun2/medusa | [
"MIT"
] | 9 |
;; bootsect.asm - simple bootloader for stboot
;; by trya - tryagainprod@gmail.com
%define mbr_address 0x7C00
%define code_address 0x2000
[ORG code_address] ; assuming we're working at the new location
[BITS 16]
%macro print_msg 1
mov si, %1
call write_msg
%endmacro
bootsect:
;; First things first, move this b... | 4,252 | Assembly | asm | 19.239819 | 67 | 0.666745 | e8fdb8ec569c68d49c44bb3d1036dddaa79e781d | trya/stboot | [
"Unlicense"
] | 9 |
; A004935: Floor of n*phi^20, where phi is the golden ratio, A001622.
; 0,15126,30253,45380,60507,75634,90761,105888,121015,136142,151269,166396,181523,196650,211777,226904,242031,257158,272285,287412,302539,317666,332793,347920,363047,378174
mov $1,$0
trn $1,1
mov $2,$0
lpb $2
add $1,15126
sub $2,1
lpe
| 310 | Assembly | asm | 28.181818 | 172 | 0.748387 | e8fdc89747a0444c82f53187e84bee78dcfb37ae | jmorken/loda | [
"Apache-2.0"
] | 1 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x175b5, %rsi
lea addresses_normal_ht+0x4bb5, %rdi
sub %rax, %rax
mov $89, %rcx
rep movsw
nop
nop
nop
cmp $64993, %rsi
lea addresses_D_ht+0xba9d, %rsi
lea addresses_WT_ht+0x2b... | 3,734 | Assembly | asm | 20.860335 | 154 | 0.654526 | e8fdfb9f7c6538e26dd09a727fb539f00051742c | ljhsiun2/medusa | [
"MIT"
] | 9 |
; Testing JSR and RTN calls.
SET $0xF, R0
SET $0xF, R1
JSR .SUM
JSR .TIMES
STP
.SUM
ADD R0, R1
RTN
.TIMES
MUL R0, R1
RTN
| 123 | Assembly | asm | 8.2 | 28 | 0.666667 | e8fe1d3f5ee06b3080a2144eaa79a6a9b161c5ac | nivla12345/ASMSimulator | [
"MIT"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13fc, %r13
nop
nop
nop
nop
nop
sub $47236, %r11
mov (%r13), %r14d
and $52353, %r15
lea addresses_WT_ht+0x18bfc, %rsi
lea addresses_D_ht+0x90fc, %rdi
nop
and $21371, %r11
mov... | 4,752 | Assembly | asm | 22.309859 | 191 | 0.6492 | e8fe28f8b4173518a7a3f72550306c41c0e8f795 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A153775: Sequence S such that 1 is in S and if x is in S, then 3x-1 and 3x are in S.
; 1,2,3,5,6,8,9,14,15,17,18,23,24,26,27,41,42,44,45,50,51,53,54,68,69,71,72,77,78,80,81,122,123,125,126,131,132,134,135,149,150,152,153,158,159,161,162,203,204,206,207,212,213,215,216,230,231,233,234,239,240,242,243,365,366,368,369,3... | 1,318 | Assembly | asm | 164.75 | 1,086 | 0.751138 | e8fe3734a8acdd7f8ca624fa4feae39e2fdaf50a | karttu/loda | [
"Apache-2.0"
] | 1 |
; A058065: Complement of A057843.
; 0,1,3,5,6,8,9,11,13,14,16,18,19,21,22,24,26,27,29,30,32,34,35,37,39,40,42,43,45,47,48,50,52,53,55,56,58,60,61,63,64,66,68,69,71,73,74,76,77,79,81,82,84,85,87,89,90,92,94,95,97,98,100,102,103,105,107,108,110
add $0,2
seq $0,66096 ; Duplicate values in A060143.
sub $0,3
| 306 | Assembly | asm | 43.714286 | 208 | 0.676471 | e8fec2c64e646811c1c96904f668a31e25b41094 | neoneye/loda | [
"Apache-2.0"
] | 22 |
;
; $Id: lm48p5695.asm,v 1.9 2011/05/22 23:38:42 iakramov Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
;
; This is the default program for 5695s on the 48 port ... | 6,295 | Assembly | asm | 19.192073 | 133 | 0.720731 | e8fed07b1396d87581415854fcaea2ae9410f7d9 | copslock/broadcom_cpri | [
"Spencer-94"
] | null |
###############################################################################
# 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... | 12,809 | Assembly | asm | 32.34596 | 80 | 0.469436 | e8ff6632b6894403cd7045dd6d2b18290b91c1d5 | ymarkovitch/ipp-crypto | [
"Apache-2.0"
] | null |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
;--------------------------------------------------------------------------
;- RESTART VECTORS -
;--------------------------------------------------------------------------
SECTION "RST_00",HOME[$0000]
ret
SEC... | 6,211 | Assembly | asm | 19.409375 | 76 | 0.417807 | e8ff7ab6425e30eef2ca1112b03d28911d9cb977 | AntonioND/gbc-hw-tests | [
"MIT"
] | 6 |
;CodeVisionAVR C Compiler V3.12 Advanced
;(C) Copyright 1998-2014 Pavel Haiduc, HP InfoTech s.r.l.
;http://www.hpinfotech.com
;Build configuration : Debug
;Chip type : ATmega16
;Program type : Application
;Clock frequency : 8.000000 MHz
;Memory model : Small
;Optim... | 37,992 | Assembly | asm | 17.870179 | 101 | 0.566935 | e8ff7ff1580dbf466fdaec45b932718d692dfc61 | farkoo/Micro-Lab | [
"MIT"
] | null |
global _start
_start:
mov eax, 1
mov ebx, 42
sub ebx, 29
int 0x80 | 82 | Assembly | asm | 13.666667 | 15 | 0.585366 | e8ffa7201a5316fa7574175c504c2a0525fc29dd | avinoamru/C-projects | [
"MIT"
] | null |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... | 43,657 | Assembly | asm | 33.868891 | 60 | 0.413267 | 33006e57ce3e905d234c59733c582291aa5e2150 | SachinKumar105/Enhanced-xv6 | [
"MIT-0"
] | null |
;* * * * * Small-C/Plus z88dk * * * * *
; Version: 16894-223f580fd-20200818
;
; Reconstructed for z80 Module Assembler
;
; Module compile time: Sat Aug 21 15:22:05 2021
C_LINE 0,"exp10f16.c"
MODULE exp10f16_c
INCLUDE "z80_crt0.hdr"
C_LINE 0,"math16.h"
C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//in... | 21,419 | Assembly | asm | 43.534553 | 91 | 0.744526 | 330086b225cb5f90210aef7067280949b046f30b | ahjelm/z88dk | [
"ClArtistic"
] | 640 |
Title 'DosMouse','VANBELLE Edouard (c) 03/1997'
.Model Tiny
.code
Org 100h
Dos_mouse:
jmp Debut
;*************************************
Hot_Key equ 2700h ;2700 4600h
args_flags db 0000b
old_int28h dd ? ;adresses des anciennes
old_multiplexeur dd ? ;interruptions
old_mouse dd ?
old_int_clavier dd... | 16,488 | Assembly | asm | 18.463606 | 79 | 0.678918 | 3301578768d9b70730ac4c58610a6ebeeb67758d | EdouardVanbelle/dosmouse | [
"MIT"
] | null |
; A239463: A239460(n) / n^2.
; 11,12,103,104,1005,1006,1007,1008,1009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,100022,100023,100024,100025,100026,100027,100028,100029,100030,100031,100032,100033,100034,100035,100036,100037,100038,100039,100040,100041,100042,100043,100044,100045,100046,100... | 2,556 | Assembly | asm | 63.9 | 2,105 | 0.800078 | 3301cb51c63897e9d35f8b09a0bdd7ef587fb143 | karttu/loda | [
"Apache-2.0"
] | null |
sec
sbc {m1}
beq {la1}
bvc !+
eor #$80
!:
bmi {la1}
| 52 | Assembly | asm | 6.5 | 9 | 0.538462 | 3301d8fd15433bef696b2502d24c2815032495c3 | jbrandwood/kickc | [
"MIT"
] | 2 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rbp
push %rdi
push %rsi
lea addresses_normal_ht+0x646a, %r9
nop
nop
nop
nop
nop
xor %r10, %r10
movb (%r9), %r11b
nop
dec %rbp
lea addresses_UC_ht+0xdb5a, %rdi
nop
nop
nop
xor %r14, %r14
mov $0x6162636465666768, %rsi
movq %rsi, %xm... | 3,224 | Assembly | asm | 19.076923 | 146 | 0.64361 | 330206268bac96b3ad45f9e4307d77f532cebe80 | ljhsiun2/medusa | [
"MIT"
] | 9 |
***********************************************************
*
* Printer I/O (DTFPR)
*
* For use by assembler programs (not RPG).
*
* Recreated from old listings & disassembled object
* code.
*
* Comments are mine based on my interpretation of
* the code.
*
* Stephen... | 5,189 | Assembly | asm | 36.286713 | 71 | 0.398535 | 3302907f4e16a019df08d0ea4adb63e1532d3b36 | sboydlns/univacemulators | [
"MIT"
] | 2 |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x132aa, %rax
clflush (%rax)
nop
and %r9, %r9
movups (%rax), %xmm5
vpextrq $0, %xmm5, %rdi
sub $12731, %r14
lea addresses_WC_ht+0xe523, %r15
clflush (%r15)
nop
nop
nop
nop
... | 7,930 | Assembly | asm | 32.235772 | 2,999 | 0.657881 | 3302fc8601c5055b5022fcf325f3509b739a2012 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2778, %rbx
nop
nop
nop
nop
sub $22417, %rcx
mov (%rbx), %r12
nop
nop
nop
sub %r9, %r9
lea addresses_WC_ht+0x145f0, %rax
nop
and %rdi, %rdi
movb (%rax), %bl
nop
sub %r12, %r12
... | 6,619 | Assembly | asm | 37.39548 | 2,999 | 0.656444 | 3302fd46a086464949d878224749b86838eaf8ee | ljhsiun2/medusa | [
"MIT"
] | 9 |
.data
hello: .asciiz "Hello world with printf!\n"
.text
.globl main
main:
subu $sp, $sp, 4
sw $ra, 0($sp)
la $a0, hello
jal printf
lw $ra, 0($sp)
addiu $sp, $sp, 4
jr $ra
| 248 | Assembly | asm | 16.533333 | 44 | 0.435484 | 3303667a0367af482fb9a179a3f2a3b26a6af967 | DigiOhhh/LabArchitettura2-2017-2018 | [
"MIT"
] | 1 |
;
; Copyright (C) 2019 Assured Information Security, Inc.
;
; 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... | 1,257 | Assembly | asm | 34.916667 | 80 | 0.768496 | 33036f6471214a701458e8e3fb47e4f9c351a4ce | chp-io/hypervisor | [
"MIT"
] | 5 |
; A192791: Molecular topological index of the n-antiprism graph.
; 40,112,240,448,760,1200,1792,2560,3528,4720,6160,7872,9880,12208,14880,17920,21352,25200,29488,34240,39480,45232,51520,58368,65800,73840,82512,91840,101848,112560,124000,136192,149160,162928,177520,192960,209272,226480,244608,263680,283720,304752,326800... | 650 | Assembly | asm | 50 | 500 | 0.8 | 330373483019c04fac61fce51549fef528f43323 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A084869: Number of 2-multiantichains of an n-set.
; Submitted by Jon Maiga
; 1,2,5,17,71,317,1415,6197,26591,112157,466775,1923077,7863311,31972397,129459335,522571157,2104535231,8460991037,33972711095,136277478437,546270602351,2188566048077,8764718254055,35090241492917,140455083984671,562102715143517,224925804852021... | 656 | Assembly | asm | 46.857143 | 492 | 0.846037 | 3303c95400f59af94949e10659952069bd6f6679 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19935, %rsi
lea addresses_A_ht+0xffd7, %rdi
nop
nop
nop
nop
nop
and $58593, %r12
mov $25, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %rdx
lea addresses_A_ht+0x12f35, %rbx
nop
nop... | 7,495 | Assembly | asm | 34.068182 | 2,999 | 0.658706 | 33041020009ce187bbb5a76e34ea25ca79f3b4b5 | ljhsiun2/medusa | [
"MIT"
] | 9 |
.loadtable "data/flyover-table.tbl"
db 02h, 01h
db 01h, 4Ch
.str "The year is 199X\n" | 99 | Assembly | asm | 19.8 | 35 | 0.616162 | 330412dfa74a39457160d088f49ea64c1cf8124c | Iemnur/Mother2GbaTranslation | [
"MIT"
] | 149 |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : evaluate.asm
; Purpose : Evaluator (Precedence Climber)
; Date : 25th July 2019
; Author : Paul Robson (paul@robs... | 12,181 | Assembly | asm | 26.027778 | 93 | 0.548313 | 33041e8cd66a0ed1b6f13cd13c0042f844ae8517 | paulscottrobson/Atomic-Basic-2 | [
"MIT"
] | null |
; A115565: a(n) = 5*n^4 - 10*n^3 + 20*n^2 - 15*n + 11.
; 11,61,281,911,2311,4961,9461,16531,27011,41861,62161,89111,124031,168361,223661,291611,374011,472781,589961,727711,888311,1074161,1287781,1531811,1809011,2122261,2474561,2869031,3308911,3797561,4338461,4935211,5591531,6311261,7098361,7956911,8891111,9905281,11003... | 973 | Assembly | asm | 88.454545 | 850 | 0.832477 | 330450d16ea2cdfda41a01aa6871256e442632b0 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; Z88 Small C+ Run Time Library
; Long support functions
; "8080" mode
; Stefano - 30/4/2002
; $Id: l_long_ucmp.asm,v 1.2 2016-06-16 20:31:05 dom Exp $
;
SECTION code_crt0_sccz80
PUBLIC l_long_ucmp
; Unsigned compare of dehl (stack) and dehl (registers)
;
; Entry: prima... | 1,688 | Assembly | asm | 21.641026 | 69 | 0.491706 | 33045185676c609c6f4c6b4e3c4b0c8626ee8698 | Toysoft/z88dk | [
"ClArtistic"
] | 8 |
; A093505: a(n) = floor(A001969(n)/2 + 1/2).
; 0,2,3,3,5,5,6,8,9,9,10,12,12,14,15,15,17,17,18,20,20,22,23,23,24,26,27,27,29,29,30,32,33,33,34,36,36,38,39,39,40,42,43,43,45,45,46,48,48,50,51,51,53,53,54,56,57,57,58,60,60,62,63,63,65
mov $2,$0
lpb $0
add $1,$0
div $0,2
mod $1,2
lpe
add $1,$2
mov $0,$1
| 308 | Assembly | asm | 25.666667 | 186 | 0.590909 | 330459a7ed3c96a1d0959c4a6be7e17de3e8b9f2 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; ------------------------------------------------------------------
; Simple file manager for MikeOS: copy, delete and rename files
; ------------------------------------------------------------------
BITS 16
%INCLUDE "mikedev.inc"
ORG 32768
; This is the point used by the disk buffer in the MikeOS k... | 5,950 | Assembly | asm | 19.701987 | 94 | 0.661345 | 33047429f2052c9fd9736b3ce476aae73e6d7630 | CH-Electronics/chos | [
"BSD-3-Clause"
] | 312 |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x11af3, %rax
nop
nop
nop
nop
nop
xor $80, %rdx
movb (%rax), %cl
nop
and $52237, %rbx
lea addresses_A_ht+0xaeaa, %r15
nop
cmp $17799, %rdx
mov $0x6162636465666768, %rbx
movq %... | 7,788 | Assembly | asm | 34.157895 | 2,999 | 0.658064 | 3304760ab0fa09433d854628fe47d96ba9799aa3 | ljhsiun2/medusa | [
"MIT"
] | 9 |
// Program: Sum1toN.asm
// Computes RAM[1] = 1+2+ ... +n
// Usage: put a number (n) in RAM[0]
//
// n = R0
// i = 1
// sum = 0
//
// LOOP:
// if i > n goto STOP
// sum = sum+i
// i = i + 1
// goto LOOP
//
// STOP:
// R1 = sum
@R0
D=M
@n
M=D // n = R0
@i
M=1 ... | 680 | Assembly | asm | 12.142857 | 36 | 0.344118 | 3304c176949777b3020a9c2633c1bc4347121294 | Wujiahao81/cheat_sheet | [
"MIT"
] | null |
addi r1 r0 65
sw r1 0(r1)
addi r1 r1 -5
push r1
pop r31
pop r1
tty r1
halt
# Prints "A" | 97 | Assembly | asm | 9.7 | 14 | 0.608247 | 3304e1ecc179711bd94a38a9da06df7278bd35e9 | JavierOramas/CP_AC | [
"MIT"
] | null |
; A017522: a(n) = (12*n)^2.
; 0,144,576,1296,2304,3600,5184,7056,9216,11664,14400,17424,20736,24336,28224,32400,36864,41616,46656,51984,57600,63504,69696,76176,82944,90000,97344,104976,112896,121104,129600,138384,147456,156816,166464,176400,186624,197136,207936,219024,230400,242064,254016,266256,278784,291600,304704,31... | 1,936 | Assembly | asm | 276.571429 | 1,876 | 0.854855 | 3304e9e762dbeb1fc2b303cbc058a63ea3084d09 | karttu/loda | [
"Apache-2.0"
] | 1 |
Image.copyRegionWithTransparency :
pusha
mov eax, [Image.copyRegionWithTransparency.ow]
sub eax, [Image.copyRegionWithTransparency.w]
;sub eax, 4
mov [Image.copyRegionWithTransparency.owa], eax
mov eax, [Image.copyRegionWithTransparency.nw]
sub eax, [Image.copyRegionWithTransparency.w]
;sub eax, 4
mov ... | 3,547 | Assembly | asm | 21.628049 | 96 | 0.698337 | 33051f1dcce8039c8c6e55b35ecce49af6c92d35 | jaredwhitney/os3 | [
"MIT"
] | 5 |
; void *p_list_pop_front_fastcall(p_list_t *list)
SECTION code_clib
SECTION code_adt_p_list
PUBLIC _p_list_pop_front_fastcall
EXTERN asm_p_list_pop_front
defc _p_list_pop_front_fastcall = asm_p_list_pop_front
| 214 | Assembly | asm | 17.833333 | 54 | 0.873832 | 330543bd45100d67b19c9dc21dad15fce40fd2c1 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
; A059990: Number of points of period n under the dual of the map x->2x on Z[1/6].
; 1,1,7,5,31,7,127,85,511,341,2047,455,8191,5461,32767,21845,131071,9709,524287,349525,2097151,1398101,8388607,1864135,33554431,22369621,134217727,89478485,536870911,119304647
seq $0,126646 ; a(n) = 2^(n+1) - 1.
lpb $0
dif $0,3
lpe
| 318 | Assembly | asm | 39.75 | 175 | 0.72327 | 330586d715d27c624a921764f4992f57db8cd0db | neoneye/loda | [
"Apache-2.0"
] | 22 |
; scbb0_readchar
; 08.2009 aralbrec
PUBLIC scbb0_readchar
; read a char from the buffer if one is available
;
; enter : hl = & struct scbb0
; exit : a = char with carry reset if successful
; carry set if buffer empty
; uses : af, de, hl
.scbb0_readchar
dec (hl) ; ravail--
jp pe,... | 927 | Assembly | asm | 19.3125 | 67 | 0.451996 | 3305af6c7d14ee81adb278fbae66e232aa2d05e2 | meesokim/z88dk | [
"ClArtistic"
] | 8 |
page ,132
;Thunk Compiler Version 1.8 Dec 14 1994 14:53:05
;File Compiled Fri Jun 20 10:27:33 1997
;Command Line: thunk -P2 -NC ddraw -t thk3216 ..\32to16.thk -o 32to16.asm
TITLE $32to16.asm
.386
OPTION READONLY
OPTION OLDSTRUCTS
IFNDEF IS_16
IFNDEF IS_32
%out command line error: specify one ... | 25,784 | Assembly | asm | 20.945573 | 81 | 0.737007 | 33060ccef4cae247e8b4cde2a4a2d7c0fc1ae6d1 | npocmaka/Windows-Server-2003 | [
"Unlicense"
] | 17 |
; A234272: G.f.: (1+4*x+x^2)/(1-4*x+x^2).
; 1,8,32,120,448,1672,6240,23288,86912,324360,1210528,4517752,16860480,62924168,234836192,876420600,3270846208,12206964232,45557010720,170021078648,634527303872,2368088136840,8837825243488,32983212837112,123095026104960,459396891582728,1714492540225952,6398573269321080
mov $1,... | 420 | Assembly | asm | 28 | 269 | 0.742857 | 33062dcbc041aae766d3cf44b3079dbe937a8efa | karttu/loda | [
"Apache-2.0"
] | null |
%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 ;... | 16,532 | Assembly | asm | 36.494481 | 159 | 0.488326 | 3306408ea01899b6b06784d79d9dc9ad2484e73d | y-guyon/ComplianceWarden | [
"BSD-3-Clause"
] | null |
LDY #$01
LDA #$03
STA $01
LDA #$07
STA $02
LDX #$0a
STX $0704
LDA ($01),Y
| 74 | Assembly | asm | 8.222222 | 11 | 0.581081 | 33065adb7bedb07d4a354837e4285befebc698f8 | colinw7/C6502 | [
"MIT"
] | 152 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x5184, %rbp
nop
nop
mfence
movw $0x6162, (%rbp)
dec %rdx
lea addresses_WT_ht+0xa767, %rsi
lea addresses_UC_ht+0xad64, %rdi
nop
nop
add $22094, %r10
mov $123, %rcx
rep movsl
nop
nop
nop
... | 5,625 | Assembly | asm | 38.265306 | 2,999 | 0.656178 | 33066f6b1905c408c24dda53a23b0520d5e3a386 | ljhsiun2/medusa | [
"MIT"
] | 9 |
obj/user/buggyhello2.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cmp ... | 96,079 | Assembly | asm | 40.659755 | 91 | 0.455188 | 3306737b2671070a0868e2d3aabe8adb891bc3d4 | jasha64/OperatingSystems-lab | [
"MIT"
] | null |
; A184117: Lower s-Wythoff sequence, where s(n) = 2n + 1.
; Submitted by Jon Maiga
; 1,2,3,5,6,8,9,11,12,13,15,16,18,19,20,22,23,25,26,27,29,30,32,33,35,36,37,39,40,42,43,44,46,47,49,50,52,53,54,56,57,59,60,61,63,64,66,67,69,70,71,73,74,76,77,78,80,81,83,84,85,87,88,90,91,93,94,95,97,98,100,101,102,104,105,107,108,110,... | 538 | Assembly | asm | 28.315789 | 324 | 0.644981 | 3306792d8cbc3a7bb407026ef47f1c7a24930a39 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A109049: a(n) = lcm(n, 8).
; 0,8,8,24,8,40,24,56,8,72,40,88,24,104,56,120,16,136,72,152,40,168,88,184,24,200,104,216,56,232,120,248,32,264,136,280,72,296,152,312,40,328,168,344,88,360,184,376,48,392,200,408,104,424,216,440,56,456,232
mov $1,$0
gcd $0,8
div $1,$0
mul $1,8
| 275 | Assembly | asm | 34.375 | 206 | 0.654545 | 330689388ccbf51f6634c26de1365d13555559f0 | karttu/loda | [
"Apache-2.0"
] | 1 |
; A175512: (Digit sum of 7^n) mod n.
; Submitted by Jon Maiga
; 0,1,1,3,2,4,4,7,1,3,5,1,0,2,4,4,7,1,3,16,19,9,16,1,22,8,10,21,5,28,22,7,28,6,17,28,4,16,19,22,25,10,40,43,28,3,34,40,31,34,13,40,8,1,49,43,10,9,34,19,22,8,19,40,52,64,0,66,37,49,52,55,58,70,37,49,11,64,6,25,28,67,43,55,40,20,64,13,8,28,49,34,82,0,79,82,85,... | 396 | Assembly | asm | 44 | 266 | 0.621212 | 3306a7f9e28028bd0e80743bc75a28e6a3f80cb7 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
lc r4, 0xffff80c5
lc r5, 0x80000000
gts r6, r4, r5
halt
#@expected values
#r4 = 0xffff80c5
#r5 = 0x80000000
#r6 = 0x00000001
#pc = -2147483628
#e0 = 0
#e1 = 0
#e2 = 0
#e3 = 0
| 193 | Assembly | asm | 12.0625 | 21 | 0.595855 | 330733d4aad41820f2b85586ab6ae404a148a46c | geoffthorpe/ant-architecture | [
"BSD-3-Clause"
] | null |
# Penny Ellard -- 9/7/97
# reverse.asm-- An Ant-8 program that reads a string from the user,
# then prints out the string in reverse order
# Registers used:
# r4 - hold characters as they are read in and printed out.
# r5 - address - used for conditional branches.
# r6 - address - used for conditional branches... | 2,553 | Assembly | asm | 40.52381 | 78 | 0.534665 | 33075d64afc7327c5ff571fc723cf81451d5853a | geoffthorpe/ant-architecture | [
"BSD-3-Clause"
] | null |
; A134491: Fibonacci(5n+4).
; Submitted by Jamie Morken(s1)
; 3,34,377,4181,46368,514229,5702887,63245986,701408733,7778742049,86267571272,956722026041,10610209857723,117669030460994,1304969544928657,14472334024676221,160500643816367088
mul $0,5
add $0,3
mov $2,1
lpb $0
sub $0,2
add $1,$2
add $2,$1
lpe
lpb $0
... | 355 | Assembly | asm | 19.722222 | 176 | 0.732394 | 3307dd4f9abc95cbd13b510671e778c8ad0cb84c | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A027016: T(2n+1,n+1), T given by A027011.
; 1,5,28,98,291,806,2164,5729,15072,39542,103615,271370,710568,1860413,4870756,12751946,33385179,87403694,228826012,599074457,1568397480,4106118110,10749956983,28143752978,73681302096,192900153461,505019158444,1322157322034,3461452807827,9062201101622,23725150497220,621132503... | 482 | Assembly | asm | 60.25 | 364 | 0.809129 | 3307fd8da4f475e3296f830419cd670236f66ad8 | karttu/loda | [
"Apache-2.0"
] | 1 |
; A098378: Number of characters needed to write number n in the traditional Ethiopic (Geez) number system.
; 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2
ad... | 373 | Assembly | asm | 37.3 | 209 | 0.58445 | 330800624e446dccc4289096f845d245f4faf255 | karttu/loda | [
"Apache-2.0"
] | 1 |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55... | 334,503 | Assembly | asm | 34.056506 | 240 | 0.439117 | 3308139f1dfdc42dfaa7867ea6477d07fed5bead | asdfqwer0408/xv6 | [
"MIT-0"
] | null |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>pread(fd, buf, nbytes, offset) -> str
Invokes the syscall pread.
See 'man 2 pread' for more information.
Arguments:
fd(int): fd
buf(void*): buf
nbytes(size_t): nbytes
offset(off_t): offset
Returns:... | 3,466 | Assembly | asm | 34.316832 | 79 | 0.633583 | 33083b0c64e30b9b081cfa7648ee44bbbaee8c88 | mtdcr/pwntools | [
"MIT"
] | 7 |
section .data
msg db 'Hello, world!', 0xa
len equ $ - msg
section .text
global _start
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80
mov eax,1
int 0x80
| 220 | Assembly | asm | 11.578947 | 37 | 0.545455 | 3308ab683609c9f6ffe221d3f8ae1649deb32cc8 | lavirlifiliol/hello-world | [
"MIT"
] | 13 |
; A055845: a(n) = 4*a(n-1) - a(n-2) with a(0)=1, a(1)=8.
; 1,8,31,116,433,1616,6031,22508,84001,313496,1169983,4366436,16295761,60816608,226970671,847066076,3161293633,11798108456,44031140191,164326452308,613274669041,2288772223856,8541814226383,31878484681676,118972124500321,444010013319608,1657067928778111,6184261701... | 642 | Assembly | asm | 49.384615 | 497 | 0.817757 | 3308cca533e8fd7a6953aca49941f58bfc59000a | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
.NOLIST
#define EQU .equ
#define equ .equ
#define END .end
#define end .end
#include "ti83plus.inc"
.LIST
.org 9D93h
.db $BB,$6D
ld a,0
ld (CURCOL),a
ld (CURROW),a
ld hl,text
B_CALL(_PutS)
B_CALL(_NewLine)
ret
text:
.db "Hello World",0
.end
end
| 320 | Assembly | asm | 15.238095 | 25 | 0.534375 | 3308df3e19071c6de73139ccaed08e3dea199c43 | rojenzaman/hello-world | [
"MIT"
] | 8,076 |
; A163834: a(n) = (4^n + 5)/3.
; 2,3,7,23,87,343,1367,5463,21847,87383,349527,1398103,5592407,22369623,89478487,357913943,1431655767,5726623063,22906492247,91625968983,366503875927,1466015503703,5864062014807,23456248059223,93824992236887,375299968947543,1501199875790167,6004799503160663,24019198012642647,9607679205057... | 566 | Assembly | asm | 62.888889 | 486 | 0.855124 | 33090cddcb3b0ba061855a741aa83499053aa47a | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
INCLUDE "defines.asm"
SECTION "Intro", ROMX
Intro::
ld hl, vSpriteTile
ld de, SpriteTile
ld c, SpriteTile.end - SpriteTile
call LCDMemcpySmall
ld hl, wShadowOAM
ld a, 16 + 16
ld [hli], a
ld [hli], a
xor a
ld [hli], a
ld [hli], a
ld a, h
ld [hOAMHigh], a
ld a, LCDCF_ON | LCDCF_OBJON | LCDCF_BGON
ld ... | 616 | Assembly | asm | 12.078431 | 44 | 0.646104 | 330919b8690bf790f67d99983c9fcacd668de2cb | Greymanz/gb-test-code | [
"MIT"
] | null |
; A337252: Digits of 2^n can be rearranged with no leading zeros to form t^2, for t not a power of 2.
; 8,10,12,14,20,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144... | 797 | Assembly | asm | 18.534884 | 230 | 0.531995 | 3309557b119aff12374002b8d5d1847bb0dd98e4 | karttu/loda | [
"Apache-2.0"
] | null |
; This is the startup file for Sol Bianca. This jumps to and starts the whole
; shebang.
;
; Simon Heath
; 14/6/2003
global _start
extern sbMain
_start:
; This sequence blinks all the keyboard LED's to on.
;call kbd
;mov al, 0xED
;out 0x60, al
;call kbd
;mov al, 0x07
;out 0x60, al
;kbd0:
... | 655 | Assembly | asm | 16.794872 | 78 | 0.619847 | 33096cf34dead002b5ab9a149b96ff307d21788e | icefoxen/old-sol-bianca | [
"MIT"
] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.