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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|
NewFireBarDamage:
{
LDA $00EE : CMP $0F20, X : BNE .NotSameLayer
JSL Sprite_AttemptDamageToPlayerPlusRecoilLong
RTL
.NotSameLayer
RTL
} | 163 | Assembly | asm | 20.375 | 54 | 0.668712 | f7118b2020f60eb6998381619ffae92845d18866 | compiling/z3randomizer | [
"MIT"
] | 26 |
; A071555: Smallest x > 1 such that x^prime(n) == 1 mod(prime(i)) 3<=i<=n.
; Submitted by Jon Maiga
; 6,36,386,5006,85086,1616616,37182146,1078282206,33426748356,1236789689136,50708377254536,2180460221945006,102481630431415236,5431526412865007456,320460058359035439846,19548063559901161830546
add $0,1
seq $0,71554 ; Sm... | 410 | Assembly | asm | 41 | 192 | 0.74878 | f7119ecd095da3910574541bf81622e739c72b85 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A348978: Numerator of ratio A332993(n) / sigma(n).
; Submitted by Jon Maiga
; 1,1,1,1,1,5,1,1,1,8,1,11,1,11,7,1,1,31,1,6,29,17,1,23,1,20,1,25,1,17,1,1,15,26,43,67,1,29,53,38,1,71,1,13,11,35,1,47,1,27,23,46,1,47,67,53,77,44,1,37,1,47,23,1,79,37,1,20,31,113,1,139,1,56,53,67,89,131,1,26,1,62,1,155,103,65,39,83
mov $1,$... | 489 | Assembly | asm | 48.9 | 232 | 0.611452 | f711c6b540a30746f2e6f08f61401c3bbfa496c4 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; int fputc_unlocked(int c, FILE *stream)
SECTION code_stdio
PUBLIC _fputc_unlocked
EXTERN asm_fputc_unlocked
_fputc_unlocked:
pop af
pop de
pop ix
push hl
push de
push af
jp asm_fputc_unlocked
| 229 | Assembly | asm | 10.904762 | 41 | 0.703057 | f711dd439cf75badd24d83e4c083fe06c2cf4555 | meesokim/z88dk | [
"ClArtistic"
] | null |
org 100h
jmp start
var1 db 50D
var2 db ?
start:
MOV CL, var1
MOV AL, 09D
IMUL CL
MOV CL, 05D
IDIV CL
ADD AL, 032D
MOV var2, AL
ret
| 172 | Assembly | asm | 6.37037 | 27 | 0.540698 | f711fb6f053934627bafe8e3eab935e27683e805 | vishwas1101/Misc | [
"MIT"
] | null |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="fildes, ctlptr, dataptr, band, flags"/>
<%docstring>
Invokes the syscall putpmsg. See 'man 2 putpmsg' for more information.
Arguments:
fildes(int): fildes
ctlptr(strbuf): ctlptr
dataptr(strbuf): dataptr
band(int): band
flags... | 416 | Assembly | asm | 23.111111 | 71 | 0.685096 | f7120176c990012a172228d6711959ff878e4f5b | zaratec/pwntools | [
"MIT"
] | 5 |
;; NOTE: To allow the use of this file for both ARMv6M and ARMv7M,
;; we will only use 16-bit Thumb intructions.
.extern _lc_ub_stack ; usr/sys mode stack pointer
.extern _lc_ue_stack ; symbol required by debugger
.extern _lc_ub_table ; ROM to R... | 3,949 | Assembly | asm | 26.503356 | 83 | 0.499114 | f712d97cd202314ce427b0719a7b616667c46aa6 | Santosh-karumathil/STM32F1-workarea | [
"CC-BY-3.0"
] | 4 |
; stdio_out_I
; 09.2008 aralbrec
XLIB stdio_out_capi
LIB stdio_nextarg, htonl, stdio_numprec, stdio_outcommon
INCLUDE "../../stdio.def"
; output %I parameter
;
; IPv4 address in dotted decimal notation
; * precision affects each individual octet; can be 1 or 3 (1 is default)
; * width and justification applies to e... | 2,870 | Assembly | asm | 29.285714 | 81 | 0.540418 | f713b9ad4e6de8dd2e2d18c07c3b7e0d73211234 | andydansby/z88dk-mk2 | [
"ClArtistic"
] | 1 |
db DEX_GOLEM ; pokedex id
db 80 ; base hp
db 110 ; base attack
db 130 ; base defense
db 45 ; base speed
db 55 ; base special
db ROCK ; species type 1
db GROUND ; species type 2
db 45 ; catch rate
db 177 ; base exp yield
INCBIN "pic/ymon/golem.pic",0,1 ; 66, sprite dimensions
dw GolemPicFront
dw GolemPicBack
; attacks k... | 556 | Assembly | asm | 19.172414 | 55 | 0.732014 | f713ba091a626e2fbfb6270a73b07e68d550776d | adhi-thirumala/EvoYellow | [
"Unlicense"
] | 16 |
.include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 0
card_id equ 21
card_no equ "021"
card_sub equ "Item Card 021"
card_sub_... | 922 | Assembly | asm | 30.733333 | 49 | 0.793926 | f71459de7ed8cef0c3ec96bd2a90e087d5d4a66b | RockmanEXEZone/MMBN-Mod-Card-Kit | [
"Unlicense"
] | 10 |
IDEAL
MODEL SMALL
STACK 100h
DATASEG
msg db "Hello World", 0dh, 0ah, "$"
CODESEG
start:
mov ax, @data
mov ds, ax
mov dx, offset msg
mov ah, 9
int 21h
mov ah, 4ch
int 21h
end start
| 203 | Assembly | asm | 9.666667 | 37 | 0.630542 | f7148831d9bfe484b30e5b9668bbbfe9c74e5aed | conorpreid/hello-world | [
"MIT"
] | 8,076 |
; A155996: Nearest integer to 2^n*Pi/4.
; Submitted by Jon Maiga
; 1,2,3,6,13,25,50,101,201,402,804,1608,3217,6434,12868,25736,51472,102944,205887,411775,823550,1647099,3294199,6588397,13176795,26353589,52707179,105414357,210828714,421657428,843314857,1686629713,3373259426,6746518852
seq $0,293342 ; Least integer k su... | 378 | Assembly | asm | 37.8 | 219 | 0.759259 | f714926625c7bf204b1ea3a02968b3916f50550f | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; *************************************************************
; Copyright (c) 2021 roscopeco <AT> gmail <DOT> com
; *************************************************************
;
section .text ; This is normal code
include "../xosera_m68k_api/xosera_equates.asm"
install_intr::
... | 2,366 | Assembly | asm | 34.289855 | 84 | 0.441674 | f714c5b70a894ed89ff2f2554942a07703379d15 | roscopeco/Xosera | [
"MIT"
] | null |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi... | 46,484 | Assembly | asm | 28.223437 | 76 | 0.42193 | f714d987a8432f3c578ed54c4b832527c86de68b | quakthemaster/xv6_pro | [
"MIT-0"
] | null |
; A127250: Sequence consisting of 1,3 or 5 with 3's occurring at the odious indices given by A091855 and 5's occurring at twice these odious indices.
; 1,3,5,1,3,1,1,3,5,1,1,3,1,3,5,1,3,1,1,3,1,3,5,1,1,3,5,1,3,1,1,3,5,1,1,3,1,3,5,1,1,3,5,1,3,1,1,3,1,3,5,1,3,1,1,3,5,1,1,3,1,3,5,1,3,1,1,3,1,3,5,1
lpb $0
mov $2,$0
se... | 555 | Assembly | asm | 42.692308 | 182 | 0.636036 | f71503584422326c6532766cfd71f8fcc022fb2c | neoneye/loda | [
"Apache-2.0"
] | 22 |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
01482C move.w (A1)+, D6
01482E subq.w #1, D6 [base+6000, base+6080, base+6100, base+6180, base+6200, base+6280, base+6300, base+6380, base+6400, base+6480, base+6500, base+6580]
07E7E8 move.l D0, (A0)+
0... | 2,546 | Assembly | asm | 90.928571 | 351 | 0.670463 | f7157f87903dec4cfdb0b29d0d78786703fb0f3e | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | [
"Apache-2.0"
] | 6 |
; A134752: a(n) = 3^(2*n-1) + 2.
; 5,29,245,2189,19685,177149,1594325,14348909,129140165,1162261469,10460353205,94143178829,847288609445,7625597484989,68630377364885,617673396283949,5559060566555525,50031545098999709,450283905890997365,4052555153018976269
mov $1,9
pow $1,$0
div $1,8
mul $1,24
add $1,5
mov $0,$1
| 314 | Assembly | asm | 31.4 | 222 | 0.783439 | f715c24a2f5b6c32de9c69fa3730c32943d04f8d | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A329836: Beatty sequence for (11+sqrt(101))/10.
; 2,4,6,8,10,12,14,16,18,21,23,25,27,29,31,33,35,37,39,42,44,46,48,50,52,54,56,58,61,63,65,67,69,71,73,75,77,79,82,84,86,88,90,92,94,96,98,101,103,105,107,109,111,113,115,117,119,122,124,126,128,130
mov $1,$0
mov $2,$0
div $0,6
sub $1,$0
div $1,8
add $1,2
mov $3,$2
mul... | 336 | Assembly | asm | 25.846154 | 198 | 0.639881 | f716056bfdcf35473b5d512213788e404081363b | karttu/loda | [
"Apache-2.0"
] | 1 |
.mode flat,c
.code
; extern "C" int SignedMinA_(int a, int b, int c)
; Description: get the minimun of these integers
; Return min(a,b,c)
signedMinA_ proc
push ebp
mov ebp,esp
mov eax,[ebp+8] ; eax = 'a'
mov evx,[ebp+12] ; ecx = 'b'
; Determine min(a,b)
mov ecx,ecx
jle @F
mov eax,ecx ;... | 1,835 | Assembly | asm | 19.521277 | 84 | 0.608174 | f7160da21f617b7355a15f9ea3bcd9ccbfde89f0 | RolEYder/x86-Assembly | [
"MIT"
] | null |
; A136412: a(n) = (5*4^n+1)/3.
; 2,7,27,107,427,1707,6827,27307,109227,436907,1747627,6990507,27962027,111848107,447392427,1789569707,7158278827,28633115307,114532461227,458129844907,1832519379627,7330077518507,29320310074027,117281240296107,469124961184427,1876499844737707,7505999378950827,30023997515803307,1200959900... | 1,260 | Assembly | asm | 126 | 1,171 | 0.915873 | f71632637386a8270c7cb566e92f0c501fc585a6 | neoneye/loda | [
"Apache-2.0"
] | 22 |
stage_shelf_palette_data:
; Background
.byt $21,$0d,$00,$10, $21,$0d,$00,$31, $21,$09,$19,$31, $21,$07,$17,$27
; Sprites
.byt $21,$08,$1a,$20, $21,$08,$10,$37, $21,$08,$16,$10, $21,$08,$28,$37
nametable_stage_shelf:
.byt $00,$59
.byt
.byt ... | 5,562 | Assembly | asm | 95.896552 | 171 | 0.258001 | f7163fbcd53f18d05453742415fa3ee73c3674eb | pompshuffle/super-tilt-bro | [
"WTFPL"
] | 2 |
;UNIT TESTS ROM
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring
;NES specific hardware defines
PPU_CTRL_REG1 = $2000
PPU_CTRL_REG2 = $2001
PPU_STATUS = $2002
PPU_SPR... | 37,130 | Assembly | asm | 23.249843 | 99 | 0.592755 | f71650a4858b9f004c190144a2b7cae7f0413215 | sitedata/MarioCompiler | [
"MIT"
] | null |
BasicUpstart2(start) // <- This creates a basic sys line that can start your program
//----------------------------------------------------------
//----------------------------------------------------------
// Simple SID player
//----------------------------------------------------------
//----------------... | 1,658 | Assembly | asm | 50.242424 | 127 | 0.472859 | f716a10b24df2dbb78d602436d3b07249c8e9bb3 | lincolngill/c64_assembler_egs | [
"MIT"
] | null |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xf001, %rsi
lea addresses_UC_ht+0x5c01, %rdi
nop
nop
nop
inc %rax
mov $100, %rcx
rep movsb
nop
nop
nop
xor %rbx, %rbx
lea addresses_UC_ht+0x1d601, %r10
nop
nop
nop
nop
nop
dec %rbx... | 7,249 | Assembly | asm | 32.075221 | 2,999 | 0.651124 | f716fc5eb88b06a35f937afb7ee7dbde38023e29 | ljhsiun2/medusa | [
"MIT"
] | 9 |
;name : pipedemo4.asm
;
;build : nasm -felf64 pipedemo4.asm z -o pipedemo4.o
; ld -s -melf_x86_64 -o pipedemo4 pipedemo4.o
;
;description : A demonstration on pipes based on an example from Beej's Guide to IPC
; Here the program opens the write end of the pipe, writes da... | 2,840 | Assembly | asm | 31.208791 | 97 | 0.576056 | f7175e24538adef949142477ce2076c9da11013a | agguro/linux-nasm | [
"Unlicense"
] | 6 |
;代码清单5-1
;文件名:c05_mbr.asm
;文件说明:硬盘主引导扇区代码
;创建日期:2011-3-31 21:15
mov ax,0xb800 ;指向文本模式的显示缓冲区
mov es,ax
;以下显示字符串"Label offset:"
mov byte [es:0x00],'L'
mov byte [es:0x01],0x07
mov byte [es:0x02],'a'
mov byt... | 2,494 | Assembly | asm | 24.213592 | 55 | 0.473136 | f7176431489e92a554ba0958847f2d98756cb64c | dengtong/toyos | [
"MIT"
] | null |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="ruid, euid"/>
<%docstring>
Invokes the syscall setreuid. See 'man 2 setreuid' for more information.
Arguments:
ruid(uid_t): ruid
euid(uid_t): euid
</%docstring>
${syscall('SYS_setreuid', ruid, euid)}
| 291 | Assembly | asm | 19.4 | 73 | 0.683849 | f71796a2e2fbef2bbd4c0bcc3dcd56d743707010 | zaratec/pwntools | [
"MIT"
] | 5 |
;-------------------------------------------------------------------------------
; hd.nasm - device independend part of any hard disk driver.
;-------------------------------------------------------------------------------
module hw.genhd
%include "sys.ah"
%include "errors.ah"
%include "hd.ah"
%include "hw/partids.a... | 9,781 | Assembly | nasm | 22.485057 | 80 | 0.62192 | f717affe211af7c690a6c55d22b65702fb12d934 | r-tty/radios | [
"BSD-3-Clause"
] | null |
;// DEMO4.ASM
;//
;// Copyright (C)2005-2014 The NASMX Project
;//
;// Purpose:
;// This program demonstrates basic arithmetic operations
;//
;// Contributors:
;// Bryant Keller
;// Rob Neff
;//
;;
;; IMPORTANT DEVELOPER NOTES:
;;
;; Floating point args to vararg functions
;; like printf() must be of type doub... | 3,614 | Assembly | asm | 19.021053 | 79 | 0.678473 | f717ba53bd6d872ab52f9da916aaf162784c8e9e | gbmaster/nasmx | [
"BSD-2-Clause"
] | 18 |
; A100156: Structured truncated tetrahedral numbers.
; 1,12,44,108,215,376,602,904,1293,1780,2376,3092,3939,4928,6070,7376,8857,10524,12388,14460,16751,19272,22034,25048,28325,31876,35712,39844,44283,49040,54126,59552,65329,71468,77980,84876,92167,99864,107978,116520,125501,134932,144824,155188,166035,177376,189222,201... | 2,105 | Assembly | asm | 131.5625 | 1,927 | 0.844656 | f717dbc745e1c011f49af7b1eec95e74ceda695b | karttu/loda | [
"Apache-2.0"
] | null |
; [wd0b5] = pokemon ID
; hl = dest addr
PrintMonType:
call GetPredefRegisters
push hl
call GetMonHeader
pop hl
push hl
ld a, [wMonHType1]
call PrintType
ld a, [wMonHType1]
ld b, a
ld a, [wMonHType2]
cp b
pop hl
jr z, EraseType2Text
ld bc, SCREEN_WIDTH * 2
add hl, bc
; a = type
; hl = dest addr
PrintType... | 716 | Assembly | asm | 13.509434 | 43 | 0.675978 | f717f87123ff97ac209734f3004b4b42390b4be6 | adhi-thirumala/EvoYellow | [
"Unlicense"
] | 16 |
;set nul recs in act-buf for exten
;in: nr=last rec in previous buf
;out: nr=last rec for next nulbuf/lstchr
nulbuf jsr set00 ; set indirect ptr
ldy #2
lda #0
nb10 sta (dirbuf),y ; clear buffer
iny
bne nb10
jsr addnr ; advance nr
nb20 sta nr,x
t... | 815 | Assembly | asm | 16.979167 | 43 | 0.482209 | f717fb38a426da1fa20ee09683818cd14ba6ffcf | silverdr/assembly | [
"Unlicense"
] | 23 |
vHangulCounter EQU $8F40
vHangulDest EQU $8E42
vHangulSrc EQU $8E44
vUploadedTile EQU $8E50
FontInfoTile EQU 8
MaxFontLimit EQU $32
;LegacyFont : Location of Legacy Font
PrintHangul::
;hl(TileMap) bc(Script Bytes), return a : FontBank
push hl
push bc
ld bc,-20
add hl,bc
pop bc
call FindUploadedTiles
cp a,$FF
... | 4,705 | Assembly | asm | 11.851385 | 79 | 0.670351 | f71828819362868d72f9480cbf7e1364bdf4a98d | Wintiger0222/Pokemon-Hangul-Code | [
"MIT"
] | 1 |
;
; boot.s -- Kernel start location. Also defines multiboot header.
; Based on Bran's kernel development tutorial file start.asm
;
MBOOT_PAGE_ALIGN equ 1<<0 ; Load kernel and modules on a page boundary
MBOOT_MEM_INFO equ 1<<1 ; Provide your kernel with memory info
MBOOT_HEADER_MAGIC equ 0x1BAD... | 2,172 | Assembly | asm | 44.326531 | 79 | 0.586096 | f7183b22bc065093afbcc9f38db35a98c651ad4d | cycl0ne/poweros_x86 | [
"Apache-2.0"
] | 2 |
%include "include/u7si-all-includes.asm"
%include "../u7-common/patch-eop-toggleCheats.asm"
| 93 | Assembly | asm | 23.25 | 50 | 0.752688 | f71860d651acf0d0d028422343c4c4d1773574dc | JohnGlassmyer/UltimaHacks | [
"MIT"
] | 68 |
; A190176: a(n) = n^4 + 2^4 + (n+2)^4.
; 32,98,288,722,1568,3042,5408,8978,14112,21218,30752,43218,59168,79202,103968,134162,170528,213858,264992,324818,394272,474338,566048,670482,788768,922082,1071648,1238738,1424672,1630818,1858592,2109458,2384928,2686562,3015968,3374802,3764768,4187618,4645152,5139218,5671712,62445... | 2,513 | Assembly | asm | 251.3 | 2,417 | 0.880223 | f71869d484dac7c3eb817ad88735122b0ccda8ea | karttu/loda | [
"Apache-2.0"
] | 1 |
; A098299: Member r=14 of the family of Chebyshev sequences S_r(n) defined in A092184.
; Submitted by Jon Maiga
; 0,1,14,169,2016,24025,286286,3411409,40650624,484396081,5772102350,68780832121,819597883104,9766393765129,116377127298446,1386759133816225,16524732478496256,196910030608138849,2346395634819169934,2795983758... | 700 | Assembly | asm | 46.666667 | 486 | 0.841429 | f71886f61e35ab1649eb8ce40f44d9342470343d | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
addi $15, $0, 256
mainLoop:
addi $4, $15, 0
add $5, $4, $0
trap 150 ; inits screen
add $10, $4, $0; $10 = n
addi $12, $5, -1; dec n by one and put it in y $12 = y
yLoop:
add $11, $0, $0;$11 = x
xLoop:
and $4, $11, $12 ; dont draw if y & x is zero
bne $4, $0, endOfDraw
add $4, $11, $0 ; x -> $4
add $5, $12, $0 ; y ... | 838 | Assembly | asm | 14.701754 | 54 | 0.533413 | f718a5753abed6cec6b14f716d1bdccb5f3eca05 | jimw278/MIPS | [
"Apache-2.0"
] | 3 |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_normal+0xdbb9, %r14
nop
nop
nop
and %r9, %r9
mov (%r14), %r8d
nop
nop
nop
dec %rax
// REPMOV
lea addresses_D+0x1acb9,... | 6,128 | Assembly | asm | 32.42328 | 2,999 | 0.649151 | f718bf6bf21f55c34573e306b5b1805352ed4c12 | ljhsiun2/medusa | [
"MIT"
] | 9 |
; A020713: Pisot sequences E(5,9), P(5,9).
; 5,9,16,28,49,86,151,265,465,816,1432,2513,4410,7739,13581,23833,41824,73396,128801,226030,396655,696081,1221537,2143648,3761840,6601569,11584946,20330163,35676949,62608681,109870576,192809420,338356945,593775046,1042002567,1828587033,3208946545,5631308624,9882257736,17342153... | 758 | Assembly | asm | 54.142857 | 616 | 0.825858 | f718d5537e2446e70900c05c86659744319c2043 | jmorken/loda | [
"Apache-2.0"
] | 1 |
_VermilionGymText_5cb6d::
text "Hey, kid! What do"
line "you think you're"
cont "doing here?"
para "You won't live"
line "long in combat!"
cont "That's for sure!"
para "I tell you kid,"
line "electric #MON"
cont "saved me during"
cont "the war!"
para "They zapped my"
line "enemies into"
cont "paralysis!... | 373 | Assembly | asm | 16.954545 | 25 | 0.664879 | f718d899488fca58c20c47cd34bcbeb3dd2b7dd7 | etdv-thevoid/pokemon-rgb-enhanced | [
"MIT"
] | 9 |
/*
* Yeppp! library runtime infrastructure
*
* This file is part of Yeppp! library and licensed under MIT license.
* See runtime/LICENSE.txt for details.
*
*/
.include "common.inc"
.syntax unified
BEGIN_ARM_FUNCTION __aeabi_dcmpge
.arch armv5t
/* Check for NaN in the first operand... | 1,026 | Assembly | asm | 20.117647 | 71 | 0.655945 | f718dab714fee0c443af78988f76485422e180df | wdv4758h/Yeppp- | [
"BSD-3-Clause"
] | 30 |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadDr1.Asm
;
; Abstract:
;
; AsmReadDr1 function
;
; Notes:
;
;------------------------------------... | 685 | Assembly | nasm | 20.757576 | 79 | 0.343066 | f718f22142c647a3cbe40d5de498240372b70b8b | kokweich/slimbootloader | [
"BSD-2-Clause-NetBSD",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"BSD-2-Clause-Patent"
] | 9 |
; A058038: a(n) = Fibonacci(2*n)*Fibonacci(2*n+2).
; 0,3,24,168,1155,7920,54288,372099,2550408,17480760,119814915,821223648,5628750624,38580030723,264431464440,1812440220360,12422650078083,85146110326224,583600122205488,4000054745112195,27416783093579880,187917426909946968,1288005205276048899,8828119010022395328,605088... | 989 | Assembly | asm | 76.076923 | 845 | 0.883721 | f718f4741f5a9e713fca6525f6f1fe2a899ec2c7 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A011842: a(n) = floor(n(n-1)(n-2)/24).
; 0,0,0,0,1,2,5,8,14,21,30,41,55,71,91,113,140,170,204,242,285,332,385,442,506,575,650,731,819,913,1015,1123,1240,1364,1496,1636,1785,1942,2109,2284,2470,2665,2870,3085
bin $0,3
div $0,4
| 229 | Assembly | asm | 38.166667 | 168 | 0.672489 | f7192ba656ff213ff0a4892cfe226f308cb5e5d4 | neoneye/loda | [
"Apache-2.0"
] | 22 |
.MODEL SMLL
.STACK 100H
.DATA
;jeshob variables declared hocche
; BH and BL --> 8bit registers , 1BYTE
; BX = BH+BL --> 16 bit register, 1 WORD
; general purpose register AX BX CX DX
; CS - points at the segment containing the current program.
;DS - generally points at segment where variables are defined.
;ES... | 689 | Assembly | asm | 27.56 | 70 | 0.666183 | f7192db3305164e6e0569e11ed16087546d5dcea | L12161/assembly_habijabi | [
"Apache-2.0"
] | null |
// Exploring C64DTV Screen Modes
/// @file
/// C64 DTV version 2 Registers and Constants
///
/// Sources
/// (J) https://www.c64-wiki.com/wiki/C64DTV_Programming_Guide
/// (H) http://dtvhacking.cbm8bit.com/dtv_wiki/images/d/d9/Dtv_registers_full.txt
// Commodore 64 PRG executable file
.file [name="c64dtv-gfxmodes.prg... | 70,874 | Assembly | asm | 23.237377 | 841 | 0.584841 | f7195362a6ddfc87a89ce501a02d1361284fba39 | jbrandwood/kickc | [
"MIT"
] | 2 |
; A339451: Gray-code-like sequence in which, at each step, the least significant bit that has never been toggled from the previous value, is toggled.
; 0,1,0,2,3,2,0,4,5,4,6,7,6,4,0,8,9,8,10,11,10,8,12,13,12,14,15,14,12,8,0,16,17,16,18,19,18,16,20,21,20,22,23,22,20,16,24,25,24,26,27,26,24,28,29,28,30,31,30,28,24,16,0,3... | 704 | Assembly | asm | 23.466667 | 279 | 0.589489 | f7197a69f2fb40f35ab45473babdb69fb2e59c2a | neoneye/loda | [
"Apache-2.0"
] | 22 |
; A008763: Expansion of g.f.: x^4/((1-x)*(1-x^2)^2*(1-x^3)).
; 0,0,0,0,1,1,3,4,7,9,14,17,24,29,38,45,57,66,81,93,111,126,148,166,192,214,244,270,305,335,375,410,455,495,546,591,648,699,762,819,889,952,1029,1099,1183,1260,1352,1436,1536,1628,1736,1836,1953,2061,2187,2304,2439,2565,2710,2845,3000,3145,3310,3465,3641,3806... | 580 | Assembly | asm | 48.333333 | 439 | 0.7 | f7198bd4c6544fe6a65c8230f4ac8a8ae1b60617 | neoneye/loda | [
"Apache-2.0"
] | 22 |
[org 0x7c00]
mov bx, HELLO
call print
call print_nl
mov bx, GOODBYE
call print
call print_nl
mov dx, 0x12fe
call print_hex
jmp $
%include "boot_sect_print.asm"
%include "boot_sect_print_hex.asm"
HELLO:
db 'Hello, World', 0
GOODBYE:
db 'Goodbye', 0
times 510-($-$$) db 0
dw 0xaa55
| 298 | Assembly | asm | 10.275862 | 34 | 0.697987 | f719a8abdcb79a706c53f936b726f05a819c63fe | cristicretu/CrtOS | [
"MIT"
] | 1 |
extern kmain
[bits 32]
_start:
call kmain | 44 | Assembly | asm | 8.8 | 12 | 0.727273 | f71a18b7e8d2aa4b616cd27548491bff4ce2bca9 | devcfei/bootstrap-x86 | [
"Unlicense"
] | null |
; ---------------------------------------------------------------------------
; Animation script - Motobug enemy
; ---------------------------------------------------------------------------
dc.w byte_F788-Ani_obj40
dc.w byte_F78C-Ani_obj40
dc.w byte_F792-Ani_obj40
byte_F788: dc.b $F, 2, $FF, 0
byte_F78C: ... | 411 | Assembly | asm | 41.1 | 78 | 0.381995 | f71a33c9ba720b5aae3f018afa8a50c609315f1e | vladjester2020/Sonic1TMR | [
"Apache-2.0"
] | null |
; char *gets(char *s)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _gets
EXTERN _gets_fastcall
_gets:
pop af
pop hl
push hl
push af
jp _gets_fastcall
;;;;;;;;;;;;;;;;;;;;;;;... | 503 | Assembly | asm | 12.575 | 31 | 0.451292 | f71a3859ea0b994b53b245e7bbdbb2610e12f169 | teknoplop/z88dk | [
"ClArtistic"
] | null |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... | 592,981 | Assembly | asm | 38.259307 | 74 | 0.521963 | f71a3efd02cd656c0dbb66b9a0f97df34f2eba84 | farkoo/xv6-getreadcount | [
"MIT"
] | null |
; A055096: Triangle read by rows, sums of 2 distinct nonzero squares: T(n,k) = k^2+n^2, (n>=2, 1 <= k <= n-1)
; Submitted by Simon Strandgaard
; 5,10,13,17,20,25,26,29,34,41,37,40,45,52,61,50,53,58,65,74,85,65,68,73,80,89,100,113,82,85,90,97,106,117,130,145,101,104,109,116,125,136,149,164,181,122,125,130,137,146,157,17... | 595 | Assembly | asm | 42.5 | 370 | 0.680672 | f71b18ff3313d3ae7055b98fc4a509622bad7bbd | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A186813: a(n) = n if n odd, a(2n) = 3n if n odd, a(4n) = 2n.
; 0,1,3,3,2,5,9,7,4,9,15,11,6,13,21,15,8,17,27,19,10,21,33,23,12,25,39,27,14,29,45,31,16,33,51,35,18,37,57,39,20,41,63,43,22,45,69,47,24,49,75,51,26,53,81,55,28,57,87,59,30,61,93,63,32,65,99,67,34,69,105,71,36,73,111,75,38,77,117,79,40,81,123,83,42,85,129,8... | 1,003 | Assembly | asm | 91.181818 | 872 | 0.685942 | f71b34195b091747dbafb9972e6a8ef4747d8b9a | karttu/loda | [
"Apache-2.0"
] | 1 |
//------------------------------------------------------------------------------
//
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
// Copyright (c) 2018, Pete Batard. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and cond... | 4,296 | Assembly | asm | 22.973262 | 85 | 0.526304 | f71b397c65a2cc23dd50e066072f130a8c333f67 | kkennett/oscore.dev | [
"BSD-3-Clause"
] | null |
; A001536: (11n+1)(11n+10).
; 10,252,736,1462,2430,3640,5092,6786,8722,10900,13320,15982,18886,22032,25420,29050,32922,37036,41392,45990,50830,55912,61236,66802,72610,78660,84952,91486,98262,105280,112540,120042,127786,135772,144000,152470,161182,170136,179332,188770,198450,208372,218536,228942,239590,250480,261612,272... | 748 | Assembly | asm | 83.111111 | 668 | 0.816845 | f71b3b4c96ebe7fa1e594f921dc5ede911817414 | neoneye/loda | [
"Apache-2.0"
] | 22 |
aLine 0
gNew delPtr
gMove delPtr, Root
aLine 1
gBne Root, null, 3
aLine 2
Exception EMPTY_LIST
aLine 4
gMoveNext Root, Root
aLine 5
pDeleteNext delPtr
nDelete delPtr
gDelete delPtr
aLine 6
aStd
Halt | 203 | Assembly | asm | 9.666667 | 20 | 0.793103 | f71b79d48bd84c5dec09ad3ba61f6b995b040b64 | MaxMorning/LinkedListVisualization | [
"Apache-2.0"
] | 3 |
; A086302: a(n) = 4*n^4 + 24*n^3 + 48*n^2 + 36*n + 8.
; 8,120,528,1520,3480,6888,12320,20448,32040,47960,69168,96720,131768,175560,229440,294848,373320,466488,576080,703920,851928,1022120,1216608,1437600,1687400,1968408,2283120,2634128,3024120,3455880,3932288,4456320,5031048
add $0,2
mov $1,$0
sub $0,1
mul $1,$0
bin $... | 333 | Assembly | asm | 33.3 | 221 | 0.723724 | f71babe24484519685f9aba61dff371a0ee687e9 | jmorken/loda | [
"Apache-2.0"
] | 1 |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB 'ENTER THE BINARY NUM:$'
MSG DB 0DH, 0AH, 'GIVEN BINARY NUM IN REV ORDER:$'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
LEA DX, PROMPT
MOV AH, 9
INT 21H
XOR BL,BL
MOV CX,8
MOV AH,1 ... | 849 | Assembly | asm | 10.107143 | 52 | 0.45583 | f71bbc3dec2476f57c60023b0e5fdc70f0f38be7 | asad-n/CSE331L_Section_7_Summer_2020_NSU | [
"MIT"
] | null |
; A087893: Number of numbers m satisfying 1 < m < n such that m^2 == m (mod n).
; 0,0,0,0,0,2,0,0,0,2,0,2,0,2,2,0,0,2,0,2,2,2,0,2,0,2,0,2,0,6,0,0,2,2,2,2,0,2,2,2,0,6,0,2,2,2,0,2,0,2,2,2,0,2,2,2,2,2,0,6,0,2,2,0,2,6,0,2,2,6,0,2,0,2,2,2,2,6,0,2,0,2,0,6,2,2,2,2,0,6,2,2,2,2,2,2,0,2,2,2,0,6,0,2,6,2,0,2,0,6,2,2,0,6,2,2,2,2,2,... | 675 | Assembly | asm | 84.375 | 502 | 0.537778 | f71bd3f99be23cddb622fb657f6bbf9870bb0dcd | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A001610: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0 and a(1) = 2.
; 0,2,3,6,10,17,28,46,75,122,198,321,520,842,1363,2206,3570,5777,9348,15126,24475,39602,64078,103681,167760,271442,439203,710646,1149850,1860497,3010348,4870846,7881195,12752042,20633238,33385281,54018520,87403802,141422323,228826126,370248450,599074577... | 876 | Assembly | asm | 73 | 727 | 0.817352 | f71be49623c0a2c3094115328a99b3c978113987 | jmorken/loda | [
"Apache-2.0"
] | 1 |
;;
;; Copyright (c) 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 the ... | 6,340 | Assembly | asm | 35.617978 | 81 | 0.544322 | f71bf5dfa01b6444ab241025d1f67bc91df08230 | dalekzhangdong/intel-ipsec-mb | [
"BSD-3-Clause"
] | 1 |
.include "myTiny13.h"
; this program counts decimal two 7seg-display from 99 to 00 !!!
; in counts every 0,10009 second
;irq Vector
.org 0x0000
rjmp OnReset
.org 0x0003
rjmp TimerOVF
.org 0x0010
TimerOVF:
; Countdown on every overflow
push B ; 2 clocks
dec A ; 1 clock
ldi B,50 ; B=255-205: prescale makes ... | 1,491 | Assembly | asm | 18.873418 | 101 | 0.649899 | f71c37e162d7084eb8abb5e5415884f55500429c | no-go/Blink_atmega328p | [
"Unlicense"
] | null |
; A155136: Integers n such that n+28 is a square.
; -28,-27,-24,-19,-12,-3,8,21,36,53,72,93,116,141,168,197,228,261,296,333,372,413,456,501,548,597,648,701,756,813,872,933,996,1061,1128,1197,1268,1341,1416,1493,1572,1653,1736,1821,1908,1997,2088,2181,2276,2373
pow $0,2
mov $1,$0
sub $1,28
| 291 | Assembly | asm | 41.571429 | 210 | 0.704467 | f71c896d3f2dd2c19396e273ddf92df64072b8b5 | karttu/loda | [
"Apache-2.0"
] | 1 |
ViridianMart_Script:
call ViridianMartScript_1d47d
call EnableAutoTextBoxDrawing
ld hl, ViridianMart_ScriptPointers
ld a, [wViridianMartCurScript]
jp CallFunctionInTable
ViridianMartScript_1d47d:
CheckEvent EVENT_OAK_GOT_PARCEL
jr nz, .delivered_parcel
ld hl, ViridianMart_TextPointers
jr .done
.delivered_parc... | 1,758 | Assembly | asm | 18.3125 | 37 | 0.82025 | f71cc6ef900c5b161c7604a96c92b650449c57fa | opiter09/ASM-Machina | [
"CC0-1.0"
] | 1 |
Sound_4B_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_4B_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cFM5, Sound_4B_FM5, $00, $06
smpsHeaderSFXChannel cPSG3, Sound_4B_PSG3, $00, $00
; FM5 Data
Sound_4B_FM5:
smpsSetvoice $00
dc.b nEb5, $06, smpsNoAttack, nG6, $... | 1,313 | Assembly | asm | 24.314815 | 62 | 0.633663 | f71cd8ff3cf536971f9d544d157bc3dcbadec777 | Cancer52/flamedriver | [
"0BSD"
] | 9 |
; A158980: Numerator of Hermite(n, 1/7).
; Submitted by Christian Krause
; 1,2,-94,-580,26476,280312,-12412616,-189648688,8135757200,164956085792,-6845825678816,-175348615433792,7029102850896064,220268177451931520,-8514540677137722496,-319237020818325490432,11877900753755801088256,524319450150645971173888,-187399437554... | 707 | Assembly | asm | 39.277778 | 498 | 0.816124 | f71d5223c39331f5f309a0222bbf2a5c47573503 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.3 #11868 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... | 11,271 | Assembly | asm | 23.383817 | 57 | 0.749179 | f71d5f47cbb950383fbf3a20699f0202a63d2292 | KP1533TM2/z88dk | [
"ClArtistic"
] | 1 |
; A025698: Index of 3^n within sequence of numbers of form 3^i*7^j.
; 1,2,4,6,9,12,16,20,25,31,37,44,51,59,67,76,86,96,107,118,130,142,155,168,182,197,212,228,244,261,278,296,315,334,354,374,395,416,438,461,484,508,532,557,582,608,634,661,689,717,746,775,805,835,866,898,930,963,996
mov $3,$0
add $3,1
mov $4,$0
lpb $3
... | 476 | Assembly | asm | 21.636364 | 214 | 0.609244 | f71d6bffd606cddffe43e8341dc914493f68c04c | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A016175: Expansion of 1/((1-6x)(1-12x)).
; 1,18,252,3240,40176,489888,5925312,71383680,858283776,10309483008,123774262272,1485653944320,17830024114176,213973350064128,2567758564933632,30813572964188160,369765696680165376
add $0,1
mov $1,12
pow $1,$0
mov $2,6
pow $2,$0
sub $1,$2
div $1,6
mov $0,$1
| 301 | Assembly | asm | 25.083333 | 179 | 0.757475 | f71d8036600f10c833febdf7dbdbc244747d9620 | neoneye/loda | [
"Apache-2.0"
] | 22 |
;; fob_blob will point at an address after the end of the program
SECTION MAIN_END
PUBLIC _fob_blob
_fob_blob:
;; place this code in divmmc memory
SECTION code_dot
PUBLIC _memory_page_in_mmu6
PUBLIC _memory_page_in_mmu7
PUBLIC _memory_restore_mmu6
PUBLIC _memory_restore_mmu7
PUBLIC _memory_page_in_dir
PUBLIC _... | 1,237 | Assembly | asm | 12.37 | 65 | 0.647534 | f71e1cfdd6483898e33f1944b8eeabf524684831 | jpoikela/z88dk | [
"ClArtistic"
] | 640 |
# JMH version: 1.19
# VM version: JDK 1.8.0_131, VM 25.131-b11
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput... | 2,240 | Assembly | asm | 33.939394 | 67 | 0.705357 | f71e613b8aa2932b6a04876ae485b1526062c245 | arnaudroger/re2j-benchmark | [
"MIT"
] | null |
; A340498: Where 2^n appears in A340488 for the first time.
; 3,6,16,56,216,856,3416,13656,54616,218456,873816,3495256,13981016,55924056,223696216,894784856,3579139416,14316557656,57266230616,229064922456,916259689816
mov $1,$0
sub $0,2
add $1,1
add $1,$0
cal $1,86893 ; a(n) is the index of F(n+1) at the unique occurr... | 504 | Assembly | asm | 50.4 | 237 | 0.759921 | f71f375e2039ba0eeee339fec093fbdd7299d75e | karttu/loda | [
"Apache-2.0"
] | 1 |
;**************************************************************************
;*
;* FILE cia-int.asm
;* Copyright (c) 2010 Daniel Kahlin <daniel@kahlin.net>
;* Written by Daniel Kahlin <daniel@kahlin.net>
;*
;* DESCRIPTION
;*
;******
processor 6502
seg.u zp
;*********************************************... | 16,932 | Assembly | asm | 24.610465 | 138 | 0.40267 | f71f396c2b68be3722400d13563a455b2a55f06b | PhylumChordata/chips-test | [
"MIT"
] | 330 |
Name: zel_char2.asm
Type: file
Size: 15317
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: 6FAC3EEA25F1B10E1F7D2F795F2667A0A4113FCA
Description: null
| 147 | Assembly | asm | 21 | 47 | 0.816327 | f71f399183e41bf7017f13d9bc26d7d46f638e7c | prismotizm/gigaleak | [
"MIT"
] | null |
; A300287: a(n) = floor((1/n) * Sum_{k=1..n} sqrt(k)).
; 1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
mul $0,2
add $0,11
mov $1,5
mov $2,11
mov $3,5
mov $4,3
lpb $0... | 447 | Assembly | asm | 19.434783 | 201 | 0.496644 | f71f6104fc32c6f0db358c6863f72df10abe6981 | neoneye/loda | [
"Apache-2.0"
] | 22 |
; =============================================================================
; Pure64 MBR -- a 64-bit OS loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2014 Return Infinity -- see LICENSE.TXT
; Copyright (C) 2014 Laurent "ker2x" Laborde
;
; This Master Boot Record will load Pure64 from a pre-defi... | 4,859 | Assembly | asm | 28.751479 | 98 | 0.639844 | f71f713bf85cd85ee91b4c0cf15d2c6d0cee1628 | ker2x/zymology | [
"MIT"
] | 3 |
; A339448: a(n) = (prime(n) - a(n-1)) mod 3; a(0)=0.
; 0,2,1,1,0,2,2,0,1,1,1,0,1,1,0,2,0,2,2,2,0,1,0,2,0,1,1,0,2,2,0,1,1,1,0,2,2,2,2,0,2,0,1,1,0,2,2,2,2,0,1,1,1,0,2,0,2,0,1,0,2,2,0,1,1,0,2,2,2,0,1,1,1,0,1,0,2,0,1,1,0,2,2,0,1,0
seq $0,8347 ; a(n) = Sum_{i=0..n-1} (-1)^i * prime(n-i).
mod $0,3
| 294 | Assembly | asm | 49 | 173 | 0.486395 | f71f746873e3c2711b6fcc7421f7df3d0d0b2a6b | neoneye/loda | [
"Apache-2.0"
] | 22 |
;FLAG_INTERRUPT equ 0x0e
;FLAG_R0 equ 0<<5 ; RINGS 0-3
;FLAG_P equ 1<<7
;VIRT_BASE equ 0
;CODE_SEL_64 equ 1
%if 0
extern putc64
extern puts64
extern newline64
extern space64
... | 1,691 | Assembly | asm | 26.84127 | 64 | 0.331756 | f71f7e7708d28064804a94b49973c2bfcc077102 | mschwartz/amos | [
"MIT"
] | 4 |
; A027877: a(n) = Product_{i=1..n} (9^i - 1).
; Submitted by Christian Krause
; 1,8,640,465920,3056435200,180476385689600,95912370410881024000,458745798479390789599232000,19747501938318761090457052119040000,7650586837724400321220283274999910891520000,26675946836622770539385872686850599297942028288000000,837119477779898... | 655 | Assembly | asm | 38.529412 | 454 | 0.836641 | f7203ce5b2293012df961fa71188f4200ebfd0c2 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
%include 'src/include/functions.asm'
SECTION .data
request db 'GET / HTTP/1.1', 0Dh, 0Ah, 'Host: 116.202.244.153:80', 0Dh, 0Ah, 0Dh, 0Ah, 0h
SECTION .bss
buffer resb 1 ; for response
SECTION .text
global _start
_start:
xor eax, eax
xor ebx, ebx
xor edi, edi
_socket:
push byte 6
... | 1,314 | Assembly | asm | 17.756757 | 89 | 0.539574 | f720f526109423b9234d93feb5b1377605657323 | Pentium1080Ti/x86-assembly | [
"MIT"
] | null |
;
; char asm_toupper(char c);
;
BITS 64
SECTION .text
GLOBAL asm_toupper
asm_toupper:
CMP DIL, 97 ; 'a' char
JL _end
CMP DIL, 122 ; 'z' char
JG _end
SUB DIL, 32 ; 'a' - 'A'
_end:
MOVZX RAX, DIL ; Return counter
RET
| 292 | Assembly | asm | 14.6 | 44 | 0.496575 | f7211e7650b50cd872ec54e9d503b47b74e5196a | DarkyZShadow/my_printf | [
"MIT"
] | null |
extern m7_ippsAES_SIVEncrypt:function
extern n8_ippsAES_SIVEncrypt:function
extern y8_ippsAES_SIVEncrypt:function
extern e9_ippsAES_SIVEncrypt:function
extern l9_ippsAES_SIVEncrypt:function
extern n0_ippsAES_SIVEncrypt:function
extern k0_ippsAES_SIVEncrypt:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeIni... | 1,109 | Assembly | asm | 28.435897 | 99 | 0.801623 | f7215d5e2799916b3591374ee7ce4c83982c6e09 | zyktrcn/ippcp | [
"Apache-2.0"
] | 1 |
.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 c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
ld a, 02
ldff(ff), a
ld a, 07
ldff(43... | 1,470 | Assembly | asm | 12.894737 | 24 | 0.622449 | f72164e707320eeb8dd4da7471ed8c2fb0721705 | ReallyEvilFish/1234 | [
"MIT"
] | 9 |
; A172968: a(n) = 7*a(n-1) - a(n-2) for n>1, a(0)=1, a(1)=2.
; 1,2,13,89,610,4181,28657,196418,1346269,9227465,63245986,433494437,2971215073,20365011074,139583862445,956722026041,6557470319842,44945570212853,308061521170129,2111485077978050,14472334024676221,99194853094755497,679891637638612258,4660046610375530309,3194... | 980 | Assembly | asm | 75.384615 | 834 | 0.87551 | f721a9bda7cc8030589d63f5b667a08d609d93a7 | neoneye/loda | [
"Apache-2.0"
] | 22 |
lc r4, 0x00000000
lc r5, 0x0000101f
lc r6, 0x00000000
tlbse r6, r4
lc r8, 0x40000000
lc r9, 0x0000101f
lc r10, 0x00000001
tlbse r10, r8
lc r11, 0xdeadbeef
lc r12, 0xc0000003
lc r13, 0xc0000003
st1 r11, r13, 0
halt
#@expected values
#r4 = 0x00000000
#r5 = 0x0000101f
#... | 637 | Assembly | asm | 16.763158 | 22 | 0.615385 | f722265b221664d1de36d22be9a2dd6fc1e5cc6a | geoffthorpe/ant-architecture | [
"BSD-3-Clause"
] | null |
; A233775: Number of vertices in the n-th row of the Sierpinski gasket (cf. A047999).
; 1,2,3,4,5,4,6,8,9,4,6,8,10,8,12,16,17,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,33,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,34,8,12,16,20,16,24,32,36,16,24,32,40,32,48,64,65,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,34,8,12,16,20,16,24,3... | 1,157 | Assembly | asm | 41.321429 | 722 | 0.629213 | f72275c431ded098e8115124771f2fcf78a6c1b3 | jmorken/loda | [
"Apache-2.0"
] | 1 |
; A132681: Infinitesimal generator matrix for a diagonally-shifted Pascal matrix, binomial(n+m,k+m), for m=1, related to Laguerre(n,x,m).
; 0,2,0,0,3,0,0,0,4,0,0,0,0,5,0,0,0,0,0,6,0,0,0,0,0,0,7,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,12,0
add $0,3
lpb $0,1
... | 375 | Assembly | asm | 31.25 | 160 | 0.597333 | f722a899c0ef0b0540714eb37b4c01bd9af08305 | karttu/loda | [
"Apache-2.0"
] | null |
InitPlayerData:
InitPlayerData2:
call Random
ldh a, [hRandomSub]
ld [wPlayerID], a
call Random
ldh a, [hRandomAdd]
ld [wPlayerID + 1], a
ld a, $ff
ld [wUnusedD71B], a
ld hl, wPartyCount
call InitializeEmptyList
ld hl, wBoxCount
call InitializeEmptyList
ld hl, wNumBagItems
call InitializeEmptyList
ld ... | 884 | Assembly | asm | 15.785714 | 50 | 0.717195 | f722ebffec8d1da8b8cb9c8f008f7ed383d9d1ba | opiter09/ASM-Machina | [
"CC0-1.0"
] | 1 |
; A290856: Binary representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 1006", based on the 5-celled von Neumann neighborhood.
; 1,1,1,1,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11... | 641 | Assembly | asm | 80.125 | 378 | 0.698908 | f723436583936d637ead81f27418b87d7ea79e59 | karttu/loda | [
"Apache-2.0"
] | null |
; A152773: 3 times heptagonal numbers: a(n) = 3n(5n-3)/2.
; 0,3,21,54,102,165,243,336,444,567,705,858,1026,1209,1407,1620,1848,2091,2349,2622,2910,3213,3531,3864,4212,4575,4953,5346,5754,6177,6615,7068,7536,8019,8517,9030,9558,10101,10659,11232,11820,12423,13041,13674,14322,14985,15663,16356,17064,17787,18525,19278,200... | 605 | Assembly | asm | 67.222222 | 498 | 0.773554 | f7234f2a1dcd79f4c02812a8d790038ccd87b057 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
; A040309: Continued fraction for sqrt(328).
; 18,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36
sub $0,1
mod $0,2
sub $0,1
gcd $0,4
mul $0,9
| 281 | Assembly | asm | 31.222222 | 189 | 0.6121 | f723a3bbafe9dcb0435db0ac137a7be04cef914a | neoneye/loda | [
"Apache-2.0"
] | 22 |
global thread_main
extern printf
extern dprintf
%include "cabna/sys/iface.nasm"
%assign count 43
section .data
fmtstr1: db `fibonacci(%lu) = `,0
fmtstr2: db `%llu\n`,0
section .text
proc thread_main: ; (done (fibonacci count))
thread_main_race
mov edx, count
mov esi, fmtstr1
mov edi, 2 ; stderr
... | 2,759 | Assembly | nasm | 19.707143 | 71 | 0.686843 | f723a51d673d6066a6e302e0cb4b22569584d2dc | DerickEddington/cabna | [
"Unlicense"
] | null |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
03CCC8 move.w ($8a,A0), D2 [123p+ 88]
03CCCC jsr $103a.l
08C6F6 move.w #$30, ($8a,A6) [123p+ 88]
08C6FC move.b #$1, ($24,A6) [123p+ 8A]
08C76A mo... | 2,034 | Assembly | asm | 78.230769 | 350 | 0.657325 | f723d21961c59c5b41972bc1bb571f5f9dd75085 | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | [
"Apache-2.0"
] | 6 |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r9
push %rbx
lea addresses_UC_ht+0x8519, %r12
nop
xor %r13, %r13
mov (%r12), %r14
nop
nop
nop
nop
nop
xor $50103, %r10
lea addresses_normal_ht+0x555f, %rbx
nop
nop
nop
nop
nop
dec %r9
mov (%rbx), %r10d
nop
nop
nop
nop
inc %r13
po... | 5,825 | Assembly | asm | 37.580645 | 2,999 | 0.654421 | f723fdb1b5594176d969fc93ab7c062643b9791b | ljhsiun2/medusa | [
"MIT"
] | 9 |
; void __CALLEE__ sp1_ChangeSprType_callee(struct sp1_cs *c, void *drawf)
SECTION code_temp_sp1
PUBLIC sp1_ChangeSprType_callee
sp1_ChangeSprType_callee:
pop hl
pop de
ex (sp),hl
INCLUDE "temp/sp1/zx/sprites/asm_sp1_ChangeSprType.asm"
| 252 | Assembly | asm | 18 | 73 | 0.781746 | f7240e665c5661e10188ffe34c19786392f48ca7 | meesokim/z88dk | [
"ClArtistic"
] | null |
; A117998: Decimal number generated by the binary bits of the n-th generation of the Rule 102 elementary cellular automaton.
; Submitted by Christian Krause
; 1,6,20,120,272,1632,5440,32640,65792,394752,1315840,7895040,17895424,107372544,357908480,2147450880,4295032832,25770196992,85900656640,515403939840,1168248930304... | 761 | Assembly | asm | 63.416667 | 488 | 0.847569 | f7243812cb5ccf30e3c0c779567578b78e721546 | neoneye/loda-programs | [
"Apache-2.0"
] | 11 |
lbu $3,15($0)
subu $3,$4,$3
slti $6,$3,22413
sllv $6,$2,$3
srav $4,$0,$3
ori $3,$3,29131
and $1,$3,$3
addiu $3,$3,23286
lw $4,0($0)
xori $3,$3,62860
slti $5,$1,-14026
lh $0,14($0)
xor $3,$3,$3
addu $4,$5,$3
srav $1,$3,$3
lhu $4,16($0)
sra $5,$1,17
sltu $3,$3,$3
srlv $3,$3,$3
lw $3,16($0)
slt $4,$0,$3
slti $4,$5,-18192
... | 12,517 | Assembly | asm | 14.079865 | 18 | 0.52193 | f724fb1a4d04f3c7169875607a2e5a1add4ac80d | alxzzhou/BUAA_CO_2020 | [
"Apache-2.0"
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.