content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
; A259594: Denominators of the other-side convergents to sqrt(6).
; Submitted by Jon Maiga
; 1,3,11,29,109,287,1079,2841,10681,28123,105731,278389,1046629,2755767,10360559,27279281,102558961,270037043,1015229051,2673091149,10049731549,26460874447,99482086439,261935653321,984771132841,2592895658763,9748229241971,2566702... | 50.133333 | 495 | 0.829787 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/259/A259594.asm | 752 | Assembly |
; A141213: Defining A to be the interior angle of a regular polygon, the number of constructible regular polygons such that A is in a field extension = degree 2^n, starting with n=0. This is also the number of values of x such that phi(x)/2 = 2^n (where phi is Euler's phi function), also starting with n=0.
; 3,4,5,6,7,... | 49.777778 | 307 | 0.705357 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/141/A141213.asm | 448 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
000AF4 clr.w ($7e8,A5) [base+7E4]
000AF8 jsr $b10.l [base+7E8]
004D24 move.l D0, (A4)+
004D26 move.l D0, (A4)+
00D8F0 move.w #$0, ($7e8,A5)
00D8F6 move.w #$0, ($7e4,A5)
00D98C subi.w #$10, (... | 54.224138 | 350 | 0.626391 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | dino/lcs/base/7E8.asm | 3,145 | Assembly |
<%
from pwnlib.util import lists, packing, fiddling
from pwnlib.shellcraft import mips
%>
<%page args="string, append_null = True"/>
<%docstring>
Pushes a string onto the stack without using
null bytes or newline characters.
Args:
string (str): The string to push.
append_null (bool): Whether to append a single... | 24.346154 | 74 | 0.635071 | [
"MIT"
] | Acidburn0zzz/pwntools | pwnlib/shellcraft/templates/mips/pushstr.asm | 633 | Assembly |
; A139544: Numbers which are not the difference of two squares of positive integers.
; 1,2,4,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230
mov $1,$0
trn $1,3
add ... | 35.3 | 210 | 0.699717 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/139/A139544.asm | 353 | Assembly |
;
; Copyright (c) 2010 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... | 42.001824 | 116 | 0.395684 | [
"BSD-3-Clause"
] | louissong7912/SMP_libvpx | vp8/common/x86/loopfilter_sse2.asm | 69,093 | Assembly |
musicChan2FlandreTheme::
setRegisters $A5, $F4, $00, $00
.loop::
repeat 4
setFrequency NOTE_D * 2, $80
wait SEMIQUAVER
setFrequency NOTE_B, $80
wait SEMIQUAVER
setFrequency NOTE_F_SHARP, $80
wait SEMIQUAVER
setFrequency NOTE_D * 2, $80
wait SEMIQUAVER
setFrequency NOTE_B, $80
wait SEMIQUAVER
setFrequency N... | 20.092014 | 35 | 0.765834 | [
"MIT"
] | Gegel85/RemiFlap | src/sound/un_owen_was_her/channel2.asm | 11,573 | Assembly |
; A031378: a(n) = prime(4*n - 2).
; Submitted by Jon Maiga
; 3,13,29,43,61,79,101,113,139,163,181,199,229,251,271,293,317,349,373,397,421,443,463,491,521,557,577,601,619,647,673,701,733,757,787,821,839,863,887,929,953,983,1013,1033,1061,1091,1109,1151,1181,1213,1231,1277,1291,1307,1361,1399,1429,1451,1481,1493,1531,155... | 34.136364 | 452 | 0.69241 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/031/A031378.asm | 751 | Assembly |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosCLIAccess DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushe... | 14.891892 | 69 | 0.678766 | [
"BSD-3-Clause"
] | prokushev/FamilyAPI | dos/DosCLIAccess.asm | 551 | Assembly |
.data
.text
jmp @main
main:
sw $0 0[$ebp]
sw $0 4[$ebp]
sw $0 8[$ebp]
ld $8 0x0003
sw $8 4[$ebp]
popw $0
popw $0
popw $0
ld $v0 0x0002
syscall
| 9.533333 | 13 | 0.615385 | [
"MIT"
] | dalloriam/slang | argot/tests/data/var_decl.asm | 143 | Assembly |
; A006584: If n mod 2 = 0 then n*(n^2-4)/12 else n*(n^2-1)/12.
; 0,0,0,2,4,10,16,28,40,60,80,110,140,182,224,280,336,408,480,570,660,770,880,1012,1144,1300,1456,1638,1820,2030,2240,2480,2720,2992,3264,3570,3876,4218,4560,4940,5320
mov $1,$0
pow $1,2
sub $1,1
mov $2,$1
div $2,4
mul $0,$2
div $0,6
mul $0,2
| 25.583333 | 167 | 0.651466 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/006/A006584.asm | 307 | Assembly |
bits 32
section .text
extern isr_prehandler
%macro EXC_CODELESS 1
global isr%1
isr%1:
cli
push 0x00 ; Dummy error code
push %1 ; Interrupt number
jmp isr_prehandler ; Call first stage interrupt handler
%endmacro
%macro EXC_CODE 1
global isr%1
isr%1:
cli
; Erro... | 12.5 | 57 | 0.749167 | [
"MIT"
] | 0x1C1B/jatos | arch/x86/src/cpu/isr/interrupt.asm | 1,200 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xf40c, %r14
nop
nop
nop
cmp $65365, %r8
mov $0x6162636465666768, %r11
movq %r11, %xmm2
vmovups %ymm2, (%r14)
and %rcx, %rcx
lea addresses_D_ht+0x584c, %r12
add %r13,... | 40.942675 | 2,999 | 0.638301 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0.log_21829_638.asm | 6,428 | Assembly |
Name: Net.asm
Type: file
Size: 1218
Last-Modified: '1992-02-13T07:47:46Z'
SHA-1: 648CD56CCFAA9D6D098A239E189C84B887FA6F71
Description: null
| 20 | 47 | 0.807143 | [
"MIT"
] | prismotizm/gigaleak | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/Net.asm | 140 | Assembly |
;; @file
; IPRT - ASMBitFirstSet().
;
;
; Copyright (C) 2006-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (... | 30.83908 | 84 | 0.54044 | [
"MIT"
] | egraba/vbox_openbsd | VirtualBox-5.0.0/src/VBox/Runtime/win/amd64/ASMBitFirstSet.asm | 2,683 | Assembly |
org 0000h ;
MOV P1,#00h ;
principal:
setb p1.0 ;
lcall tempo ;
clr p1.0 ;
lcall tempo ;
setb p1.1 ;
lcall tempo ;
clr p1.1 ;
lcall tempo ;
setb p1.2 ;
lcall tempo ;
clr p1.2 ;
lcall tempo ;
setb p1.3 ;
lcall tempo ;
clr p1.3 ;
lcall tempo ;
... | 14.012903 | 18 | 0.487569 | [
"Unlicense"
] | Mutanne/hiworld | eng_mecat_bkp/vhdl_microcont/Lab01/prat1/orig_3v.asm | 2,172 | Assembly |
; unsigned long ftell_unlocked_fastcall(FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC _ftell_unlocked_fastcall
EXTERN asm_ftell_unlocked
_ftell_unlocked_fastcall:
push hl
ex (sp),ix
call asm_ftell_unlocked
pop ix
ret
| 12.9 | 53 | 0.767442 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/ftell_unlocked_fastcall.asm | 258 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xc128, %r8
nop
add %r11, %r11
movb (%r8), %cl
nop
nop
nop
nop
nop
dec %rbp
lea addresses_D_ht+0xd0a8, %rsi
lea addresses_A_ht+0x2918, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
xo... | 32.607759 | 2,999 | 0.656444 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_8011_104.asm | 7,565 | Assembly |
; A020793: Decimal expansion of 1/6.
; Submitted by Christian Krause
; 1,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
cmp $0,0
gcd $0,6
| 41.142857 | 199 | 0.5625 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/020/A020793.asm | 288 | Assembly |
; A158316: 400n^2 - 2n.
; 398,1596,3594,6392,9990,14388,19586,25584,32382,39980,48378,57576,67574,78372,89970,102368,115566,129564,144362,159960,176358,193556,211554,230352,249950,270348,291546,313544,336342,359940,384338,409536,435534,462332,489930,518328,547526,577524,608322,639920,672318,705516,739514,774312,809910,... | 192.363636 | 2,022 | 0.861531 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/158/A158316.asm | 2,116 | Assembly |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5092 DB 'f1(%d)', 0aH, 00H
$SG5101 DB 'Hello World!', 0aH, 00H
CONST ENDS
PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC printf
PUBLIC ?f1@@YAXH@Z ... | 22.868545 | 134 | 0.720591 | [
"MIT"
] | zmrbak/ReverseAnalysis | 配套代码/L027/L027/4.asm | 4,871 | Assembly |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Oki Microline print routines
FILE: printcomOkiBuffer.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HI... | 27.75 | 79 | 0.631632 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Driver/Printer/PrintCom/printcomOkiBuffer.asm | 999 | Assembly |
; A138406: a(n) = prime(n)^5 - prime(n)^3.
; 24,216,3000,16464,159720,369096,1414944,2469240,6424176,20486760,28599360,69293304,115787280,146928936,229241184,418046616,714718920,844369320,1349824344,1803871440,2072682576,3076563360,3938468856,5583354480,8586427584,10509070200,11591648016,14024292264,15384944520,1842290... | 137.6 | 1,252 | 0.886628 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/138/A138406.asm | 1,376 | Assembly |
; A152624: Decimal expansion of 7/2.
; 3,5,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,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
mov $1,3
mov $4,$0
add $1,$4
add $1,$4
clr $0,$4
| 31.888889 | 199 | 0.526132 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/152/A152624.asm | 287 | Assembly |
_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,%... | 29.147276 | 60 | 0.414863 | [
"MIT-0"
] | willtran98/MIT_xv6 | zombie.asm | 43,342 | Assembly |
; A129343: a(2n) = a(n), a(2n+1) = 4n+1.
; 0,1,1,5,1,9,5,13,1,17,9,21,5,25,13,29,1,33,17,37,9,41,21,45,5,49,25,53,13,57,29,61,1,65,33,69,17,73,37,77,9,81,41,85,21,89,45,93,5,97,49,101,25,105,53,109,13,113,57,117,29,121,61,125,1,129,65,133,33,137
mul $0,2
mov $1,1
lpb $0
mov $1,$0
dif $0,2
lpe
sub $1,1
| 28 | 204 | 0.597403 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/129/A129343.asm | 308 | Assembly |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAM_drawW(unsigned int tile, unsigned int lin, unsigned int col)
SE... | 20.965517 | 76 | 0.519737 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/arch/zx/nirvanam/c/sccz80/NIRVANAM_drawW.asm | 608 | Assembly |
SECTION "rom", ROM0
DS $8000
| 9.666667 | 19 | 0.689655 | [
"MIT"
] | AtariDreams/rgbds | test/link/rom0-tiny.asm | 29 | Assembly |
; A227438: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having two adjacent 1's and two adjacent 0's.
; Submitted by Christian Krause
; 4,16,62,240,932,3620,14056,54576,211912,822832,3194960,12405648,48169664,187037120,726243040,2819915904,10949400256,42515227456,165081604... | 43.105263 | 495 | 0.80464 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/227/A227438.asm | 819 | Assembly |
;Program to Convert a Binary digit to Decimal and vice versa
printm macro mess
lea dx,mess
mov ah,09h
int 21h
endm
new_line macro
mov ah,02h
mov dl,0dh
int 21h
mov dl,0ah
int 21h
endm
dec_input macro
local input,skip
; output: bx
xor bx,bx
mov ah,01h
int 21h
;if \r
cmp al,0dh
je skip
input:
and ax,... | 17.05036 | 62 | 0.582278 | [
"MIT"
] | neeladripal/bcse-lab | Systems Programming/Assignment 2/prog2.asm | 2,370 | Assembly |
; A276150 o=0: Sum of digits when n is written in primorial base (A049345); minimal number of primorials (A002110) that add to n.
; Coded manually 2021-02-26 by Antti Karttunen, https://github.com/karttu
;
; Note that this is equal to A001222(A276086(n)), although with that form
; we could compute this only up to n=23... | 70.864865 | 146 | 0.687262 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/276/A276150.asm | 2,622 | Assembly |
; A341523: Number of prime factors (with multiplicity) shared by n and sigma(n): a(n) = bigomega(gcd(n, sigma(n))).
; 0,0,0,0,0,2,0,0,0,1,0,2,0,1,1,0,0,1,0,1,0,1,0,3,0,1,0,3,0,2,0,0,1,1,0,0,0,1,0,2,0,2,0,2,1,1,0,2,0,0,1,1,0,2,0,3,0,1,0,3,0,1,0,0,0,2,0,1,1,1,0,1,0,1,0,2,0,2,0,1,0,1,0,3,0,1,1,2,0,3,1,2,0,1,1,3,0,0,1,0
s... | 68 | 201 | 0.605042 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/341/A341523.asm | 476 | Assembly |
; A189819: Partial sums of A189816.
; 0,1,2,2,2,2,2,2,2,2,3,4,4,5,6,6,7,8,8,9,10,10,11,12,12,13,14,14,15,16,16,16,16,16,16,16,16,17,18,18,18,18,18,18,18,18,19,20,20,20,20,20,20,20,20,21,22,22,22,22,22,22,22,22,23,24,24,24,24,24,24,24,24,25,26,26,26,26,26,26,26,26,27,28,28,28,28,28,28,28,28,29,30,30,31,32,32,33,34,34,35... | 46.391304 | 754 | 0.639175 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/189/A189819.asm | 1,067 | Assembly |
;=================================================
; Name: Moya, Branden
; Username: bmoya001@ucr.edu
;
; Lab: lab 5
; Lab section: 021
; TA: Bryan Marsh
;
;=================================================
.Orig x3000
;Instructions
AND R1,R1,#0
LD R1, POINTER
LD R2, COUNTER
LD R3, CHECKER
LD R4, COUNTER ;;2^n
LOO... | 12.356589 | 57 | 0.617315 | [
"Apache-2.0"
] | bmoya217/ucr | cs61/lab5/lab05_ex1.asm | 1,594 | Assembly |
lui $1,19434
ori $1,$1,52351
lui $2,30183
ori $2,$2,59896
lui $3,19807
ori $3,$3,4024
lui $4,13766
ori $4,$4,52118
lui $5,8799
ori $5,$5,31074
lui $6,26965
ori $6,$6,11913
mthi $1
mtlo $2
sec0:
nop
nop
nop
subu $5,$6,$2
sec1:
nop
nop
nor $2,$6,$1
subu $3,$6,$2
sec2:
nop
nop
sltiu $2,$4,4681
subu $3,$6,$2
se... | 11.639063 | 19 | 0.530004 | [
"Apache-2.0"
] | alxzzhou/BUAA_CO_2020 | P6/data_P6_2/cal_R_test25.asm | 7,449 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x22f1, %rbp
nop
nop
nop
nop
nop
inc %rdi
movw $0x6162, (%rbp)
nop
nop
add %rbp, %rbp
lea addresses_WC_ht+0x13429, %rcx
nop
nop
nop
nop
and %r12, %r12
mov $0x6162636465666768, %r9
movq %... | 48.673684 | 2,999 | 0.662413 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1580.asm | 4,624 | Assembly |
SECTION code_fp_am9511
PUBLIC log_fastcall
EXTERN asm_am9511_log_fastcall
defc log_fastcall = asm_am9511_log_fastcall
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _log_fastcall
defc _log_fastcall = asm_am9511_log_fastcall
ENDIF
| 16.928571 | 44 | 0.852321 | [
"Unlicense"
] | drunkfly/gamemyx | Tools/z88dk/libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/log_fastcall.asm | 237 | Assembly |
; A168102: a(n) = sum of natural numbers m such that n - 3 <= m <= n + 3.
; 6,10,15,21,28,35,42,49,56,63,70,77,84,91,98,105,112,119,126,133,140,147,154,161,168,175,182,189,196,203,210,217,224,231,238,245,252,259,266,273,280,287,294,301,308,315,322,329,336,343,350,357,364,371,378,385,392,399,406,413,420,427,434,441,448,... | 103.5 | 1,092 | 0.740741 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/168/A168102.asm | 1,242 | Assembly |
_primsrv: file format elf32-i386
Disassembly of section .text:
00000000 <is_prime>:
else // even
return next_pr(num-1); //become odd and return next_pr
}
*/
int is_prime(int number) {
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 10 ... | 34.615609 | 104 | 0.446639 | [
"MIT-0"
] | reutz19/xv6_ass2 | primsrv.asm | 59,435 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe909, %rsi
lea addresses_D_ht+0xd209, %rdi
nop
cmp %rbx, %rbx
mov $55, %rcx
rep movsw
nop
nop
nop
nop
xor $58418, %rbp
lea addresses_A_ht+0x1703, %rcx
clflush (%rcx)
nop
and %r15, %r1... | 45.711712 | 2,999 | 0.655893 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_zr_/i3-7100_9_0xca_notsx.log_21829_421.asm | 5,074 | Assembly |
# Test simple builtin call, 3 is
# the sqrt function, repeat 10 times
#
pushd 10.0
store 0
L1: load 0
pushs "Number = "
pushi 1
print
load 0
pushi 1
println
pushs "Square root = "
pushi 1
print
load 0
pushi 3
builtin
pushi 1
... | 15.2 | 36 | 0.486842 | [
"Apache-2.0"
] | Irwin1985/BookPart_2 | VirtualMachine/Win32/VMTests/assProg14.asm | 456 | Assembly |
include stdiolib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
STDIOLIB_JUMP sprintf siol_sprintf
code ends
end
| 13.083333 | 35 | 0.738854 | [
"BSD-3-Clause"
] | AnimatorPro/Animator-Pro | src/PJ/rexlib/stdiolib/sprintf.asm | 157 | Assembly |
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN __console_h
EXTERN __console_w
EXTERN __spc1000_mode
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN __tms9918_console_ioctl
INCLUDE "target/spc1000... | 20.688679 | 136 | 0.632011 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/spc1000/stdio/generic_console_ioctl.asm | 2,193 | Assembly |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dconst_0
EXTERN mm48__zero_no
; set AC = 0
;
; uses : bc, de, hl
defc am48_dconst_0 = mm48__zero_no
| 12.142857 | 34 | 0.711765 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_0.asm | 170 | Assembly |
; Provided under the CC0 license. See the included LICENSE.txt for details.
; every bank has this stuff at the same place
; this code can switch to/from any bank at any entry point
; and can preserve register values
; note: lines not starting with a space are not placed in all banks
;
; line below tells the com... | 19.30303 | 96 | 0.629513 | [
"CC0-1.0"
] | batari-Basic/batari-Basic | includes/banksw.asm | 1,274 | Assembly |
; A215206: Primes congruent to {2, 7} mod 11.
; Submitted by Jon Maiga
; 2,7,13,29,73,79,101,139,167,211,227,233,271,277,293,337,359,409,431,491,541,557,563,601,607,673,733,739,761,821,827,887,937,953,997,1019,1063,1069,1091,1129,1151,1201,1217,1223,1283,1289,1327,1399,1459,1481,1487,1531,1553,1597,1613,1619,1657,1663,... | 33.25 | 458 | 0.695489 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/215/A215206.asm | 798 | Assembly |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="fd, buf"/>
<%docstring>
Invokes the syscall fstat64. See 'man 2 fstat64' for more information.
Arguments:
fd(int): fd
buf(stat64): buf
</%docstring>
${syscall('SYS_fstat64', fd, buf)}
| 18.333333 | 71 | 0.665455 | [
"MIT"
] | FDlucifer/binjitsu | pwnlib/shellcraft/templates/aarch64/linux/fstat64.asm | 275 | Assembly |
; A254782: Indices of centered hexagonal numbers (A003215) which are also centered pentagonal numbers (A005891).
; Submitted by Jamie Morken(s4)
; 1,11,231,5061,111101,2439151,53550211,1175665481,25811090361,566668322451,12440892003551,273132955755661,5996484134620981,131649518005905911,2890292911995309051,634547945458... | 45.4375 | 470 | 0.841816 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/254/A254782.asm | 727 | Assembly |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5095 DB '1,2,7,10', 00H
ORG $+7
$SG5097 DB '3,4,5,6', 00H
$SG5099 DB '8', 0a1H, 0a2H, '9', 0a1H, 0a2H, '20', 0a1H, 0a2H, '21', 00H
ORG $+3
$SG5101 DB '22', 00H
... | 19.583673 | 134 | 0.7203 | [
"MIT"
] | zmrbak/ReverseAnalysis | 配套代码/L025/L025/2.1.asm | 4,798 | Assembly |
LW x1, 0(x2)
ADD x2, x1, x1
BNE x1, x2, EXIT
SUB x3, x5, x1
; This is to test the branch instruction
EXIT:
SW x2, 10(x1) | 15.125 | 40 | 0.661157 | [
"MIT"
] | Sai-Manish/Tomasulo-O3-processor | src/branch_test.asm | 121 | Assembly |
DATA SEGMENT
NUM1 DB ?
NUM2 DB ?
RESULT DB ?
MSG1 DB 10,13,"ENTER INT 1 : $"
MSG2 DB 10,13,"ENTER INT 2 : $"
MSG3 DB 10,13,"MUL : $"
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX,DATA
MOV DS,AX
LEA DX,MSG1
MOV AH,9
... | 11.915663 | 40 | 0.365015 | [
"MIT"
] | santo6774/CSE331L_Section_7_Summer20_NSU_Final | Script/8.asm | 989 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x8a58, %r9
nop
nop
nop
nop
nop
sub %r8, %r8
movw $0x6162, (%r9)
nop
nop
nop
nop
sub %r15, %r15
lea addresses_A_ht+0xcd20, %rdi
nop
nop
xor $47477, %rsi
mov $0x6162636465666... | 37.023256 | 2,999 | 0.660019 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_1835_1549.asm | 6,368 | Assembly |
; A015451: a(n) = 6*a(n-1) + a(n-2) for n > 1, with a(0) = a(1) = 1.
; 1,1,7,43,265,1633,10063,62011,382129,2354785,14510839,89419819,551029753,3395598337,20924619775,128943316987,794584521697,4896450447169,30173287204711,185936173675435,1145790329257321,7060678149219361,43509859224573487,268119833496660283,16522288602... | 56.25 | 893 | 0.846222 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/015/A015451.asm | 1,125 | Assembly |
%ifdef CONFIG
{
"RegData": {
"RAX": ["0x4010000000000000"],
"RBX": ["0x4000000000000000"]
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rcx, 0xe0000000
lea rdx, [rel data]
fld tword [rdx + 8 * 0]
lea rdx, [rel data2]
fld tword [rdx + 8 * 0]
fsubrp st1, st0
lea rdx, [rel data3]
fld tword... | 11.756098 | 44 | 0.591286 | [
"MIT"
] | Seas0/FEX | unittests/ASM/X87_F64/DE_E0_F64.asm | 482 | Assembly |
; A133623: Binomial(n+p, n) mod n where p=3.
; 0,0,2,3,1,0,1,5,4,6,1,11,1,8,6,9,1,16,1,11,8,12,1,21,1,14,10,15,1,26,1,17,12,18,1,31,1,20,14,21,1,36,1,23,16,24,1,41,1,26,18,27,1,46,1,29,20,30,1,51,1,32,22,33,1,56,1,35,24,36,1,61,1,38,26,39,1,66,1,41,28,42,1,71,1,44,30,45,1,76,1,47,32,48,1,81,1,50,34,51
mov $1,1
add $1,... | 33.818182 | 257 | 0.591398 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/133/A133623.asm | 372 | Assembly |
;++
;
; Copyright (c) Petr Benes. All rights reserved.
;
; Module:
;
; vcpu.asm
;
; Abstract:
;
; This module implements VM-Exit stub handler.
;
; Author:
;
; Petr Benes (@PetrBenes) 26-Jul-2018 - Initial version
;
; Environment:
;
; Kernel mode only.
;
;--
INCLUDE ksamd64.inc
INCLUDE ia32/common.inc
.CODE
... | 28.653333 | 79 | 0.674577 | [
"MIT"
] | Cloutain/hvpp | src/hvpp/hvpp/vcpu.asm | 6,447 | Assembly |
;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.3.1 Wed Sep 04 21:56:19 2019
;--------------------------------------------------------
.module string
;--------------------------------------------------------
; Public variables in this module
;-... | 16.837535 | 57 | 0.489103 | [
"MIT"
] | 230-v/gb-studio | buildTools/win32-x64/gbdk/libc/string.asm | 6,011 | Assembly |
%macro addbyte 3
; first is memory location to output
; second is the memory location of the string
; third parameter is the base of the number
mov eax, [%1]
mov di, 0
%%loopagain:
mov edx, 0
div %3
xchg eax, edx
cmp al, 0Ah
js %%addvalue
add al, 7
%%addvalue:
add al,48
mov [%2], al
mov al,[%1]
a... | 13.184615 | 46 | 0.652275 | [
"Apache-2.0"
] | zlb323/Portfolio | BaseChange.asm | 857 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xcf85, %r11
nop
nop
xor %r9, %r9
mov (%r11), %cx
nop
nop
nop
cmp %rsi, %rsi
lea addresses_D_ht+0x8275, %rsi
lea addresses_normal_ht+0x1ae61, %rdi
nop
nop
nop
nop
nop
add $55857... | 27.755814 | 2,009 | 0.650468 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_670_1674.asm | 7,161 | Assembly |
; void memcpy(void *dest, const void *source, int count)
_mymemcpy::
ldhl sp,#4
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld c,(hl)
inc hl
ld b,(hl)
ldhl sp,#2
ld a,(hl+)
ld h,(hl)
ld l,a
inc b
inc c
jr 2$
1$:
ld a,(de)
ld (hl+),a
inc de
2$:
dec c
jr nz,1$
dec b
jr nz,1$
ret
| 10.103448 | 56 | 0.552901 | [
"MIT"
] | CelestialAmber/tobutobugirl-dx | mymemcpy.asm | 293 | Assembly |
;
; Amstrad CPC library
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** Raúl Simarro, Artaburu 2009 **
; ******************************************************
;
; $Id: cpc_DisableFirmware.asm $
;
SECTION code_... | 18.96875 | 56 | 0.484349 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/cpc/cpcrslib/cpc_DisableFirmware.asm | 609 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1af92, %r10
nop
nop
nop
dec %r11
mov (%r10), %rdi
nop
nop
sub %r14, %r14
lea addresses_UC_ht+0x16f8a, %rsi
lea addresses_UC_ht+0x73d2, %rdi
nop
nop
nop
sub %rbx, %rbx
mov $4, %rcx... | 41.345588 | 2,999 | 0.659968 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_505.asm | 5,623 | Assembly |
_genUniR: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... | 34.120219 | 60 | 0.421021 | [
"MIT-0"
] | ansumanpalo/xv6-the_project | genUniR.asm | 43,708 | Assembly |
; A231550: Permutation of nonnegative integers: for each bit[i] in the binary representation, except the most and the least significant bits, set bit[i] = bit[i] XOR bit[i-1], where bit[i-1] is the less significant bit, XOR is the binary logical exclusive or operator.
; Submitted by Christian Krause
; 0,1,2,3,4,7,6,5,8... | 41.166667 | 307 | 0.674764 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/231/A231550.asm | 741 | Assembly |
;
; TBBlue / ZX Spectrum Next project
; Copyright (c) 2010-2018
;
; RTC SIG - Victor Trucco and Tim Gilberts
;
; All rights reserved
;
; Redistribution and use in source and synthezised forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; Redistributions of source cod... | 22.041763 | 128 | 0.568526 | [
"Apache-2.0"
] | Threetwosevensixseven/CSpectPlugins | RTC/AsmDebug/rtcsig.asm | 9,501 | Assembly |
_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... | 29.979272 | 60 | 0.416142 | [
"MIT-0"
] | AlonYeroushalmi/Assignment_1 | stressfs.asm | 53,513 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Brother NIKE 56-jet printer driver
FILE: nike56DriverInfo.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- --... | 32.39759 | 79 | 0.463741 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Driver/Printer/DotMatrix/Nike56/nike56DriverInfo.asm | 2,689 | Assembly |
section .text
global _start ; must be declared for using gcc
_start: ; tell linker entry point
mov ax, 8h ; getting 8 in the ax (EVEN)
and ax, 1 ; and ax with 1
jz evnn
mov eax, 4 ; system call number (sys_write)
mov ... | 32.470588 | 61 | 0.526268 | [
"MIT"
] | seanmcelroy/picovm | picovm/asm-src/logical-instructions.asm | 1,104 | Assembly |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: Pen library
MODULE: Ink
FILE: inkCursors.asm
AUTHOR: Andrew Wilson, Oct 22, 1991
REVISION HISTORY:
Name Date Description
---- ---- -----------
at... | 21.65812 | 79 | 0.656275 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Library/Pen/Ink/inkCursors.asm | 2,534 | Assembly |
; A008255: Coordination sequence T2 for feldspar.
; 1,4,10,22,38,56,82,112,142,182,226,268,322,380,434,502,574,640,722,808,886,982,1082,1172,1282,1396,1498,1622,1750,1864,2002,2144,2270,2422,2578,2716,2882,3052,3202,3382,3566,3728,3922,4120,4294,4502,4714,4900,5122,5348,5546,5782,6022,6232,6482,6736,6958,7222,7490,7724... | 58.133333 | 1,439 | 0.777523 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/008/A008255.asm | 1,744 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... | 38.911439 | 78 | 0.591465 | [
"MIT"
] | Abhisheknishant/GKL | src/main/native/compression/isa-l-master/igzip/data_struct2.asm | 10,545 | Assembly |
; A098179: Expansion of (1-3*x+3*x^2)/(1-5*x+10*x^2-10*x^3+4*x^4).
; 1,2,3,5,11,27,63,135,271,527,1023,2015,4031,8127,16383,32895,65791,131327,262143,523775,1047551,2096127,4194303,8390655,16781311,33558527,67108863,134209535,268419071,536854527,1073741823,2147516415
add $0,2
cal $0,38504 ; Sum of every 4th entry of r... | 49 | 200 | 0.734694 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/098/A098179.asm | 392 | Assembly |
; rept.asm
; Test of rept and irp directives.
; Macro with rept and irp inside.
hola macro
local unused, unused2
unused rept 2
db 'Rept inside macro', 0
endm
unused2 irp ?reg, af,bc, de, hl
push ?reg
endm
endm ; hola
;-------------------------------------
rept 10
db 'Hello, reptworld'
... | 12.847222 | 54 | 0.605405 | [
"Apache-2.0"
] | wilsonpilon/msx-menu | samples/rept.asm | 925 | Assembly |
;
; Copyright (c) 2013 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... | 41.617692 | 106 | 0.49391 | [
"MIT"
] | amd/Chromium-WebCL | src/third_party/libvpx/source/libvpx/vp9/common/arm/neon/vp9_short_idct32x32_add_neon.asm | 54,103 | Assembly |
; Glidix bootloader (gxboot)
;
; Copyright (c) 2014-2017, Madd Games.
; 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 source code must retain the above copyright notice,... | 28.4375 | 80 | 0.734432 | [
"BSD-2-Clause"
] | madd-games/glidix | gxboot/eltorito-stage1.asm | 2,730 | Assembly |
; Original address was $B501
; 1-4
.word W104_EndL ; Alternate level layout
.word W104_EndO ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG
.byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte... | 66.827586 | 85 | 0.504128 | [
"Unlicense"
] | narfman0/smb3_pp1 | PRG/levels/HighUp/1-4.asm | 1,938 | Assembly |
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Solitaire
FILE: cards.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jon 6/90 Initial Version
DESCRIPTION:
... | 24.40929 | 80 | 0.634878 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Appl/Games/Solitaire/solitaire.asm | 27,851 | Assembly |
extern VmxVmExitHandler
extern RestoreRegisters
extern VmxBasicExitReasonVmcall
extern MhvVmxEntryHandler
_GuestEntryRip:
; In case of VM EXIT
; Set RIP to this addr
save_proc_state
mov rcx, rsp
sub rsp, 0x20
call MhvVmxEntryHandler
; HLT Instructions/sec - Number of CPU halts per seconds on ... | 20.434783 | 117 | 0.761702 | [
"MIT"
] | DenisUBB/Bare-Metal-Lightweight-Hypervisor | minihv/_entry.asm | 470 | Assembly |
; A037601: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0.
; Submitted by Jamie Morken(s2)
; 1,11,88,705,5643,45144,361153,2889227,23113816,184910529,1479284235,11834273880,94674191041,757393528331,6059148226648,48473185813185,387785486505483,3102283892043864
seq $0,3... | 55.75 | 168 | 0.79148 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/037/A037601.asm | 446 | Assembly |
;
; libasm.asm: liberia assembler para usuario.
;
GLOBAL getRegs
EXTERN inforeg
section .text
;
; Funcion para obtener los valores de todos los registros y asi poder imprimirlos (inforeg)
;
getRegs:
mov [regMem], rax
mov [regMem + 1*8], rbx
mov [regMem + 2*8], rcx
mov [regMem + 3*8], rdx
mov [reg... | 20.575 | 91 | 0.589307 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | glpecile/2020Q2_ARQ_TPE | Userland/SampleCodeModule/libasm/libasm.asm | 823 | Assembly |
;****************************************************************************
;* The Mutating Interrupt Virus -Soltan Griss-
;* [RABID] -=+ Front 242 +=-
;*
;*
;* Well this is my Third Release of many to come. This virus uses the latest
;* of RABI... | 27.15625 | 79 | 0.425777 | [
"MIT"
] | 010001111/Family | MSDOS/Virus.MSDOS.Unknown.mutatint.asm | 11,297 | Assembly |
; A021095: Decimal expansion of 1/91.
; 0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0,9,8,9,0,1,0
sub $0,4
pow $0,2
lpb $0
mul $0,5
mod $0,6
lpe
add $0,8
mod $0,10
| 25.75 | 199 | 0.533981 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/021/A021095.asm | 309 | Assembly |
* Set exception vector (per job) V2.00 1986 Tony Tebby QJUMP
*
section qd
*
xdef qd_exv
*
xref sms_ckid
xref sms_rte
*
include dev8_keys_jcbq
include dev8_keys_sys
*
* d1 cr job id
* a0 sp base of job
* a1 c p base of table
*
* all other registers preserved
*
qd_exv
bsr.l sms_ckid check id and set a0
bn... | 15.793103 | 65 | 0.696507 | [
"BSD-2-Clause"
] | olifink/smsqe | smsq/qd/exv.asm | 458 | Assembly |
; A022314: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0, a(1) = 9.
; 0,9,10,20,31,52,84,137,222,360,583,944,1528,2473,4002,6476,10479,16956,27436,44393,71830,116224,188055,304280,492336,796617,1288954,2085572,3374527,5460100,8834628,14294729,23129358,37424088,60553447,97977536,158530984,256508521,415039506,671548028,10865... | 47.285714 | 501 | 0.774924 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/022/A022314.asm | 662 | Assembly |
; A168299: a(n) = 1 + 3^n * n^3.
; 1,4,73,730,5185,30376,157465,750142,3359233,14348908,59049001,235782658,918330049,3502727632,13124466937,48427561126,176319369217,634465620820,2259436291849,7971951402154,27894275208001,96873331012984,334145522716633,1145440056788110,3904305912313345
mov $4,3
pow $4,$0
mov $2,$4
mul ... | 23.388889 | 252 | 0.738717 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/168/A168299.asm | 421 | Assembly |
//==============================================================================
// void parse(int code, char* parserAddress, WINDOW* window)
// In:
// r0: code
// r1: parser address
// r2: window
// Out:
// r0: control code length (0 if not matched)
//=======================================================... | 20.071429 | 80 | 0.523455 | [
"MIT"
] | John-Enigma/Mother2GbaTranslation | src/m2-customcodes.asm | 3,091 | Assembly |
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTExtGet, 3, Wintab, -, 63
| 20.25 | 40 | 0.790123 | [
"Unlicense"
] | SmileyAG/cstrike15_src | public/wintab/wintabx/extget.asm | 81 | Assembly |
; Writing Text Colors (WriteColors.asm)
; Demonstration of WriteConsoleOutputCharacter,
; and WriteConsoleOutputAttribute functions.
INCLUDE Irvine32.inc
.data
outHandle HANDLE ?
cellsWritten DWORD ?
xyPos COORD <10,2>
; Array of character codes:
buffer BYTE 1,2,3,4,5,6,7,8,9,10,11,12,13,... | 23.609756 | 53 | 0.705579 | [
"Apache-2.0"
] | William0Friend/my_masm | ch11/WriteColors.asm | 968 | Assembly |
; Don't even think of reading this code
; It was automatically generated by md5-586.pl
; Which is a perl program used to generate the x86 assember for
; any of elf, a.out, BSDI,Win32, or Solaris
; eric <eay@cryptsoft.com>
;
TITLE md5-586.asm
.486
.model FLAT
_TEXT SEGMENT
PUBLIC _md5_block_x86
_md5_blo... | 18.443959 | 64 | 0.62789 | [
"MIT",
"Unlicense"
] | ab300819/applied-cryptography | cryptl30/hash/m-win32.asm | 12,671 | Assembly |
@
@ Copyright (c) 2016, Texas Instruments Incorporated
@
@ 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 a... | 44.74026 | 81 | 0.601742 | [
"MIT"
] | brandonbraun653/Apollo | lib/am335x_sdk/ti/csl/arch/a15/V1/ecc_a15_gcc.asm | 3,445 | Assembly |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\kernel3... | 33.446154 | 88 | 0.462511 | [
"MIT"
] | dindoliboon/archive | asm/masm32/infl/tks_infl.asm | 4,348 | Assembly |
_h2o: file format elf32-i386
Disassembly of section .text:
00001000 <init_qs>:
void init_qs(struct queues *);
void add_qs(struct queues *, int);
int empty_qs(struct queues *);
int pop_qs(struct queues *);
void init_qs(struct queues *q){
1000: 55 push %ebp
1001: 89 e5 ... | 38.605758 | 84 | 0.450968 | [
"MIT-0"
] | jhsie007/xv6 | h2o.asm | 100,568 | Assembly |
; A179449: Decimal expansion of the volume of great icosahedron with edge length 1.
; Submitted by Christian Krause
; 3,1,8,3,0,5,0,0,9,3,7,5,0,8,7,6,2,6,4,9,6,1,7,7,6,3,8,0,2,8,6,3,4,9,0,1,8,9,9,7,4,2,3,5,0,1,6,1,8,6,4,2,8,1,5,5,3,7,9,2,8,1,4,4,1,2,2,8,2,9,4,7,6,5,0,9,1,4,6,2,5,2,4,3,9,9,3,9,9,6,5,0,8,8,4,0,7,1,8,7
a... | 20.384615 | 201 | 0.562264 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/179/A179449.asm | 530 | Assembly |
# Lab 5
# Bit Manipulation (sb-exp-man) -> (man-exp-sb)
# lab lab
.text
main:
li $v0, 5
syscall
move $a0, $v0
srl $t0, $a0, 31 #sb
sll $t1, $a0, 9 #man
sll $t2, $a0, 1
andi $t2, $t2, 0xff800000
srl $t2, $t2, 23 #exp
or $a0, $t0, $t1
or $a0, $a0, $t2
li $v0, 1
syscall
li $v0, 10
syscall
| 12.038462 | 47 | 0.543131 | [
"MIT"
] | rizarae/rizarae.github.io | CS21/asm/bm.asm | 313 | Assembly |
; A054879: Closed walks of length 2n along the edges of a cube based at a vertex.
; 1,3,21,183,1641,14763,132861,1195743,10761681,96855123,871696101,7845264903,70607384121,635466457083,5719198113741,51472783023663,463255047212961,4169295424916643,37523658824249781,337712929418248023,3039416364764232201,2735474728287808... | 88.4 | 744 | 0.900452 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/054/A054879.asm | 884 | Assembly |
; Implementation of float-to-integer conversion as needed by MSVC.
global __ftol2
global __ftol2_sse
section ftol text
__ftol2:
__ftol2_sse:
push eax
fisttp dword [esp]
pop eax
cdq
ret
| 13.0625 | 67 | 0.717703 | [
"MIT"
] | in4k/SailingBeyond | Outside/src/ftol.asm | 209 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd1e3, %rsi
lea addresses_D_ht+0x12053, %rdi
nop
nop
cmp %r12, %r12
mov $100, %rcx
rep movsq
sub %r10, %r10
lea addresses_normal_ht+0x1d8c3, %r8
and $15945, %rbp
mov (%r8), %ed... | 34.706468 | 2,999 | 0.65195 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_1765.asm | 6,976 | Assembly |
; A047605: Numbers that are congruent to {0, 2, 3, 5} mod 8.
; 0,2,3,5,8,10,11,13,16,18,19,21,24,26,27,29,32,34,35,37,40,42,43,45,48,50,51,53,56,58,59,61,64,66,67,69,72,74,75,77,80,82,83,85,88,90,91,93,96,98,99,101,104,106,107,109,112,114,115,117,120,122,123
mov $1,$0
add $1,$0
bin $0,2
gcd $0,2
add $1,$0
sub $1,2
| 31.7 | 197 | 0.640379 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/047/A047605.asm | 317 | Assembly |
main.elf: file format elf32-littleriscv
Disassembly of section .text:
00000000 <_start>:
0: 00000037 lui zero,0x0
00000004 <__crt0_pointer_init>:
4: 80002117 auipc sp,0x80002
8: ff810113 addi sp,sp,-8 # 80001ffc <__ctr0_io_space_begin+0x800021fc>
c: 800... | 48.766007 | 94 | 0.559701 | [
"BSD-3-Clause"
] | matejpolj/neorv32 | sw/example/processor_check/main.asm | 187,359 | Assembly |
;*
;* Copyright (c) 2004-2012, Dennis Kuschel.
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* 1. Redistributions of source code must retain the above copyright
;* notice... | 36.434783 | 78 | 0.551204 | [
"BSD-3-Clause"
] | picoos/legacy | ports/x86dos/arch_a.asm | 9,218 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.