max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
programs/oeis/312/A312680.asm
jmorken/loda
1
200996
; A312680: Coordination sequence Gal.4.63.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,4,8,14,20,26,30,34,38,42,48,54,60,64,68,72,76,82,88,94,98,102,106,110,116,122,128,132,136,140,144,150,156,162,166,170,174,178,184,190,196,2...
linkedlist 16 bit addr version 6809.asm
HurrayBanana/AssemblerExamples
0
200997
;*************************************************************************** ; Linked list example in 6809, using 16 bit addressing ; copyright <NAME> 2018 ;*************************************************************************** ;*************************************************************************** ; link no...
testsuite/ubivm/output/context_changed_event_1.asm
alexgarzao/UOP
0
200998
<filename>testsuite/ubivm/output/context_changed_event_1.asm .constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [1] .const 3 string [location.symbolic] .const 4 string [on_changed] .const 5 string [alt_loc] .const 6 string [2] .const 7 string [3]...
MDPL/lab02/asm lab 2/main_asm.asm
3xlerman/labsbonch
3
200999
;.686 ;.model flat, c .data extern a_sig: word extern b_sig: word extern a_unsig: word extern b_unsig: word extern x_return: word .code ; signed ;;;;;;;;;;;;;;;;;;;;;;;; ;a == b signed_s1 PROC mov ax, 21d mov x_return, ax ret signed_s1 ENDP ;a > b signed_s2 PROC mov ax, a_sig add ax, 2 cwd idiv b_s...
1.proc/generated-asm/104.proc_args.asm
takenobu-hs/haskell-ghc-cmm-examples
1
201000
<reponame>takenobu-hs/haskell-ghc-cmm-examples<gh_stars>1-10 ==================== Asm code ==================== .section .text .align 8 .globl proc .type proc, @function proc: _c4: addq %rsi,%r14 addq %r14,%rbx jmp *(%rbp) .size proc, .-proc
sk/music-optimized/Desert Palace.asm
Cancer52/flamedriver
9
201001
<gh_stars>1-10 Snd_DPZ_Header: smpsHeaderStartSong 3 smpsHeaderVoiceUVB smpsHeaderChan $06, $03 smpsHeaderTempo $01, $23 smpsHeaderDAC Snd_DPZ_DAC smpsHeaderFM Snd_DPZ_FM1, $18, $0A smpsHeaderFM Snd_DPZ_FM2, $0C, $11 smpsHeaderFM Snd_DPZ_FM3, $0C, $11 smpsHeaderFM Sn...
oeis/175/A175787.asm
neoneye/loda-programs
11
201002
<reponame>neoneye/loda-programs ; A175787: Primes together with 4. ; Submitted by <NAME> ; 2,3,4,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277 sub $0,1 mov $2,2 m...
data/pokemon/base_stats/ledyba.asm
AtmaBuster/pokeplat-gen2
6
201003
db 0 ; species ID placeholder db 40, 20, 30, 55, 40, 80 ; hp atk def spd sat sdf db BUG, FLYING ; type db 255 ; catch rate db 54 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/ledyba/front.dimensions" db GROWTH_FAST ; growth...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_252.asm
ljhsiun2/medusa
9
201004
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r14 push %rbp push %rbx push %rdi // Load mov $0xdb6, %rbp nop nop nop nop and $47641, %r12 vmovups (%rbp), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %r14 nop nop s...
_maps/obj1C.asm
vladjester2020/Sonic1TMR
0
201006
<filename>_maps/obj1C.asm ; --------------------------------------------------------------------------- ; Sprite mappings - SLZ lava thrower ; --------------------------------------------------------------------------- dc.w byte_8858-Map_obj1C byte_8858: dc.b 1 dc.b $F0, 7, 0, 0, $F8 even
programs/oeis/249/A249852.asm
karttu/loda
1
201008
<filename>programs/oeis/249/A249852.asm<gh_stars>1-10 ; A249852: a(n) is the total number of pentagons on the left or the right of the vertical symmetry axis of a pentagon expansion (vertex to vertex) after n iterations. ; 0,2,7,14,23,35,50,67,86,108,133,160,189,221,256,293,332,374,419,466,515,567,622,679,738,800,865,9...
oeis/145/A145312.asm
neoneye/loda-programs
11
201009
<filename>oeis/145/A145312.asm<gh_stars>10-100 ; A145312: Coefficients in expansion of E''_4(q), where E_4 is the Eisenstein series in A004009. ; Submitted by <NAME> ; 4320,40320,210240,604800,1814400,3467520,7862400,13080960,24494400,35164800,64753920,82293120,135233280,177811200,269625600,320785920,500346720,56306880...
functions_16.asm
Hesketh/BootDiskSectorReader
0
201010
<gh_stars>0 ; Various sub-routines that will be useful to the boot loader code ; Output Carriage-Return/Line-Feed (CRLF) sequence to screen using BIOS Console_Write_CRLF: mov ah, 0Eh ; Output CR mov al, 0Dh int 10h mov al, 0Ah ; Output LF int 10h ret ; Write to the console using ...
src/malware/lib/inc/util.inc.asm
tiago4orion/libmalelf
16
201011
<filename>src/malware/lib/inc/util.inc.asm<gh_stars>10-100 %include "inc/syscall.inc.asm" %macro prologue 0 push ebp mov ebp,esp %endmacro %macro prologue 1 push ebp mov ebp,esp sub esp,%1 %endmacro %macro epilogue 0 mov esp, ebp pop ebp %en...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_231.asm
ljhsiun2/medusa
9
201012
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x46fd, %r11 nop nop nop nop nop add %r14, %r14 movb $0x61, (%r11) dec %rsi lea addresses_A_ht+0xcfad, %rsi lea addresses_D_ht+0x7c5...
tcrf10th.asm
Xkeeper0/tcrf-birthday
10
201013
; tcrf10th.nes ; ============ ; TCRF 10th year birthday ROM ; Started as the 9th birthday but, uh, well ; ; The Cutting Room Floor wiki turned 10 years old ; on October 25, 2019 ; The actual website itself is much older, but ; nobody is quiiiite sure when it started... ; ; This project was started for the 9th birthday,...
source/asm64/amd64.masm/Square.asm
nitrieu/curve25519
124
201015
; The MIT License (MIT) ; ; Copyright (c) 2015 <NAME> ; ; Permission is hereby granted, free of charge, to any person obtaining ; a copy of this software and associated documentation files (the ; "Software"), to deal in the Software without restriction, including ; without limitation the rights to use, copy, modi...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_385.asm
ljhsiun2/medusa
9
201017
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x13a9c, %rsi lea addresses_normal_ht+0x1ed3c, %rdi clflush (%rdi) cmp %r10, %r10 mov $55, %rcx rep movsw sub $60661, %rdi lea addresses_A_ht+0x12764, %rax nop nop nop add $7567,...
programs/oeis/063/A063473.asm
jmorken/loda
1
201018
<filename>programs/oeis/063/A063473.asm ; A063473: M(2*n-1), where M(n) is Mertens's function (A002321): Sum_{k=1..n} mu(k), where mu = Moebius function (A008683). ; 1,-1,-2,-2,-2,-2,-3,-1,-2,-3,-2,-2,-2,-1,-2,-4,-3,-1,-2,0,-1,-3,-3,-3,-3,-2,-3,-2,-1,-1,-2,-1,0,-2,-1,-3,-4,-3,-2,-4,-4,-4,-3,-1,-2,-1,0,2,1,1,0,-2,-3,-3,...
programs/oeis/046/A046032.asm
neoneye/loda
22
201019
<filename>programs/oeis/046/A046032.asm ; A046032: a(n) = (n!)^2 - 1. ; 0,3,35,575,14399,518399,25401599,1625702399,131681894399,13168189439999,1593350922239999,229442532802559999,38775788043632639999,7600054456551997439999,1710012252724199423999999,437763136697395052543999999,126513546505547170185215999999,40990389067...
data/mapObjects/Route2.asm
AmateurPanda92/pokemon-rby-dx
9
201020
Route2_Object: db $f ; border block db 6 ; warps warp 12, 9, 0, DIGLETTS_CAVE_ROUTE_2 warp 3, 11, 1, VIRIDIAN_FOREST_NORTH_GATE warp 15, 19, 0, ROUTE_2_TRADE_HOUSE warp 16, 35, 1, ROUTE_2_GATE warp 15, 39, 2, ROUTE_2_GATE warp 3, 43, 2, VIRIDIAN_FOREST_SOUTH_GATE db 2 ; signs sign 5, 65, 3 ; Route2Text3 si...
programs/oeis/171/A171835.asm
neoneye/loda
22
201021
<gh_stars>10-100 ; A171835: Partial sums of numbers congruent to {3, 4, 5, 6} mod 8 (A047425). ; 3,7,12,18,29,41,54,68,87,107,128,150,177,205,234,264,299,335,372,410,453,497,542,588,639,691,744,798,857,917,978,1040,1107,1175,1244,1314,1389,1465,1542,1620,1703,1787,1872,1958,2049,2141,2234,2328,2427,2527,2628,2730,2837,...
programs/oeis/261/A261366.asm
neoneye/loda
22
201022
; A261366: a(n) = number of even terms in row n of triangle A261363. ; 0,1,1,2,1,4,3,4,1,8,7,8,5,10,7,8,1,16,15,16,13,18,15,16,9,22,19,20,13,22,15,16,1,32,31,32,29,34,31,32,25,38,35,36,29,38,31,32,17,46,43,44,37,46,39,40,25,50,43,44,29,46,31,32,1,64,63,64,61,66,63,64,57,70,67,68,61,70,63,64,49,78,75,76,69,78,71,72,57,8...
Vivid/libv/linux_x64/console.asm
lehtojo/v
3
201023
<filename>Vivid/libv/linux_x64/console.asm #analyze .intel_syntax noprefix # rdi: Text # rsi: Length .global _V14internal_printPhx _V14internal_printPhx: mov rdx, rsi mov rsi, rdi mov rdi, 1 mov rax, 1 # System call: sys_write syscall ret # rdi: Buffer # rsi: Length .global _V13internal_readPhx_rx _V13internal_readPhx...
Femtium_assamble.asm
Troelsbk/Femtium-architecture
0
201024
<reponame>Troelsbk/Femtium-architecture<filename>Femtium_assamble.asm ;prepare password for write to screen DEBUG:root:[ADD][0x1000]: reg[62] = (reg[62]=0x0 + reg[0]=0x0 + offset = 0xef) = 0xef DEBUG:root:[MOVI][0x1004]: $r3, P INFO:root:[STB][0x1008]: memory[0xef], $r3(P) DEBUG:root:[MOVI][0x100c]: $r3, a INFO:root:[S...
libsrc/_DEVELOPMENT/stdio/z80/asm__fmemopen.asm
jpoikela/z88dk
640
201025
; =============================================================== ; Jan 2014 ; =============================================================== ; ; FILE *_fmemopen_(void **bufp, size_t *sizep, const char *mode) ; ; Associate a memory buffer with a stream. ; ; More general than the proposed standard functions which onl...
src/bootsect/_inc/cdbios.asm
LukeUsher/ProjectCD
14
201026
<reponame>LukeUsher/ProjectCD MSCSTOP EQU $0002 MSCPAUSEON EQU $0003 MSCPAUSEOFF EQU $0004 MSCSCANFF EQU $0005 MSCSCANFR EQU $0006 MSCSCANOFF EQU $0007 ROMPAUSEON EQU $0008 ROMPAUSEOFF EQU $0009 DRVOPEN EQU $000A DRVINIT EQ...
Assembly/Wi-Fi/filter.asm
WildGenie/Ninokuni
14
201027
;;----------------------------------------------------------------------------;; ;; Change filter ATTR1 to select the correct files from server by language. ;; Copyright 2014 <NAME> (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance ...
programs/oeis/091/A091972.asm
karttu/loda
0
201028
<reponame>karttu/loda ; A091972: G.f.: (1 + x^5 ) / ( (1-x^3)*(1-x^4)). ; 1,0,0,1,1,1,1,1,2,2,1,2,3,2,2,3,3,3,3,3,4,4,3,4,5,4,4,5,5,5,5,5,6,6,5,6,7,6,6,7,7,7,7,7,8,8,7,8,9,8,8,9,9,9,9,9,10,10,9,10,11,10,10,11,11,11,11,11,12,12,11,12,13,12,12,13,13,13,13,13,14,14,13,14,15,14,14,15,15,15 mov $2,2 mov $7,$0 lpb $2,1 mo...
VM/src/Linux/VPU/x86_64/organized/bak/immjmp.asm
ozdevguy/Ditto
0
201029
<gh_stars>0 ivpu_immediateJump: test r12, 0x10 #Check the architecture of the current instruction. cmovz ebx, dword ptr [r13 + rdi + 4] #If the result of the check is 0, then this is a 32 bit instruction. As such, the instruction is only 4 bytes, se we use ebx to move the address in instruction part 2. cmo...
libsrc/_DEVELOPMENT/string/c/sccz80/strcat.asm
meesokim/z88dk
0
201030
; char *strcat(char * restrict s1, const char * restrict s2) SECTION code_string PUBLIC strcat EXTERN asm_strcat strcat: pop af pop hl pop de push de push hl push af jp asm_strcat
oeis/128/A128501.asm
neoneye/loda-programs
11
201031
<filename>oeis/128/A128501.asm ; A128501: a(n) = lcm{1 <= k <= n, gcd(k, 3) = 1}. ; Submitted by <NAME> ; 1,1,2,2,4,20,20,140,280,280,280,3080,3080,40040,40040,40040,80080,1361360,1361360,25865840,25865840,25865840,25865840,594914320,594914320,2974571600,2974571600,2974571600,2974571600,86262576400 seq $0,3418 ; Least...
Library/CoProcessor/IntCommon/intCommonC.asm
steakknife/pcgeos
504
201032
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: intCommonC.asm AUTHOR: <NAME> REVISION HISTORY: Name Date Description ---- ---- ----------- jimmy 5/12/92 Initi...
Appl/Art/Decks/GeoDeck/LMSpade2.asm
steakknife/pcgeos
504
201033
<reponame>steakknife/pcgeos<gh_stars>100-1000 LMSpade2 label byte word C_BLACK Bitmap <71,100,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0x01, 0x03, 0xe0, 0xfa, 0x00 db 0x01, 0x07, 0xf0, 0xfc, 0x00, 0x01, 0x04, 0x00 db 0x01, 0x0e, 0x38, 0xfc, 0x00, 0x01, 0x0e, 0x...
slingguy.asm
ryan-danielson/SlingGuy
0
201034
%include "asm_io.inc" ; the file that stores the initial state %define BOARD_FILE 'board.txt' ; how to represent everything %define WALL_CHAR '#' %define PLAYER_CHAR "@" %define HOOK '*' ; the size of the game screen in characters %define HEIGHT 20 %define WIDTH 40 ; the player starting positi...
programs/oeis/141/A141885.asm
neoneye/loda
22
201035
<reponame>neoneye/loda ; A141885: Primes congruent to 13 mod 20. ; 13,53,73,113,173,193,233,293,313,353,373,433,593,613,653,673,733,773,853,953,1013,1033,1093,1153,1193,1213,1373,1433,1453,1493,1553,1613,1693,1733,1753,1873,1913,1933,1973,1993,2053,2113,2153,2213,2273,2293,2333,2393,2473,2593,2633,2693,2713,2753,2833,2...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_1464_422.asm
ljhsiun2/medusa
9
201036
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xb2a1, %rsi lea addresses_WT_ht+0x1a7dd, %rdi clflush (%rdi) nop nop nop nop nop and %r14, %r14 mov $66, %rcx rep movsl nop nop dec %rsi lea addresses_normal_ht+0xe591, %rbp ...
programs/oeis/276/A276887.asm
karttu/loda
0
201037
<reponame>karttu/loda ; A276887: Sums-complement of the Beatty sequence for 3 + tau. ; 1,2,3,6,7,8,11,12,15,16,17,20,21,22,25,26,29,30,31,34,35,38,39,40,43,44,45,48,49,52,53,54,57,58,59,62,63,66,67,68,71,72,75,76,77,80,81,82,85,86,89,90,91,94,95,98,99,100,103,104,105,108,109,112 mov $3,$0 add $3,1 mov $9,$0 lpb $3,1 ...
src/pong.asm
James-P-D/Pong
0
201038
<filename>src/pong.asm<gh_stars>0 .386 ; 386 Processor Instruction Set .model flat, stdcall ; Flat memory model and stdcall method option casemap: none ; Case Sensitive include c:\\masm32\\include\\windows.inc include c:\\masm32\\include\\kernel32.inc include c:\\masm32\\include\\masm32.inc include ...
examples/program1.asm
hleonps/Micro-To-MIPS32-Compiler
1
201039
<reponame>hleonps/Micro-To-MIPS32-Compiler<filename>examples/program1.asm .text .globl main main: lw $t1, var1 lw $t2, var1 add $t0, $t1, $t2 sw $t0, var1 lw $t4, var1 li $v0, 1 move $a0, $t4 syscall li $a0, 10 li $v0, 11 syscall li $v0, 10 syscall .data var1: .word -2
cmd/command/romres.asm
minblock/msdos
0
201040
<filename>cmd/command/romres.asm page ,132 title Find ROM Resident Code comment % FindROMRes locates COMMAND's ROM-resident code during initialization. The supplied code handles the cases o complete COMMAND image below 1 MB o COMMAND resident code below 1 MB, rest of image somewhere else The cases are ide...
audio/sfx/cry0b_2.asm
opiter09/ASM-Machina
1
201041
<reponame>opiter09/ASM-Machina<gh_stars>1-10 SFX_Cry0B_2_Ch5: duty_cycle_pattern 3, 0, 3, 0 square_note 4, 15, 1, 1792 square_note 4, 14, 1, 1920 square_note 4, 13, 1, 1856 square_note 4, 14, 1, 1856 square_note 4, 15, 1, 1920 square_note 4, 13, 1, 1792 square_note 4, 15, 1, 1793 square_note 4, 13, 1, 1922 sq...
maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
Dev727/ancientplatinum
28
201042
object_const_def ; object_event constants const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_CAPTAIN const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1 const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2 const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_POKEFAN_M1 const FASTSHIPCABINS...
main.asm
Sagiri/jumpifsubstituteblocks
0
201043
.gba .arm .include "constants.s" .thumb .open "test.gba", 0x08000000 .org allocation .area allocation_size .importobj "obj/relocatable.o" // returns value on r0 // all other registers are left untouched substitute_blocks_move_defaults_b_defender: push {r1-r3, lr} ldr r1, =b_defend...
oeis/308/A308434.asm
neoneye/loda-programs
11
201044
; A308434: n! + n!!. ; Submitted by <NAME> ; 2,2,4,9,32,135,768,5145,40704,363825,3632640,39927195,479047680,6227155935,87178936320,1307676395025,20922800209920,355687462555425,6402373891522560,121645101063561075,2432902011892531200,51090942185458750575,1124000727859357286400 mov $1,1 mov $2,1 lpb $0 mul $1,$0 add...
libsrc/stdio/__printf_number.asm
jpoikela/z88dk
0
201045
<filename>libsrc/stdio/__printf_number.asm<gh_stars>0 MODULE __printf_number SECTION code_clib PUBLIC __printf_number EXTERN __printf_print_to_buf EXTERN __printf_print_the_buffer EXTERN l_int2long_s EXTERN l_long_neg EXTERN l_long_div_u EXTERN l_div_u EXTERN l_neg EXTERN get_16bit_ap_parameter EXTERN _...
oeis/212/A212836.asm
neoneye/loda-programs
11
201046
; A212836: Number of 0..n arrays of length 3 with 0 never adjacent to n. ; 2,17,50,107,194,317,482,695,962,1289,1682,2147,2690,3317,4034,4847,5762,6785,7922,9179,10562,12077,13730,15527,17474,19577,21842,24275,26882,29669,32642,35807,39170,42737,46514,50507,54722,59165,63842,68759,73922,79337,85010,90947,97154,103637,1...
src/coreclr/nativeaot/Runtime/i386/InteropThunksHelpers.asm
pyracanda/runtime
9,402
201047
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. .586 .model flat option casemap:none .code ;; ----------------------------------------------------------------------------------------------------------- ;; standard macros ;; --...
main.asm
nurakdas/Buzzer-Orchestra
0
201048
;-------------------------------------------------------- ; File Created by C51 ; Version 1.0.0 #1069 (Apr 23 2015) (MSVC) ; This file was generated Tue Mar 31 21:04:15 2020 ;-------------------------------------------------------- $name main $optc51 --model-small R_DSEG segment data R_CSEG segment code...
programs/oeis/299/A299336.asm
karttu/loda
0
201049
<reponame>karttu/loda ; A299336: Expansion of 1 / ((1 - x)^7*(1 + x)^4). ; 1,3,10,22,49,91,168,280,462,714,1092,1596,2310,3234,4488,6072,8151,10725,14014,18018,23023,29029,36400,45136,55692,68068,82824,99960,120156,143412,170544,201552,237405,278103,324786,377454,437437,504735,580888,665896,761530,867790,986700,1118260...
libsrc/spectrum/tape/tape_save_block_callee.asm
andydansby/z88dk-mk2
1
201050
; ; Tape save routine ; ; djm 16/10/2001 ; ; int __CALLEE__ tape_save_block_callee(void *addr, size_t len, unsigned char type) XLIB tape_save_block_callee XDEF ASMDISP_TAPE_SAVE_BLOCK_CALLEE XREF call_rom3 .tape_save_block_callee pop hl pop bc ld a,c pop de pop ix push hl ; enter : ix = addr ; ...
programs/oeis/186/A186194.asm
neoneye/loda
22
201051
; A186194: A002275(n) * (A002275(n)+1). ; 0,2,132,12432,1235432,123465432,12345765432,1234568765432,123456798765432,12345679098765432,1234567902098765432,123456790132098765432,12345679012432098765432,1234567901235432098765432,123456790123465432098765432 mov $1,10 pow $1,$0 add $1,4 bin $1,2 mul $1,2 div $1,81 mov $0,$...
hw3.asm
justinba1010/CSCE212
2
201052
<reponame>justinba1010/CSCE212 ### <NAME> ### 00426510 ### Homework 3 ### 7 November 2018 ### Dr. <NAME> # Question 1 a&b # P1 = 10 + 60 + 120 + 80 Cycles per 100 instructions = 270 => 2.7 Global CPI # P2 = 40 + 100 + 180 + 80 Cycles per 100 instructions = 400 => 4 Global CPI # P1 is faster because at 3 GHz it runs 3x...
system/book_csapp/arith.asm
larryjiang/cs_study
0
201053
.file "arith.c" .text .globl arith .type arith, @function arith: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movl %edi, -20(%rbp) movl %esi, -24(%rbp) movl %edx, -28(%rbp) movl -20(%rbp), %edx movl -24(%rbp), %eax addl %edx, %eax mo...
programs/oeis/067/A067771.asm
neoneye/loda
22
201054
<filename>programs/oeis/067/A067771.asm ; A067771: Number of vertices in Sierpiński triangle of order n. ; 3,6,15,42,123,366,1095,3282,9843,29526,88575,265722,797163,2391486,7174455,21523362,64570083,193710246,581130735,1743392202,5230176603,15690529806,47071589415,141214768242,423644304723,1270932914166,3812798742495,...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_76_604.asm
ljhsiun2/medusa
9
201057
<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_76_604.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rbp push %rbx push %rcx push %rsi lea addresses_WC_ht+0x1458c, %rbp nop xor $35821, %r10 movb $0x61, (%rbp) nop nop nop add $46384, %r9 lea addresses_D_ht+0x4...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_770.asm
ljhsiun2/medusa
9
201058
<filename>Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_770.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbp push %rbx push %rdi push %rdx lea addresses_D_ht+0x656e, %rax nop nop dec %rdi mov $0x6162636465666768, %rbx movq %rbx, (%rax) nop nop and $8101, %rbp lea addr...
libsrc/target/nc100/txtsetwindow.asm
jpoikela/z88dk
640
201059
SECTION code_clib PUBLIC txtsetwindow PUBLIC _txtsetwindow .txtsetwindow ._txtsetwindow pop bc pop hl pop de push de push hl push bc jp 0xb839
libs/xlibc/arch/x86/atomic.asm
MUYIio/Mini-OS
5
201061
<reponame>MUYIio/Mini-OS<filename>libs/xlibc/arch/x86/atomic.asm [section .text] [bits 32] ;lock 锁定的是内存地址,所以操作对象值必须时内存才行 ; void mem_atomic_add(int *a, int b); global mem_atomic_add mem_atomic_add: push ebx mov eax, [esp + 4 + 4] ; a mov ebx, [esp + 4 + 8] ; b ; 通过lock前缀,让运算时原子运算 lock add [eax], ebx ...
programs/oeis/213/A213770.asm
neoneye/loda
22
201062
<reponame>neoneye/loda<gh_stars>10-100 ; A213770: Antidiagonal sums of the convolution array A213768. ; 1,7,23,58,126,250,467,837,1457,2484,4172,6932,11429,18739,30603,49838,81002,131470,213175,345425,559461,905832,1466328,2373288,3840841,6215455,10057727,16274722,26334102,42610594,68946587,111559197,180507929,29206940...
os/chapter1/myfirst.asm
chenliangold4j/beBetter
0
201063
BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; Set data segment to where we're loaded mov ds, ax mov si, text_string ; Put string position into SI call print_string ; Call our string-p...
programs/oeis/136/A136522.asm
neoneye/loda
22
201064
<filename>programs/oeis/136/A136522.asm<gh_stars>10-100 ; A136522: a(n) = 1 if n is a palindrome, otherwise 0. ; Coded manually 2021-03-03 by <NAME>, https://github.com/neoneye ; 1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_ScreenAttr_callee.asm
meesokim/z88dk
0
201065
; uchar__CALLEE__ sp1_ScreenAttr_callee(uchar row, uchar col) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_temp_sp1 PUBLIC sp1_ScreenAttr_callee sp1_ScreenAttr_callee: pop hl pop de ex (sp),hl ld d,l INCLUDE "temp/sp1/zx/tiles/asm_sp1_ScreenAttr.asm"
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1037.asm
ljhsiun2/medusa
9
201066
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xb232, %rsi lea addresses_WT_ht+0x19626, %rdi nop and %r8, %r8 mov $31, %rcx rep movsb nop nop dec %rax lea addresses_D_ht+0x183a6, %rdx clflush (%rdx) nop nop dec %rbp movb (...
libsrc/z80_crt0s/z80/sccz80/dpush2.asm
jpoikela/z88dk
38
201067
SECTION code_crt0_sccz80 PUBLIC dpush2 EXTERN fa ;------------------------------------------------------ ; Push FA onto stack under ret address and stacked word ;------------------------------------------------------ dpush2: pop de ;save return address pop bc ;save n...
Win32/Win32.Lusion/payload.asm
fengjixuchui/Family
3
201068
;FICHIER : Lusion_payload.asm ;NOM : some blobs ;DATE : 05/10/2003 ;VERSION : 1.0 .386 .model flat,STDCALL Camera EQU 400 BLOB_LARGEUR EQU 16 BLOB_HAUTEUR EQU 12 BLOB_COULEUR EQU 255 .data Class: style dd 4003h w...
libsrc/stdio/phc25/fputc_cons.asm
jpoikela/z88dk
640
201069
<filename>libsrc/stdio/phc25/fputc_cons.asm ; ; Basic video handling for the PHC-25 ; ; (HL)=char to display ; ;---------------------------------------------------------------- ; ; $Id: fputc_cons.asm $ ; ;---------------------------------------------------------------- ; SECTION code_clib PUBLIC fputc_cons_native ...
oeis/000/A000143.asm
neoneye/loda-programs
11
201070
<reponame>neoneye/loda-programs<filename>oeis/000/A000143.asm<gh_stars>10-100 ; A000143: Number of ways of writing n as a sum of 8 squares. ; Submitted by <NAME> ; 1,16,112,448,1136,2016,3136,5504,9328,12112,14112,21312,31808,35168,38528,56448,74864,78624,84784,109760,143136,154112,149184,194688,261184,252016,246176,32...
libsrc/sms/add_pause_int.asm
meesokim/z88dk
0
201071
PUBLIC add_pause_int EXTERN pause_procs ;============================================================== ; add_pause_int(void *ptr) ;============================================================== ; Adds a pause interrupt handler ;============================================================== .add_pause_int ld hl,...
base/crts/fpw32/tran/i386/87ctrig.asm
npocmaka/Windows-Server-2003
17
201073
<filename>base/crts/fpw32/tran/i386/87ctrig.asm<gh_stars>10-100 page ,132 title 87ctrig - C interfaces - sin, cos, tan ;*** ;87ctrig.asm - trig functions (8087/emulator version) ; ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; C interfaces for the sin, cos, and tan fu...
oeis/000/A000026.asm
neoneye/loda-programs
11
201076
; A000026: Mosaic numbers or multiplicative projection of n: if n = Product (p_j^k_j) then a(n) = Product (p_j * k_j). ; Submitted by <NAME> ; 1,2,3,4,5,6,7,6,6,10,11,12,13,14,15,8,17,12,19,20,21,22,23,18,10,26,9,28,29,30,31,10,33,34,35,24,37,38,39,30,41,42,43,44,30,46,47,24,14,20,51,52,53,18,55,42,57,58,59,60,61,62,42...
Assembly/FEd/FEd.asm
detlefgrohs/C256-Foenix-FMX
0
201077
<reponame>detlefgrohs/C256-Foenix-FMX ;;; ========================================================================= ;;; Fed Implementation ;;; ========================================================================= * = $002000 ; Set the origin for the file .INCLUDE "../Common/PGX.asm" .INCLUDE "....
src/QuickSort.asm
Kaybass/CSI-370-Final
0
201078
; ; <NAME> ; ; int * QuickSort(int * array, int size) ; section .text global QuickSort QuickSort: push ebp mov ebp, esp mov esi, [ebp+8] mov eax, [ebp+12] dec eax mov ecx, 4 mul ecx mov ecx, eax xor eax, eax mov ebx, ecx ...
Archive/Rev2/snes/ascii/hdr.asm
mupfelofen-de/SNESoIP
59
201079
;==LoRom== ; We'll get to HiRom some other time. .MEMORYMAP ; Begin describing the system architecture. SLOTSIZE $8000 ; The slot is $8000 bytes in size. More details on slots later. DEFAULTSLOT 0 ; There's only 1 slot in SNES, there are more in other consol...
engine/overworld/print_safari_steps.asm
adhi-thirumala/EvoYellow
16
201080
PrintSafariZoneSteps: ld a, [wCurMap] cp SAFARI_ZONE_EAST ret c cp UNKNOWN_DUNGEON_2 ret nc coord hl, 0, 0 lb bc, 3, 7 call TextBoxBorder coord hl, 1, 1 ld de, wSafariSteps lb bc, 2, 3 call PrintNumber coord hl, 4, 1 ld de, SafariSteps call PlaceString coord hl, 1, 3 ld de, SafariBallText call PlaceSt...
libsrc/math/z88math/c/sccz80/pi.asm
jpoikela/z88dk
640
201082
<reponame>jpoikela/z88dk ; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 30th August 2003 ; ; $Id: pi.asm,v 1.4 2016-06-22 19:55:06 dom Exp $ ;double pi(void) - returns the value of pi SECTION code_fp IF FORz88 INCLUDE "target/z88/def/fpp.def" ELSE I...
data/pokemon/dex_entries/bagon.asm
AtmaBuster/pokeplat-gen2
6
201083
db "ROCK HEAD@" ; species name db "It uses its well-" next "developed neck" next "muscles and" page "ironlike head to" next "smash boulders" next "into pieces.@"
trunk/3rdparty/ffmpeg-4-fit/libavcodec/x86/aacpsdsp.asm
attenuation/srs
18,396
201085
<filename>trunk/3rdparty/ffmpeg-4-fit/libavcodec/x86/aacpsdsp.asm ;****************************************************************************** ;* SIMD optimized MPEG-4 Parametric Stereo decoding functions ;* ;* Copyright (C) 2015 <NAME> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redist...
Working Disassembly/Levels/Slots/Misc Object Data/Map - R and Peppermint.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
201086
<filename>Working Disassembly/Levels/Slots/Misc Object Data/Map - R and Peppermint.asm<gh_stars>1-10 Map_SB_R_and_Peppermint_: dc.w byte_4B84C-Map_SB_R_and_Peppermint_ dc.w byte_4B852-Map_SB_R_and_Peppermint_ dc.w byte_4B858-Map_SB_R_and_Peppermint_ dc.w byte_4B85E-Map_SB_R_and_Peppermint_ byte_4B84C: dc.b 1 dc...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_90_1015.asm
ljhsiun2/medusa
9
201087
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r9 push %rbp push %rbx push %rcx push %rsi // Store lea addresses_RW+0x1a961, %rbx nop nop sub $49431, %r10 mov $0x5152535455565758, %r9 movq %r9, %xmm6 vmovups %ymm6, (%rbx) // Exception!!! nop nop no...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_1894_1024.asm
ljhsiun2/medusa
9
201089
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x181a2, %rsi lea addresses_A_ht+0x16ba2, %rdi sub $42392, %r14 mov $52, %rcx rep movsq sub $34204, %r11 lea addresses_D_ht+0x14ba2, %rsi lea addresses_normal_ht+0x17e22, %rdi clflush (%rsi) nop ...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_15719_510.asm
ljhsiun2/medusa
9
201090
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xda9d, %rsi nop sub %r9, %r9 and $0xffffffffffffffc0, %rsi movaps (%rsi), %xmm2 vpextrq $0, %xmm2, %r10 add $972, %rbx lea addresses_WC_ht+0x8f53, %r13 clflush (%r13) nop nop n...
oeis/277/A277800.asm
neoneye/loda-programs
11
201092
<filename>oeis/277/A277800.asm ; A277800: Decimal representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 1", based on the 5-celled von Neumann neighborhood. ; 1,0,4,3,16,15,64,63,256,255,1024,1023,4096,4095,16384,16383,6553...
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_at.asm
meesokim/z88dk
0
201093
<reponame>meesokim/z88dk<filename>libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_at.asm<gh_stars>0 ; int b_array_at(b_array_t *a, size_t idx) SECTION code_adt_b_array PUBLIC b_array_at EXTERN asm_b_array_at b_array_at: pop af pop bc pop hl push hl push bc push af jp asm_b_array_at
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1061.asm
ljhsiun2/medusa
9
201096
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xc928, %r13 sub $31367, %r9 movb $0x61, (%r13) xor $54260, %r12 lea addresses_D_ht+0x5448, %rdi nop nop nop nop nop and %rbx, %rbx mov (%rdi), %r12d nop nop...
oeis/112/A112385.asm
neoneye/loda-programs
11
201098
<reponame>neoneye/loda-programs ; A112385: a(n) = 6*binomial(4*n-1,n-1)/(4*n-1). ; 2,6,30,182,1224,8778,65780,508950,4034712,32602328,267535086,2223463866,18676869400,158310871740,1352392098120,11631593739990,100637721972216,875325840117960,7649219033276888,67126255864788120,591311470790795040,5226783343136641530 mov ...
mkdir.asm
NaorAbu/Ass1
0
201099
<filename>mkdir.asm _mkdir: 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 ...
Assembly/textures/battleBrand.asm
WildGenie/Ninokuni
14
201100
;; Modify the subimages position of the texture battles images. ;; This contnues the function in battle_battleIcon.asm ; ; Arguments of v3d_setSubImage function: ; + R0: Sprite struct ; + R1: Frame index ; + R2: Layer index ; + R3: X Start ; + SP+00: Y Start ; + SP+04: X End ; + SP+08: Y End ; + SP+0C...
c6ers/interlnk/driver/printer.asm
minblock/msdos
0
201102
;*** ;* $Workfile: printer.asm $ ;* $Revision: 1.1 $ ;* $Author: <NAME> $ ;* $Date: 30 Jun 1989 18:27:00 $ ;*** TIMEOUT equ 01H ; Timeout bit ERROR equ 08H ; Error bit SELECTED equ 10H ; Selected bit OUT_OF_PAPER equ 20H ...
data/mapHeaders/VictoryRoad2F.asm
AmateurPanda92/pokemon-rby-dx
9
201103
<reponame>AmateurPanda92/pokemon-rby-dx VictoryRoad2F_h: db CAVERN ; tileset db VICTORY_ROAD_2F_HEIGHT, VICTORY_ROAD_2F_WIDTH ; dimensions (y, x) dw VictoryRoad2F_Blocks ; blocks dw VictoryRoad2F_TextPointers ; texts dw VictoryRoad2F_Script ; scripts db 0 ; connections dw VictoryRoad2F_Object ; objects
pwnlib/shellcraft/templates/i386/linux/findpeerstager.asm
magnologan/pwntools
7
201104
<% from pwnlib.shellcraft import common %> <% from pwnlib.shellcraft.i386 import linux %> <%docstring> Findpeer + stager Args: size, the size of the payload port, the port given to findpeer (defaults to any) </%docstring> <%page args="size, port = None"/> ${linux.findpeer(port)} ${linux.stager("esi", size)}
oeis/051/A051609.asm
neoneye/loda-programs
11
201105
; A051609: a(n) = (3*n+9)!!!/9!!!, related to A032031 ((3*n)!!! triple factorials). ; 1,12,180,3240,68040,1632960,44089920,1322697600,43649020800,1571364748800,61283225203200,2573895458534400,115825295634048000,5559614190434304000,283540323712149504000,15311177480456073216000,872737116385996173312000,523642269831597703...
oeis/024/A024130.asm
neoneye/loda-programs
11
201106
<filename>oeis/024/A024130.asm ; A024130: a(n) = 11^n - n^3. ; 1,10,113,1304,14577,160926,1771345,19486828,214358369,2357946962,25937423601,285311669280,3138428374993,34522712141734,379749833580497,4177248169412276,45949729863568065,505447028499288858,5559917313492225649,61159090448414539432,672749994932560001201,74002...
src/test/ref/adventofcode/2020-02.asm
jbrandwood/kickc
2
201108
<reponame>jbrandwood/kickc<filename>src/test/ref/adventofcode/2020-02.asm // https://adventofcode.com/2020/day/2 // Commodore 64 PRG executable file .file [name="2020-02.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80...
Misc/Prog3/prog3.asm
nikhilnayak98/CSE2011
0
201110
<reponame>nikhilnayak98/CSE2011 # C[4] = A[4] + B[4] .data arrayC : .word 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 arrayB : .word 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 arrayA : .word 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 .text main: la $s0, arrayA la $s1, arrayB la $s2, arrayC lw $t0, 16($s0) lw $t1, 16($s1) add $t2, $t0, $t1 sw $t3,...
code/5/compare.asm
GeekHades1/AssemblyCode
1
201111
<reponame>GeekHades1/AssemblyCode<filename>code/5/compare.asm ; 在Debug 下对 mov ax,[0] 的解释是 (ax) = (bs*16+0) ; 但是在masm 的解释中 会变成 mov ax, 0 即 (ax) = 0 ; masm把[idata]当作是常量对待。如果需要向debug那样的 ; 效果需要使用显示声明 mov ax, ds:[0]; assume cs:code code segment mov ax, 2000h mov ds, ax mov al, [0] ; com...
win32/VC10/Win32/libxml2_Release/threads.asm
txwizard/libxml2_x64_and_ARM
0
201112
<reponame>txwizard/libxml2_x64_and_ARM ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\threads.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES _...
yes.64.osx.nasm
NotWearingPants/yes
88
201113
<gh_stars>10-100 global _main global _start extern _puts section .text _main: add rsi, 8 _start: push rdi push rsi comp: sub rsp, 8 cmp rdi, 1 jg nz je zero nz: mov rdi, [rsi] jmp loop zero: mov rdi, y loop: call _puts add rsp, 8 pop rsi pop rdi jmp _start ret section .data y: db 'y'
templates/input-x86_64.asm
RV8V/asm-code
1
201115
<filename>templates/input-x86_64.asm STDIN_FILE equ 0 STDOUT_FILE equ 1 STDERR_FILE equ 2 SYS_WRITE equ 0 SYS_READ equ 1 SYS_EXIT equ 60 EXIT_SUCCESS equ 0 section .data text_a db "what is your name?", 20 text_b db "hello, ", 9 section .bss name resb 16 section .text global _start _start: call _print_text...
Library/Trans/Database/dbase3/Import/importFile.asm
NCommander/pcgeos
0
201116
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: dBase III MODULE: Import FILE: importFile.asm AUTHOR: <NAME>, 9/14/92 ROUTINES: Name Description ---- ----------- TransGetFormat Check for the format ...