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 |
|---|---|---|---|---|---|---|---|---|
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc ... | 33.71789 | 60 | 0.416253 | [
"MIT-0"
] | shahendahamdy/xv6-threads | ln.asm | 44,103 | Assembly |
; lzo1c_s1.asm -- lzo1c_decompress_asm
;
; This file is part of the LZO real-time data compression library.
;
; Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
; Copyright (C) 2008 Markus... | 46.298507 | 69 | 0.741457 | [
"MIT"
] | Infoss/conf-profile-4-android | ConfProfile/jni/lzo/asm/i386/src_masm/lzo1c_s1.asm | 3,102 | Assembly |
.size 8000
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
xor a, a
ldff(26), a
ld a, 80
ldff(26), a
ld a, 77
ldff(24), a
ld a, 11
ldff(25), a
ld a, 80
ldff(11), a
ld a, 80
ldff(12), a
ld a, c0
ldff(13), a
ld a, 87
ldff(14), a
ld b, 81
lwaitpos:
dec b
jrnz lwaitpos
ld a, 80
lmodulate:
xor a... | 9.822222 | 17 | 0.595023 | [
"MIT"
] | Manurocker95/GiovanniEmulator | GIOVANNI/gambatte/test/hwtests/sound/ch1_duty2_pattern_pos8_dmg08_cgb04c_outaudio1.asm | 442 | Assembly |
; A212565: Number of (w,x,y,z) with all terms in {1,...,n} and w+x>=2y+2z.
; 0,0,1,8,28,74,159,304,528,860,1325,1960,2796,3878,5243,6944,9024,11544,14553,18120,22300,27170,32791,39248,46608,54964,64389,74984,86828,100030,114675,130880,148736,168368,189873,213384,239004,266874,297103,329840,365200,403340,444381,488488,5... | 42.130435 | 691 | 0.74613 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/212/A212565.asm | 969 | Assembly |
SECTION "Interrupt vectors", ROM0[$0040]
; VBlank
VBlank_int::
push af
push bc
call VBlankHandler
pop bc
pop af
reti
; STAT
STAT_int::
push af
ld a, [rSTAT]
push hl
jp STATHandler
nop
; Timer
Timer_int::
reti
; Fitting these two functions in the spare bytes for MAXIMUM DATA... | 14.866667 | 81 | 0.646861 | [
"Apache-2.0"
] | ISSOtm/Aevilia-GB | home/interrupts.asm | 892 | Assembly |
ADDR EQU #6000 ;START OF CODE
TABL EQU #FF00
ORG ADDR
LD HL,TABL
LD B,L
FAD_LP LD D,L
LD A,D
AND 1+2+4
OR A
JR Z,NODINK
DEC D
NODINK LD A,D
AND 8+16+32
OR A
JR Z,NODPAP
LD A,D
SUB 8
LD D,A
NODPAP LD... | 18.017241 | 62 | 0.42488 | [
"MIT"
] | alexanderbazhenoff/zx-spectrum-various | loaders_patches_etc/screen_fade0s.asm | 1,045 | Assembly |
; Assembly for arraystr-bytecode.bas
; compiled with mcbasic
; Equates for MC-10 MICROCOLOR BASIC 1.0
;
; Direct page equates
DP_LNUM .equ $E2 ; current line in BASIC
DP_TABW .equ $E4 ; current tab width on console
DP_LPOS .equ $E6 ; current line position on console
DP_LWID .equ $E7 ; current line width of console
; ... | 13.276683 | 71 | 0.734277 | [
"MIT"
] | gregdionne/mcbasic | tests/arraystr-bytecode.asm | 16,171 | Assembly |
SECTION .text
GLOBAL test
test:
%define nop2 db 0x66, 0x90 ; 66 nop
%define nop3 db 0x0f, 0x1f, 0x00 ; nop DWORD ptr [EAX]
%define nop4 db 0x0f, 0x1f, 0x40, 0x00 ; nop... | 52.041667 | 126 | 0.530024 | [
"Apache-2.0"
] | cryptoptusenix/assemblyline | test/nop.asm | 1,249 | Assembly |
; A021332: Decimal expansion of 1/328.
; 0,0,3,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0,4,8,7,8,0
add $0,1
mov $1,10
pow $1,$0
mul $1,9
div $1,2952
mod $1,10
mov $0,$1
| 28.181818 | 199 | 0.541935 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/021/A021332.asm | 310 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x15d58, %rsi
lea addresses_WT_ht+0x1070, %rdi
nop
nop
and %rdx, %rdx
mov $74, %rcx
rep movsq
nop
nop
cmp $36951, %rsi
lea addresses_WC_ht+0x1c470, %r11
nop
nop
nop
nop
nop
sub %rdi,... | 37.656627 | 2,999 | 0.662134 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1114.asm | 6,251 | Assembly |
;;
;; Copyright (c) 2017-2018, 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... | 56.689655 | 81 | 0.762165 | [
"Apache-2.0"
] | intel/oim | vendor/github.com/spdk/spdk/intel-ipsec-mb/avx512/mb_mgr_hmac_sha_224_submit_avx512.asm | 1,644 | Assembly |
;;
;; Copyright (c) 2019-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... | 40.172489 | 89 | 0.540355 | [
"BSD-3-Clause"
] | clayne/intel-ipsec-mb | lib/avx512/aes_cbc_enc_vaes_avx512.asm | 36,798 | Assembly |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... | 35.413534 | 80 | 0.571338 | [
"Apache-2.0"
] | ymarkovitch/ipp-crypto | sources/ippcp/asm_intel64_gas_converted/linux/nonpic/y8/singlecpu/pcprij128decryptecbpipee9as.asm | 4,710 | Assembly |
; A170687: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^50 = I.
; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984... | 47.5 | 214 | 0.794737 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/170/A170687.asm | 380 | Assembly |
; A001966: v-pile counts for the 4-Wythoff game with i=2.
; Submitted by Jamie Morken(w4)
; 2,7,13,18,23,28,34,39,44,49,54,60,65,70,75,81,86,91,96,102,107,112,117,123,128,133,138,143,149,154,159,164,170,175,180,185,191,196,201,206,212,217,222,227,233,238,243,248,253,259,264,269,274,280,285,290,295,301,306,311,316,322,3... | 43.461538 | 380 | 0.704425 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/001/A001966.asm | 565 | Assembly |
include io.h
cr equ 10
lf equ 13
.model small
.stack 200h
.data
newline db cr,lf,0
str_in db 10 dup(?)
prompt db cr,lf,'insert string : ',0
.code
main proc
mov ax,@data
mov ds,ax
;-------------------------------------------
clrscr
output prompt
inputs str_in
mov s... | 13.770492 | 69 | 0.435714 | [
"MIT"
] | amirshnll/assembly-exercises | exercises/res.asm | 840 | Assembly |
// check atomic
bneq r1 r0 .child //will not jump
lbi r19 1
slbi r19 0x0100 // r19 is at start pc
lbi r21 1
slbi r21 0x0400 // r21 is pointing to heap
addi r25 r21 2 // r25 = 0x10402
addi r7 r0 10
st r25 r7 0 // i: mem[0x10402] = 10
lbi r12 1
slbi r12 0xFF
.loop
ld r10 r25 0 //r10 = i
addi r10 r10... | 18.684211 | 43 | 0.602817 | [
"MIT"
] | JPShen-UWM/ThreadKraken | sw/Demo/single_thread.asm | 710 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
006216 move.w ($8,A3), ($14,A4) [boss+13, container+13, enemy+13]
00621C move.b ($a,A3), ($36,A4) [boss+14, container+14, enemy+14]
copyright zengfr site:http://github.com/zengfr/romhack
| 35.428571 | 67 | 0.701613 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | ffight/lcs/boss/14.asm | 248 | Assembly |
; A285197: Expansion of (1-6*x+11*x^2-5*x^3) / ((1-x)*(1-3*x)*(1-3*x+x^2)).
; Submitted by Jamie Morken(s1)
; 1,1,2,6,20,67,221,717,2294,7258,22760,70863,219353,675769,2073674,6342414,19345052,58867195,178779893,542042565,1641058046,4962262306,14989121072,45235277511,136407241265,411058035697,1237981634066,372653117122... | 41.529412 | 481 | 0.787535 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/285/A285197.asm | 706 | Assembly |
;;
;; Copyright (c) 2012-2020, 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... | 29.714286 | 81 | 0.65483 | [
"BSD-3-Clause"
] | kevintraynor/intel-ipsec-mb | sse/aes_xcbc_mac_128_x4.asm | 9,152 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rbp
push %rdx
push %rsi
lea addresses_A_ht+0x1cbd9, %rdx
dec %rsi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
vmovups %ymm5, (%rdx)
nop
add $53958, %rsi
lea addresses_WC_ht+0x119b5, %r14
nop
nop
nop
nop
add $5223, %r10
mov $0x6... | 48.421569 | 2,999 | 0.661672 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1424.asm | 4,939 | Assembly |
; Aula 12 - SSE
; a12e05.asm
; Aritmética Packed de SP e DP
; nasm -f elf64 a12e05.asm ; gcc -m64 -no-pie a12e05.o -o a12e05.x
%define _exit 60
section .data
align 32, db 0
vetSP1 : dd 13.3, 14.4, 15.5, 16.6
vetSP2 : dd 3.3, 4.4, 5.5, 6.6
vetSPZ : dd 0, 0, 0, 0 ; desalinhou 32b
... | 21.378788 | 66 | 0.562721 | [
"MIT"
] | bellorini/unioeste | Etapa 02/Aula 12 - SSE/codes/a12e05.asm | 1,412 | Assembly |
SECTION code_fp_math32
PUBLIC ___fssub_callee
EXTERN cm32_sdcc_fssub_callee
defc ___fssub_callee = cm32_sdcc_fssub_callee
| 20 | 49 | 0.792857 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fssub_callee.asm | 140 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; normal.s
;
; Copyright (C) Advanced RISC Machines Li... | 24.775862 | 98 | 0.501044 | [
"MIT"
] | pmache/singularityrdk | SOURCE/base/Kernel/Native/arm/Crt/normal.asm | 1,437 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x115e9, %rsi
lea addresses_WC_ht+0x3969, %rdi
nop
nop
nop
nop
nop
dec %r11
mov $49, %rcx
rep movsb
nop
nop
cmp %r11, %r11
lea addresses_WC_ht+0x196d1, %r14
nop
add $18282, %r9... | 44.396552 | 2,999 | 0.661748 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_287.asm | 5,150 | Assembly |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="sig, handler"/>
<%docstring>
Invokes the syscall signal. See 'man 2 signal' for more information.
Arguments:
sig(int): sig
handler(sighandler_t): handler
</%docstring>
${syscall('SYS_signal', sig, handler)}
| 21 | 69 | 0.690476 | [
"MIT"
] | IMULMUL/python3-pwntools | pwnlib/shellcraft/templates/mips/android/signal.asm | 294 | Assembly |
;// TI File $Revision: /main/4 $
;// Checkin $Date: July 30, 2007 10:28:57 $
;//###########################################################################
;//
;// FILE: DSP2833x_usDelay.asm
;//
;// TITLE: Simple delay function
;//
;// DESCRIPTION:
;//
;// This is a simple delay function that can be used to insert... | 34.558442 | 79 | 0.541526 | [
"CC0-1.0"
] | zhanglongqi/CAN-on-DSP-TMS320F28335 | lib/DSP2833x_usDelay.asm | 2,661 | Assembly |
; A282413: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 467", based on the 5-celled von Neumann neighborhood.
; 1,1,7,0,31,0,127,0,511,0,2047,0,8191,0,32767,0,131071,0,524287,0,2097151,0,8388607,0,33554431,... | 95.153846 | 926 | 0.843169 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/282/A282413.asm | 1,237 | Assembly |
; A192460: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments.
; Submitted by Jamie Morken(w1)
; 0,2,13,123,1487,21871,378942,7557722,170519635,4293742365,119359055585,3630473717035,119930672906880,4275825418586810,163638018718726915,6690920298998362845,291099044600505086165,1... | 25.789474 | 204 | 0.72449 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/192/A192460.asm | 490 | Assembly |
; A070909: Triangle read by rows giving successive states of cellular automaton generated by "Rule 28" and by "Rule 156".
; 1,1,1,1,0,1,1,0,1,1,1,0,1,0,1,1,0,1,0,1,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,... | 30 | 199 | 0.57381 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/070/A070909.asm | 420 | Assembly |
; Flowchart Example (Flowchart.asm)
; Implements the flowchart in Figure 6-2,
; Calculates the sum of all array elements larger than
; a given value (sample).
INCLUDE Irvine32.inc
.data
sum DWORD 0
sample DWORD 50
array DWORD 10,60,20,33,72,89,45,65,72,18
ArraySize = ($ - Array) / TYPE array
.code
mai... | 13.72093 | 54 | 0.686441 | [
"Apache-2.0"
] | alieonsido/ASM_TESTING | Irvine/Examples/ch06/32 bit/Flowchart.asm | 590 | Assembly |
; Konami VRC4e: (up to 256KB) PRG-ROM + (0,2,8)KB PRG-RAM + (up to 512KB) CHR-ROM
; http://bootgod.dyndns.org:7777/search.php?keywords=23&kwtype=pcb
;------------------------------------------------------------------------------;
; number of 16K PRG banks
PRG_BANKS = $04
; number of 8K CHR banks
; Valid values: $02 (1... | 39.056604 | 83 | 0.613527 | [
"Apache-2.0"
] | master-g/childhood | nes_corelib/header/023/VRC4e.asm | 2,070 | Assembly |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2018 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... | 55.65625 | 72 | 0.703537 | [
"BSD-3-Clause"
] | kevintraynor/intel-ipsec-mb | sse/gcm256_sse.asm | 1,781 | Assembly |
; A083744: a(1) = 1; if a(n-1) + n is composite then a(n) = a(n-1) + n, else a(n) = a(n-1).
; 1,1,4,8,8,14,21,21,30,40,51,63,76,90,105,121,138,156,175,195,216,238,261,285,310,336,363,391,420,450,481,513,546,580,615,651,688,726,765,805,846,888,931,975,1020,1066,1113,1161,1210,1260,1311,1363,1416,1470,1525,1581,1638,1696... | 54.677419 | 1,297 | 0.721534 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/083/A083744.asm | 1,695 | Assembly |
; A169622: a(n) = a(n-1) + Fibonacci(n), a(1)=5.
; 5,6,8,11,16,24,37,58,92,147,236,380,613,990,1600,2587,4184,6768,10949,17714,28660,46371,75028,121396,196421,317814,514232,832043,1346272,2178312,3524581,5702890,9227468,14930355,24157820,39088172,63245989,102334158,165580144,267914299,433494440,701408736,1134903173,183... | 66.923077 | 732 | 0.831034 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/169/A169622.asm | 870 | Assembly |
; int scanf_unlocked(const char *format, ...)
SECTION code_clib
SECTION code_stdio
PUBLIC _scanf_unlocked
EXTERN asm_scanf_unlocked
_scanf_unlocked:
push ix
call asm_scanf_unlocked
pop ix
ret
| 11.473684 | 45 | 0.738532 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/scanf_unlocked.asm | 218 | Assembly |
; A265021: Sum of fifth powers of the first n even numbers.
; 0,32,1056,8832,41600,141600,390432,928256,1976832,3866400,7066400,12220032,20182656,32064032,49274400,73574400,107128832,152564256,213030432,292265600,394665600,525356832,690273056,896236032,1151040000,1463540000,1843744032,2302909056,2853640832,3509997600,4... | 46.571429 | 493 | 0.826687 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/265/A265021.asm | 652 | Assembly |
; A120785: Denominators of partial sums of Catalan numbers scaled by powers of 1/16.
; 1,16,128,4096,32768,524288,4194304,268435456,2147483648,34359738368,274877906944,8796093022208,70368744177664,1125899906842624,9007199254740992,1152921504606846976
mul $0,2
add $0,2
seq $0,46161 ; a(n) = denominator of binomial(2n,n... | 42 | 165 | 0.794643 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/120/A120785.asm | 336 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1935d, %r11
nop
nop
nop
dec %r9
mov $0x6162636465666768, %r13
movq %r13, %xmm1
movups %xmm1, (%r11)
nop
inc %r12
lea addresses_D_ht+0x1c87d, %rsi
lea addresses_D_ht+0x6ced, %r... | 30.992857 | 2,999 | 0.655912 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_1835.asm | 8,678 | Assembly |
; A111074: Let t(n) denote the triangular numbers (A000217). Sequence mixes t(n+2) and t(n).
; 3,0,6,1,10,3,15,6,21,10,28,15,36,21,45,28,55,36,66,45,78,55,91,66,105,78,120,91,136,105,153,120,171,136,190,153,210,171,231,190,253,210,276,231,300,253,325,276,351,300,378,325,406,351,435,378,465,406,496,435
mov $3,$0
gcd $0... | 23.315789 | 209 | 0.645598 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/111/A111074.asm | 443 | Assembly |
;; @file
; This file provides assembly 64-bit atomic reads/writes required for memory initialization.
;
; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;;
.686p
.xmm
.model small, c
.CODE
;----------------------------------------------... | 27.575 | 94 | 0.487761 | [
"Apache-2.0"
] | S-8506/edk2msm | edk2-platforms/Silicon/Intel/KabylakeSiliconPkg/SystemAgent/Library/PeiSaPolicyLib/Ia32/MrcOemPlatform.asm | 2,206 | Assembly |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
EXTERN BLS12_381_P:NEAR
PUBLIC add_mod_384
ALIGN 32
add_mod_384 PROC PUBLIC
DB 243,15,30,250
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov r11,rsp
$L$SEH_begin_add_mod_384::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
push rbp
... | 17.828011 | 58 | 0.750096 | [
"Apache-2.0"
] | michaelsproul/blst | build/win64/add_mod_384-x86_64.asm | 39,079 | Assembly |
; A195241: Expansion of (1-x+19*x^3-3*x^4)/(1-x)^3.
; 1,2,3,23,59,111,179,263,363,479,611,759,923,1103,1299,1511,1739,1983,2243,2519,2811,3119,3443,3783,4139,4511,4899,5303,5723,6159,6611,7079,7563,8063,8579,9111,9659,10223,10803,11399,12011,12639,13283,13943,14619,15311,16019,16743,17483,18239,19011,19799,20603,21423,... | 89.2 | 1,579 | 0.804933 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/195/A195241.asm | 1,784 | 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... | 29.246696 | 72 | 0.43365 | [
"MIT"
] | MarilynDafa/Bulllord-Engine | plugins/video/webm/vpx_dsp/x86/vpx_convolve_copy_sse2.asm | 6,639 | Assembly |
;在屏幕中间分别显示绿色、绿底红色、白底蓝色的字符串
assume ds:datasg,cs:codesg
datasg segment
db 'Hello World!' ;待输出的数据
datasg ends
codesg segment
start:
mov ax,0b804h ;横向“中间”内存地址
mov ds,ax
mov ax,datasg
mov es,ax
mov si,0
mov bx,160*12 ;纵向“中间”内存地址
mov cx,0ch ;12个字节
s:
mov al,es:[si] ;逐字送入显存的内存地址
mov ah,000001... | 14.153846 | 31 | 0.650362 | [
"MIT"
] | jckling/CUC-Courses | 汇编语言/第9章/9.asm | 736 | Assembly |
#include "Mcu.inc"
radix decimal
config FOSC=INTRCIO
config WDTE=OFF
config PWRTE=ON
config MCLRE=ON
config CP=OFF
config CPD=OFF
config BOREN=SBODEN
config IESO=OFF
config FCMEN=OFF
end
| 12.625 | 20 | 0.747525 | [
"MIT"
] | pete-restall/Cluck2Sesame-Prototype | src/firmware/ConfigWords.asm | 202 | Assembly |
; attribute line offsets in the VRAM to control-key position
KEY_ATTR_OFS_HELP equ 0
KEY_ATTR_OFS_TURBO equ 5
KEY_ATTR_OFS_FULL equ 10
KEY_ATTR_OFS_RUN equ 15
KEY_ATTR_OFS_CORE equ 22
KEY_ATTR_OFS_INSTR equ 27
CHARPOS_INS_END equ 13
CHARPOS_ENCODING equ 15
CHARPOS_INS_... | 44.546667 | 80 | 0.401526 | [
"MIT"
] | MrKWatkins/ZXSpectrumNextTests | Tests/base/Z80N/UI.i.asm | 6,682 | Assembly |
;
; Galaksija libraries
;
;--------------------------------------------------------------
; This code comes from the FidoNET Sinclair newsgroup
;--------------------------------------------------------------
;
; $Id: invtxt.asm $
;
;----------------------------------------------------------------
;
; invtxt... | 24.125 | 65 | 0.313472 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/gal/invtxt.asm | 772 | Assembly |
.MODEL small
.STACK
.DATA
num db -50
.CODE
.STARTUP
mov al,num
rcl al,1
jb next
mov dl,00h
.EXIT
next: mov dl,01h
.EXIT
end | 8.857143 | 16 | 0.709677 | [
"MIT"
] | kaazima/Emulator-8086 | Source Codes/Positive or Negative.asm | 124 | Assembly |
global to_binary
section .text
; <--- unsigned long long to_binary(unsigned short num) --->
to_binary:
mov rax, 1
xor rdx, rdx ; rdx:rax "10-value" of current bit
mov r8, 10
xor r9, r9 ; sum up the result in r9
.loop:
shr rdi, 1 ; check current bit
jnc .digit... | 27.047619 | 60 | 0.540493 | [
"MIT"
] | UlrichBerntien/Codewars-Katas | 8_kyu/Convert_to_Binary.asm | 568 | Assembly |
; $Id: ASMGetIdtrLimit.asm $
;; @file
; IPRT - ASMGetIdtrLimit().
;
;
; 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 ... | 33.938776 | 80 | 0.625977 | [
"MIT"
] | egraba/vbox_openbsd | VirtualBox-5.0.0/src/VBox/Runtime/common/asm/ASMGetIdtrLimit.asm | 1,663 | Assembly |
; A177339: Partial sums of round(n^2/44).
; 0,0,0,0,0,1,2,3,4,6,8,11,14,18,22,27,33,40,47,55,64,74,85,97,110,124,139,156,174,193,213,235,258,283,309,337,366,397,430,465,501,539,579,621,665,711,759,809,861,916,973,1032,1093,1157,1223,1292,1363,1437,1513,1592,1674,1759,1846,1936,2029,2125,2224,2326,2431,2539,2650,2765,28... | 88.235294 | 1,319 | 0.774 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/177/A177339.asm | 1,500 | Assembly |
; A259665: a(0)=0, a(1)=1, a(n) = min{4 a(k) + (4^(n-k)-1)/3, k=0..(n-1)} for n>=2.
; 0,1,5,9,25,41,57,121,185,249,313,569,825,1081,1337,1593,2617,3641,4665,5689,6713,7737,11833,15929,20025,24121,28217,32313,36409,52793,69177,85561,101945,118329,134713,151097,167481,233017,298553,364089,429625,495161,560697,626233,6917... | 97.9375 | 2,713 | 0.839502 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/259/A259665.asm | 3,134 | Assembly |
_rm: formato de ficheiro elf32-i386
Desmontagem da secção .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 ... | 35.857143 | 60 | 0.4174 | [
"Apache-2.0"
] | douglasbreyer/StrideXV6 | rm.asm | 39,911 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xa1f9, %rsi
lea addresses_WC_ht+0x1efd9, %rdi
xor $43189, %r15
mov $92, %rcx
rep movsq
nop
nop
nop
cmp $57321, %r15
lea addresses_WT_ht+0x10c39, %rdi
nop
nop
nop
cmp $27843, %rcx
movb $0x61,... | 49.181818 | 2,999 | 0.6603 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/AVXALIGN/_ht_/i3-7100_9_0xca_notsx.log_21829_1142.asm | 4,869 | Assembly |
#import "ntplay-defs.asm"
.const RASTER_LINE = $33
.pc = $02 "Zero page variables" virtual
#import "ntplay-vars.asm"
.pc = $0801 "Basic Upstart"
:BasicUpstart(start)
.pc = $0810 "Code"
start: {
sei
cld
lda #<musicdata
ldx #>musicdata
jsr nt_newmusic
lda #0
... | 22.293233 | 78 | 0.26484 | [
"Unlicense",
"MIT"
] | lavacablasa/ninja-tracker-kickass | example.asm | 11,860 | Assembly |
Name: zel_title.asm
Type: file
Size: 163262
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 05BB26A11E4BF9326B9400BC7345CDB8040D8A43
Description: null
| 21.142857 | 47 | 0.817568 | [
"MIT"
] | prismotizm/gigaleak | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_title.asm | 148 | Assembly |
; A000142: Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, number of permutations of n letters).
; 1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000,121645100408832000,2432902008176640000,510909421717... | 70.9 | 536 | 0.863188 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/000/A000142.asm | 709 | Assembly |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF|FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF|FLAG_CF
;TEST_FILE_META_END
; allocate 16 byte aligned stack space for the packed values
lea ecx, [esp-17]
and ecx, 0xfffffff0
; load 128 bit value into xmm0
mov DWORD [ecx], 0x12345678
mov DWORD [ecx+4], 0x5... | 21.676471 | 65 | 0.75848 | [
"BSD-3-Clause"
] | 0xDEC0DE8/mcsema | mc-sema/validator/x86/tests/PSUBDrm.asm | 737 | Assembly |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Util
FILE: cutilFileOpHigh.asm
ROUTINES:
INT CopyMoveFileToDir - common routine to do high-level move/copy
INT DeskFileCopy - copy file or... | 25.489568 | 80 | 0.630544 | [
"Apache-2.0"
] | BOBBYWY/pcgeos | Appl/FileMgrs2/CommonDesktop/CUtil/cutilFileOpHigh.asm | 52,534 | Assembly |
; A200376: G.f.: 1/sqrt(1-10*x^2 + x^4/(1-8*x^2)) + x/(1-9*x^2).
; Submitted by Jamie Morken(s3)
; 1,1,5,9,37,81,301,729,2549,6561,22045,59049,193029,531441,1703469,4782969,15111573,43046721,134539837,387420489,1200901157,3486784401,10739313997,31381059609,96172251061,282429536481,862142190941,2541865828329,77349363712... | 25.894737 | 255 | 0.699187 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/200/A200376.asm | 492 | Assembly |
; A298030: Partial sums of A298029.
; 1,4,10,22,40,73,112,163,220,289,364,451,544,649,760,883,1012,1153,1300,1459,1624,1801,1984,2179,2380,2593,2812,3043,3280,3529,3784,4051,4324,4609,4900,5203,5512,5833,6160,6499,6844,7201,7564,7939,8320,8713,9112,9523,9940,10369,10804,11251,11704,12169,12640,13123,13612,14113,14620,1... | 64.178571 | 1,527 | 0.790762 | [
"Apache-2.0"
] | karttu/loda | programs/oeis/298/A298030.asm | 1,797 | Assembly |
; A167346: Totally multiplicative sequence with a(p) = (p-1)*(p+2) = p^2+p-2 for prime p.
; Submitted by Jon Maiga
; 1,4,10,16,28,40,54,64,100,112,130,160,180,216,280,256,304,400,378,448,540,520,550,640,784,720,1000,864,868,1120,990,1024,1300,1216,1512,1600,1404,1512,1800,1792,1720,2160,1890,2080,2800,2200,2254,2560,29... | 25.526316 | 469 | 0.617526 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/167/A167346.asm | 970 | Assembly |
; Z80 test - officially documented flags, flags only version.
;
; Copyright (C) 2012 Patrik Rak (patrik@raxoft.cz)
;
; This source code is released under the MIT license, see included license.txt.
macro testname
db "doc flags"
endm
maskflags equ 1
onlyflags... | 22.736842 | 79 | 0.553241 | [
"MIT"
] | MaddTheSane/CLK | OSBindings/Mac/Clock SignalTests/Patrik Rak Z80 Tests/src/z80docflags.asm | 432 | Assembly |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL' key
SECTION rodata_clib
PUBLIC in_keytranstbl
.in_keytranstbl
;Unshifted
; Lower 5 bits only
defb 27, '1', 'q', 'a', '... | 37.430769 | 76 | 0.465269 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/pmd85/input/in_keytranstbl.asm | 2,433 | Assembly |
; A142914: Primes congruent to 44 mod 63.
; Submitted by Jamie Morken(w3)
; 107,233,359,863,1367,1493,1619,1871,1997,2753,2879,3257,3761,4013,4139,4391,4517,4643,5021,5147,5273,5399,5651,5903,6029,6659,6911,7541,7793,7919,8171,8297,8423,9431,10061,10313,10691,11069,11321,11447,11699,12203,12329,12959,13337,13463,13841,... | 33.76 | 497 | 0.725118 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/142/A142914.asm | 844 | Assembly |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x10f4f, %r11
nop
nop
nop
nop
dec %r8
movups (%r11), %xmm5
vpextrq $0, %xmm5, %r15
add %rcx, %rcx
lea addresses_normal_ht+0x1909b, %r9
sub $47141, %r15
mov $0x61626364... | 19.85443 | 146 | 0.643927 | [
"MIT"
] | danielmgmi/medusa | Transynther/_processed/NC/_zr_/i7-7700_9_0x48.log_1_542.asm | 3,137 | Assembly |
STACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
CODE SEGMENT
ASSUME CS:CODE,SS:STACK
START: PUSH DS
MOV AX,0
PUSH AX
MOV AH,0FH
INT 10H
MOV AH,0
MOV AL,3
INT 10H
... | 23.571429 | 36 | 0.316667 | [
"MIT"
] | AlPhaSenkI/review_the_national_post-graduate_entrance_examination | books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_12.asm | 660 | Assembly |
_kill: 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 ... | 29.748192 | 60 | 0.411453 | [
"MIT-0"
] | harshika18/xv6-assignment | kill.asm | 45,247 | Assembly |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
IMPORT CallDescrWorkerUnwindFrameChainHandler
;;------------------------------------------------------... | 30.960265 | 110 | 0.56 | [
"MIT"
] | 2m0nd/runtime | src/coreclr/src/vm/arm64/CallDescrWorkerARM64.asm | 4,675 | Assembly |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... | 11.890805 | 24 | 0.573224 | [
"MIT"
] | Manurocker95/GiovanniEmulator | GIOVANNI/gambatte/test/hwtests/sprites/10spritesprline_2overlap6_m3stat_ds_1_cgb04c_out3.asm | 2,069 | Assembly |
; A091883: Expansion of (1-5x)/((1+5x)(1-10x)).
; Submitted by Christian Krause
; 1,0,50,250,3750,31250,343750,3281250,33593750,332031250,3339843750,33300781250,333496093750,3332519531250,33337402343750,333312988281250,3333435058593750,33332824707031250,333335876464843750
mov $1,-5
pow $1,$0
mul $1,2
mov $2,10
pow $2,... | 27.076923 | 192 | 0.758523 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/091/A091883.asm | 352 | Assembly |
page 49,132
TITLE EXGOTO - executors for goto and gosub varients
;***
;exgoto - executors for goto and gosub varients
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
;
;****************************************************************************
.xlist
include version.inc
IncludeOnce architec
Include... | 32.541966 | 79 | 0.63073 | [
"Apache-2.0"
] | minblock/msdos | 45/qb/ir/exgoto.asm | 13,570 | Assembly |
INCLUDE "constants.asm"
flag_array: MACRO
ds ((\1) + 7) / 8
ENDM
box_struct_length EQU 25 + NUM_MOVES * 2
box_struct: MACRO
\1Species:: db
\1HP:: dw
\1BoxLevel:: db
\1Status:: db
\1Type::
\1Type1:: db
\1Type2:: db
\1CatchRate:: db
\1Moves:: ds NUM_MOVES
\1OTID:: dw
\1Exp:: ... | 21.071805 | 155 | 0.739876 | [
"Unlicense"
] | adhi-thirumala/EvoYellow | wram.asm | 76,011 | Assembly |
;==================================================================================================
; Settings and tables which the front-end may write
;==================================================================================================
; This is used to determine if and how the cosmetics can be patched... | 21.277778 | 116 | 0.708877 | [
"MIT"
] | Aspeon/OoT-Randomizer | ASM/src/config.asm | 2,298 | Assembly |
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_ll_push_hlix
PUBLIC ____sdcc_ll_push_hlix_0
____sdcc_ll_push_hlix:
IFDEF __SDCC_IX
push ix
pop de
ELSE
push iy
pop de
ENDIF
add hl,de
____sdcc_ll_push_hlix_0:
ex de,hl
ld hl,-6
add hl,sp
pop af
ld sp,hl
... | 9.16 | 30 | 0.59607 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/_DEVELOPMENT/l/sdcc/____sdcc_ll_push_hlix.asm | 458 | Assembly |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="fd, addr, length"/>
<%docstring>
Invokes the syscall bind. See 'man 2 bind' for more information.
Arguments:
fd(int): fd
addr(CONST_SOCKADDR_ARG): addr
len(socklen_t): len
</%docstring>
${syscall('SYS_bind', fd, addr, length)}
| 21.2 | 65 | 0.672956 | [
"MIT"
] | IMULMUL/python3-pwntools | pwnlib/shellcraft/templates/i386/android/bind.asm | 318 | Assembly |
;
; System Call for REX6000
;
; $Id: DbGetRecordCount.asm,v 1.5 2017-01-03 00:11:31 aralbrec Exp $
;
; extern unsigned long DbGetRecordCount( int );
;
; Written by Damjan Marion <dmarion@open.hr>
PUBLIC DbGetRecordCount
PUBLIC _DbGetRecordCount
.DbGetRecordCount
._DbGetRecordCount
pop ix
pop hl
push hl... | 17.181818 | 68 | 0.620811 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/rex/DbGetRecordCount.asm | 567 | Assembly |
/*
* example0: simple move, add
* r3 = 100 + 200
*/
mov r1, 100
mov r2, 200
add r3, r1, r2
halt
| 8.916667 | 29 | 0.542056 | [
"BSD-3-Clause"
] | takenobu-hs/processor-creative-kit | examples/test0.asm | 107 | Assembly |
.inesprg 1 ;1x 16kb PRG code
.ineschr 1 ;1x 8kb CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ;background mirroring (vertical mirroring = horizontal scrolling)
.rsset $0000
joypad1 .rs 1 ;button states for the current frame
joypad1_old .rs 1 ;last frame's button... | 27.810811 | 138 | 0.612245 | [
"MIT"
] | tragicmuffin/nes-tests | players/src/NES_APUTest_NoisePlayer.asm | 13,377 | Assembly |
; * = width | BC | D | HL | IXL|IYL | IXH|IYH | Preserves
;----------------------------------------------+-----------+-----+-------------+---------+----------+--------------------------
; draw_tile[_with_mask]_* | cy,cx | | sprite_add... | 36.338983 | 137 | 0.343084 | [
"MIT"
] | Retro-Tek/zxspectrum-sprites | sprites.asm | 15,008 | Assembly |
; A075907: Fourth column of triangle A075499.
; Submitted by Jon Maiga
; 1,40,1040,22400,435456,7956480,139694080,2387968000,40075329536,663887544320,10896534405120,177653730508800,2882307270639616,46596186764738560,751299029274460160,12089975328525516800
mov $1,$0
mov $0,4
pow $0,$1
seq $1,453 ; Stirling numbers of t... | 33.090909 | 184 | 0.788462 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/075/A075907.asm | 364 | Assembly |
SECTION code_clib
PUBLIC xorpixel
EXTERN __gfx_coords
;
; $Id: xorpixl.asm,v 1.9 2016-07-02 09:01:36 dom Exp $
;
; ******************************************************************
;
; XORs pixel at (x,y) coordinate.
;
; ZX 81 version.
; 64x48 dots.
;
.xorpixel
ld a,h
cp 64
ret nc
ld a,l... | 15.340206 | 68 | 0.508737 | [
"BSD-2-Clause"
] | ByteProject/Puddle-BuildTools | FictionTools/z88dk/libsrc/target/zx81/graphics/xorpixl.asm | 1,488 | Assembly |
; A048480: a(n) = T(8,n), array T given by A048472.
; 1,10,37,109,289,721,1729,4033,9217,20737,46081,101377,221185,479233,1032193,2211841,4718593,10027009,21233665,44826625,94371841,198180865,415236097,868220929,1811939329,3774873601,7851737089,16307453953,33822867457,70061654017,144955146241,299573968897,618475290625,... | 180.363636 | 1,864 | 0.922379 | [
"Apache-2.0"
] | ckrause/cm | programs/oeis/048/A048480.asm | 1,984 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
00049A move.w #$9080, ($2a,A5)
0004A0 move.w #$90c0, ($2c,A5) [base+ 2A]
00058E move.w #$9080, ($2a,A5)
000594 tst.b ($4aa,A5) [base+ 2A]
0AAACA move.l (A0), D2
0AAACC move.w D0, (A0) [123p+11A, ... | 86.318182 | 350 | 0.665613 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | dino/lcs/base/2A.asm | 1,899 | Assembly |
LDA f100
MOV B, A
MOV C, A
MVI D, 04 // counter
MVI E, 00 // flag
LOOP:
MOV A, C
RLC
MOV C, A
XRA B
ANI 01
JNZ NO
MOV A, B
RRC
MOV B, A
DCR D
JNZ LOOP
INR E
NO: MOV A, E
STA f200
HLT
| 7.40625 | 20 | 0.489451 | [
"MIT"
] | SohamMalakar/Intel-8085 | samples/eight_bit_palindrome.asm | 237 | Assembly |
ori $ra,$ra,0xf
ori $5,$6,34618
mthi $5
mfhi $4
mflo $1
mult $6,$6
lui $4,29084
mult $0,$2
mtlo $4
mtlo $5
sb $1,0($0)
divu $4,$ra
srav $0,$4,$4
mthi $0
mthi $1
srav $3,$5,$3
lui $2,27209
addiu $5,$2,4312
sll $6,$2,6
div $1,$ra
lui $0,60233
div $5,$ra
mflo $1
div $1,$ra
lb $1,15($0)
lui $1,41704
div $2,$ra
mfhi $0
mthi... | 11.937079 | 18 | 0.570218 | [
"Apache-2.0"
] | alxzzhou/BUAA_CO_2020 | P6/data_P6_2/MDTest6.asm | 10,624 | Assembly |
FuchsiaPokecenterObject:
db $0 ; border block
db $2 ; warps
db $7, $3, $2, $ff
db $7, $4, $2, $ff
db $0 ; signs
db $4 ; objects
object SPRITE_NURSE, $3, $1, STAY, DOWN, $1 ; person
object SPRITE_ROCKER, $2, $3, STAY, NONE, $2 ; person
object SPRITE_LASS, $6, $5, WALK, $2, $3 ; person
object SPRITE_NURSE, $... | 23.842105 | 54 | 0.644592 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | data/mapObjects/fuchsiapokecenter.asm | 453 | Assembly |
JumpIfPositive: MACRO target
jp p, target
ENDM
JumpIfNegative: MACRO target
jp m, target
ENDM
JumpIfUnderflow: MACRO target
jp po, target
E... | 26.82134 | 79 | 0.298362 | [
"Unlicense"
] | ped7g/EliteNext | Macros/generalMacros.asm | 10,809 | Assembly |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>brk(addr) -> str
Invokes the syscall brk.
See 'man 2 brk' for more information.
Arguments:
addr(void*): addr
Returns:
int
</%docstring>
<%page args="addr=0"/>
<%
abi = pwnlib.abi.ABI.syscall... | 33.941176 | 87 | 0.632871 | [
"MIT"
] | 0x3c3e/pwntools | pwnlib/shellcraft/templates/common/linux/syscalls/brk.asm | 3,462 | Assembly |
org 0x100
cpu 8086
programBase:
pitCyclesPerScanline equ 76 ; Fixed by CGA hardware
scanlinesPerFrame equ 262 ; Fixed by NTSC standard
activeScanlines equ 200 ; Standard CGA full-screen
visual_profiler equ 0
onScreenPitCycles equ pitCyclesPerScanline*activeScanlines - 22
offScreenPitCycles ... | 15.784574 | 117 | 0.675484 | [
"Unlicense"
] | reenigne/reenigne | 8088/cga/plasma/plasma.asm | 5,935 | Assembly |
db PIDGEOT ; pokedex id
db 83 ; base hp
db 80 ; base attack
db 75 ; base defense
db 101 ; base speed
db 70 ; base special
db NORMAL ; species type 1
db FLYING ; species type 2
db 45 ; catch rate
db 172 ; base exp yield
INCBIN "pic/gsmon/pidgeot.pic",0,1 ; 77, sprite dimensions
dw PidgeotPicFront
dw PidgeotPicBack
;... | 18.310345 | 58 | 0.728814 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | data/baseStats/pidgeot.asm | 531 | Assembly |
copyright zengfr site:http://github.com/zengfr/romhack
001678 move.w A0, -(A4) [base+32E]
00167A move.w A4, ($32e,A5) [base+5A8, base+5AA, base+5AC, base+5AE]
008CB6 tst.b (A1) [base+5AC, base+5AE]
009034 tst.b (A1) [base+5A8, base+5AA, base+5AC, base+5AE]
009184 tst.b (A1) [base+5A8, base+5AA, base+5AC, ... | 43.857143 | 70 | 0.667752 | [
"Apache-2.0"
] | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | wof/lcs/base/5AC.asm | 614 | Assembly |
;******************************************************************
; 6502 BBC Micro Compressed VGM (VGC) Music Player
; By Simon Morris
; https://github.com/simondotm/vgm-player-bbc
; https://github.com/simondotm/vgm-packer
;******************************************************************
;-------------------------... | 40.2 | 91 | 0.578358 | [
"MIT"
] | kieranhj/rocket-beeb | lib/vgcplayer_config.h.asm | 804 | Assembly |
AnimateHealingMachine:
ld de, PokeCenterFlashingMonitorAndHealBall
ld hl, vChars0 + $7c0
lb bc, BANK(PokeCenterFlashingMonitorAndHealBall), $03 ; loads one too many tiles
call CopyVideoData
ld hl, wUpdateSpritesEnabled
ld a, [hl]
push af
ld [hl], $ff
push hl
ld a, [rOBP1]
push af
ld a, $e0
ld [rOBP1], a
l... | 18.361905 | 82 | 0.696577 | [
"MIT"
] | AmateurPanda92/pokemon-rby-dx | engine/overworld/healing_machine.asm | 1,928 | Assembly |
C sparc64/aes-encrypt-internal.asm
ifelse(<
Copyright (C) 2002, 2005, 2013 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software ... | 24.731707 | 72 | 0.676775 | [
"MIT"
] | AdelaideCreative/strayawallet-ios | Modules/nettle/sparc64/aes-encrypt-internal.asm | 4,057 | Assembly |
; A189381: a(n) = n + [n*r/s] + [n*t/s]; r=1, s=-1+sqrt(2), t=1+sqrt(2).
; 8,17,27,36,46,54,63,73,82,92,101,109,119,128,138,147,157,165,174,184,193,203,212,220,230,239,249,258,268,276,285,295,304,314,322,331,341,350,360,369,377,387,396,406,415,425,433,442,452,461,471,480,488,498,507,517,526,536,544,553,563,572,582,591,... | 46.970588 | 1,132 | 0.67752 | [
"Apache-2.0"
] | jmorken/loda | programs/oeis/189/A189381.asm | 1,597 | Assembly |
; try to evolve the mon in [wWhichPokemon]
TryEvolvingMon:
ld hl, wCanEvolveFlags
xor a
ld [hl], a
ld a, [wWhichPokemon]
ld c, a
ld b, FLAG_SET
call Evolution_FlagAction
; this is only called after battle
; it is supposed to do level up evolutions, though there is a bug that allows item evolutions to occur
Evol... | 18.472384 | 120 | 0.702652 | [
"MIT"
] | ETDV-TheVoid/pokemon-rgb-enhanced | engine/evos_moves.asm | 12,709 | Assembly |
; A105023: a(n) = A102370(n) - n. Or, 2*A103185(n).
; Submitted by Jamie Morken(w4)
; 0,2,4,2,0,10,4,2,0,2,4,2,16,10,4,2,0,2,4,2,0,10,4,2,0,2,4,34,16,10,4,2,0,2,4,2,0,10,4,2,0,2,4,2,16,10,4,2,0,2,4,2,0,10,4,2,0,2,68,34,16,10,4,2,0,2,4,2,0,10,4,2,0,2,4,2,16,10,4,2,0,2,4,2,0,10,4,2,0,2,4,34,16,10,4
add $0,1
mov $2,$0
mo... | 22.6 | 213 | 0.535398 | [
"Apache-2.0"
] | ckrause/loda-programs | oeis/105/A105023.asm | 452 | Assembly |
;-------------------------------------------------------------------------------
; 8051_EXTMEM_DUMP
;
; - Fichero que contiene el código fuente del programa.
;
;-------------------------------------------------------------------------------
; Copyright (c) 2022 Jorge Botana Mtz. de Ibarreta
;
; Este archivo se encuentr... | 51.619981 | 80 | 0.39139 | [
"MIT"
] | jorge-botana/8051_EXTMEM_DUMP | 8051_EXTMEM_DUMP.asm | 55,531 | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.