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
libsrc/_DEVELOPMENT/error/z80/error_enomem_zc.asm
teknoplop/z88dk
0
47463
<reponame>teknoplop/z88dk<filename>libsrc/_DEVELOPMENT/error/z80/error_enomem_zc.asm INCLUDE "clib_cfg.asm" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_ERROR ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; verbose mode SECTION code_clib SECTION code_error PUBLIC error_enomem_zc EXTERN error_enomem_mc ...
programs/oeis/090/A090532.asm
neoneye/loda
22
47465
; A090532: Let f(n) = n - pi(n). Then a(n) = least number of steps such that f(f(...(n)))=1. ; 1,1,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,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,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9 add $0,1 lpb $0 seq $0...
Day-24/stack_commands.asm
MasumBhai/50-Day-challenge-with-Assembly-Language
1
47467
<filename>Day-24/stack_commands.asm ; Day-24 Date:15 May,2021 ; Push,POP and pushf,popf and psha,popa .model small .stack 100h include 'emu8086.inc' .data n_line db 0ah,0dh,"$" saveFlags dw ? .code main proc mov ax,@data mov ds,ax xor ax,ax mov ax,80h push ax ;storing d...
programs/oeis/225/A225883.asm
jmorken/loda
1
47468
; A225883: a(n) = (-1)^n * (1 - 2^n). ; 0,1,-3,7,-15,31,-63,127,-255,511,-1023,2047,-4095,8191,-16383,32767,-65535,131071,-262143,524287,-1048575,2097151,-4194303,8388607,-16777215,33554431,-67108863,134217727,-268435455,536870911,-1073741823,2147483647,-4294967295,8589934591,-17179869183,34359738367,-68719476735,13743...
Ficha 7 - Tratamento de dados em VF/1b.asm
FEUP-MIEIC/MPCP
0
47469
include mpcp.inc .xmm .data W DWORD 7 X REAL8 7.1 Y REAL8 ? msg BYTE "Resultado: %f",13,10,0 .code ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;; proto ;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;; main ;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_450.asm
ljhsiun2/medusa
9
47470
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_450.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x16022, %rcx nop nop nop xor $60328, %rdi movups (%rcx), %xmm6 vpe...
programs/oeis/291/A291919.asm
karttu/loda
0
47471
; A291919: Number of (undirected) paths in the n-wheel graph. ; 0,1,9,30,78,175,351,644,1100,1773,2725,4026,5754,7995,10843,14400,18776,24089,30465,38038,46950,57351,69399,83260,99108,117125,137501,160434,186130,214803,246675,281976,320944,363825,410873,462350,518526,579679,646095,718068 mov $17,$0 mov $19,$0 lpb $19,...
programs/oeis/025/A025806.asm
neoneye/loda
22
47472
<reponame>neoneye/loda ; A025806: Expansion of 1/((1-x^2)(1-x^5)(1-x^6)). ; 1,0,1,0,1,1,2,1,2,1,3,2,4,2,4,3,5,4,6,4,7,5,8,6,9,7,10,8,11,9,13,10,14,11,15,13,17,14,18,15,20,17,22,18,23,20,25,22,27,23,29,25,31,27,33,29,35,31,37,33,40,35,42,37 mov $3,$0 mov $5,2 lpb $5 sub $5,1 add $0,$5 sub $0,1 mov $2,$5 mov $...
2 Year/2015 Pattern/MPL/Assignment 4/Assignment 4-A.asm
bhushanasati25/College
4
47473
<gh_stars>1-10 ;Problem Statement: Write X86/64 ALP to perform multiplication of two 8-bit hexadecimal numbers. ;Use successive addition and add and shift method. (use of 64-bit registers is expected) ;******************************************** ;Assignment no:4A ;Title:Multiplication using successive addition ;***...
src/shaders/post_processing/gen5_6/Common/YUV_to_RGBX_Coef.asm
tizenorg/platform.upstream.libva-intel-driver
0
47474
/* * All Video Processing kernels * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * * Authors: * <NAME> <<EMAIL>> *...
kernel/base/a64/timer.asm
Tiihala/Dancy
11
47475
<gh_stars>10-100 ;; ;; Copyright (c) 2021 <NAME> ;; ;; Permission to use, copy, modify, and/or distribute this software for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission notice appear in all copies. ;; ;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AU...
Windows/FastMaxIdxI16.asm
clayne/FastExtrema
6
47476
<reponame>clayne/FastExtrema ; /******************************************************************* ; * ; * Author: <NAME> ; * <EMAIL> ; * https://github.com/komrad36 ; * ; * Last updated Oct 11, 2020 ; *******************************************************************/ _TEXT$FastMaxIdxI16 SEGMENT ALIGN(6...
tools-src/gnu/gcc/gcc/config/m68k/aux-crtn.asm
enfoTek/tomato.linksys.e2000.nvram-mod
80
47480
/* More startup code for A/UX */ #include "tconfig.h" #ifdef USE_BIN_AS file "crtn.s" init unlk %fp rts #else .file "crtn.s" .section .init, "x" unlk %fp rts #ifndef USE_COLLECT2 .section .ctors, "d" .long 0 .section .dtors, "d" .long 0 #endif /* USE_COLLECT2 */ #endif /* USE_BIN_AS */
oeis/106/A106805.asm
neoneye/loda-programs
11
47481
<reponame>neoneye/loda-programs ; A106805: Expansion of g.f.: 1/(1 - 2*x - x^2 + x^3). ; Submitted by <NAME>(s4) ; 1,2,5,11,25,56,126,283,636,1429,3211,7215,16212,36428,81853,183922,413269,928607,2086561,4688460,10534874,23671647,53189708,119516189,268550439,603427359,1355888968,3046654856,6845771321,15382308530,345637...
home/trainers.asm
opiter09/ASM-Machina
1
47482
<reponame>opiter09/ASM-Machina<gh_stars>1-10 ; stores hl in [wTrainerHeaderPtr] StoreTrainerHeaderPointer:: ld a, h ld [wTrainerHeaderPtr], a ld a, l ld [wTrainerHeaderPtr+1], a ret ; executes the current map script from the function pointer array provided in de. ; a: map script index to execute (unless overridde...
sumtst/sumtst.asm
ba1dr/asm.x86
0
47483
TITLE Smallest summator CODESG SEGMENT PARA 'CODE' ASSUME CS:CODESG, DS:CODESG, ES:CODESG ORG 100h BEGIN: MOV SI, (OFFSET chislo2)-1 MOV CL, maxlen+1 MOV BL, maxlen+1 MOV DH, 0B8h MOV ES, DX MOV DI, 0170h;0B40h ...
Second Stage/second_stage_main.asm
marmil03/Project-Lithosphere
0
47484
<reponame>marmil03/Project-Lithosphere<gh_stars>0 section .text global _main jmp _main %include "../First Stage/bootsector.asm" %include "../First Stage/disk_read/read_sector.asm" %include "../First Stage/disk_read/read_file.asm" %include "../First Stage/disk_read/Read_FAT.asm" %include "../First Stage/disk_read...
programs/oeis/074/A074494.asm
neoneye/loda
22
47486
<reponame>neoneye/loda ; A074494: Number of 2-input gates used to synthesize parity function in disjunctive normal form (DNF) with n inputs. ; 2,5,17,47,119,287,671,1535,3455,7679,16895,36863,79871,172031,368639,786431,1671167,3538943,7471103,15728639,33030143,69206015,144703487,301989887,629145599,1308622847,271790899...
third_party/virtualbox/src/VBox/ValidationKit/bootsectors/bootsector2-triple-fault-1.asm
Fimbure/icebox-1
521
47488
; $Id: bootsector2-triple-fault-1.asm $ ;; @file ; Bootsector for testing triple faults. ; ; ; Copyright (C) 2007-2017 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 ...
data/baseStats_original/slowking.asm
adhi-thirumala/EvoYellow
16
47489
<filename>data/baseStats_original/slowking.asm<gh_stars>10-100 ;SlowkingBaseStats: ; 38c82 (e:4c82) db DEX_SLOWKING ; pokedex id db 95 ; base hp db 75 ; base attack db 80 ; base defense db 30 ; base speed db 110 ; base special db WATER ; species type 1 db PSYCHIC ; species type 2 db 68 ; catch rate db 164 ; base exp yi...
lib/target/nc/classic/nc100_crt0.asm
jpoikela/z88dk
0
47491
<reponame>jpoikela/z88dk ; Kludgey startup for nc100 ; ; djm 17/4/2000 ; ; I've never used one of these brutes so I dunno if it's ; correct at all, this is all taken from the file nciospec.doc ; on nvg.unit.no, I assume that the PCMCIA RAM card is an ; actual fact addressable RAM and we can overwrite varia...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1641.asm
ljhsiun2/medusa
9
47492
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1641.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r9 push %rax push %rbx push %rdx push %rsi lea addresses_WC_ht+0xe9c2, %r9 nop cmp $42590, %rdx movw $0x6162, (%r9) nop nop nop nop nop add %r12, %r...
oeis/044/A044652.asm
neoneye/loda-programs
11
47493
; A044652: Numbers n such that string 2,2 occurs in the base 9 representation of n but not of n+1. ; Submitted by <NAME> ; 20,101,188,263,344,425,506,587,668,749,830,917,992,1073,1154,1235,1316,1397,1478,1559,1700,1721,1802,1883,1964,2045,2126,2207,2288,2375,2450,2531,2612,2693,2774,2855,2936,3017,3104 mov $4,$0 add $...
programs/oeis/246/A246500.asm
karttu/loda
0
47494
; A246500: Characteristic function of the prime numbers mod 9 over the set {2,4,8,1,5,7}. ; 1,0,0,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,0,1,1,0,1,1,1,0,1,1,0,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,0,1,1,0,0,1,1,1,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,0,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,0,0,1,...
Library/Shell/Icon/iconlistUtil.asm
steakknife/pcgeos
504
47495
<gh_stars>100-1000 COMMENT @===================================================================== Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: iconlistUtil.asm AUTHOR: <NAME>, Oct 18, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY:...
part6/kernel.asm
VARoDeK/realmode-assembly
42
47496
org 0x8000 bits 16 ;Let's begin by going into graphic mode call initGraphics ;Main game loop gameLoop: call resetBuffer ;reset screen to draw on empty canvas ; BOX DRAW CODE mov cx, [player+2] ;player x to draw relative mov dx, [player+4] ;player z to draw relative mov di, box call drawEntity ; END OF BOX D...
vgm_demo.asm
tom-seddon/vgm-player-bbc
3
47497
<gh_stars>1-10 ORG 0 INCLUDE "lib/exomiser.h.asm" ORG &1900 .start INCLUDE "lib/exomiser.asm" INCLUDE "lib/vgmplayer.asm" INCLUDE "lib/irq.asm" .event_handler { php cmp #4 bne not_vsync \\ Preserve registers pha:txa:pha:tya:pha ; prevent re-entry lda re_entrant bne skip_update inc re_entrant \\ Poll ...
data/pokemon/dex_entries/ledian.asm
AtmaBuster/pokeplat-gen2
6
47498
db "FIVE STAR@" ; species name db "In the daytime" next "when it gets warm," next "it curls up inside" page "a big leaf and" next "drifts off into" next "a deep slumber.@"
WS3_ASM/Task_4.asm
OlegMalchenko/ACOS_WS_3
0
47499
# # calculating stuff # .data please: .string "Please, input an integer x: " please1: .string "Please, input an integer y: " fst: .string "\nResults: (assuming integers)\n1.x + 5 - y : " snd: .string "\n2.(x - y) << 3 : " trd: .string "\n3.(x + y) >> 2 : " frt: .string "\n4.(x + 5) + (x - 7) : " fft: .string "\...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1108.asm
ljhsiun2/medusa
9
47500
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1108.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x5371, %rsi lea addresses_UC_ht+0xe635, %rdi nop nop nop nop nop sub $3...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1626.asm
ljhsiun2/medusa
9
47501
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1ca56, %rsi lea addresses_normal_ht+0x40a4, %rdi nop nop and $3051, %rbp mov $22, %rcx rep movsl nop add $3290, %rbp lea addresses_UC_ht+0x2096, %rsi nop nop nop nop and $99...
programs/oeis/318/A318744.asm
neoneye/loda
22
47502
; A318744: a(n) = Sum_{k=1..n} floor(n/k)^5. ; 1,33,245,1058,3160,8054,17086,33860,60353,103437,164489,257945,380407,556001,779865,1085840,1457122,1958008,2544540,3312306,4205650,5336264,6618976,8254674,10059777,12298021,14792045,17829881,21130663,25189011,29518163,34749419,40391643,47062987,54160571,62694320,71572102,...
Midterm/5.asm
tawfiquee/CSE331L-Section-1-Fall20-NSU
0
47503
DATA SEGMENT A DB 1,1,2,2,3,3 B DB 10 DUP(0) DATA ENDS CODE SEGMENT ASSUME DS:DATA,CS:CODE START: MOV AX,DATA MOV DS,AX MOV CL,6 LEA BX,A LEA SI,B L1: MOV CH,BYTE PTR[BX] MOV BYTE PTR[SI],CH MOV DH,BYTE PTR[SI] INC BX INC SI DEC CL CMP CL,00 JNZ L1 MOV AH,4CH INT 21H CODE ENDS END START
programs/oeis/142/A142027.asm
neoneye/loda
22
47504
; A142027: Primes congruent to 23 mod 31. ; 23,271,457,643,829,953,1201,1511,1697,1759,2069,2131,2441,2503,2689,2999,3061,3371,3433,3557,3929,4177,4363,4549,4673,5107,5231,5417,5479,5851,6037,6719,6781,6967,7649,8269,8641,8951,9013,9137,9199,9323,10067,10253,10501,10687,11059,11369,11617,11927,12113,12547,12671,12919,1...
source/tvision/edits.asm
gpaulsen/tvision
1,202
47505
;/*------------------------------------------------------------*/ ;/* filename - edits.asm */ ;/* */ ;/* function(s) */ ;/* TEditor member functions ...
maps/IcePathB2FBlackthornSide.asm
Dev727/ancientplatinum
28
47506
object_const_def ; object_event constants const ICEPATHB2FBLACKTHORNSIDE_POKE_BALL IcePathB2FBlackthornSide_MapScripts: db 0 ; scene scripts db 0 ; callbacks IcePathB2FBlackthornSideTMRest: itemball TM_REST IcePathB2FBlackthornSideHiddenIceHeal: hiddenitem ICE_HEAL, EVENT_ICE_PATH_B2F_BLACKTHORN_SIDE_HIDDEN_I...
examples/example.asm
jblang/ColecoController
12
47508
; ColecoVision/Sega Controller Example ; Prints status of all controller buttons ; ; Copyright 2018 <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, incl...
audio/sfx/enter_pc_1.asm
opiter09/ASM-Machina
1
47509
<gh_stars>1-10 SFX_Enter_PC_1_Ch5: duty_cycle 2 square_note 6, 15, 0, 1792 square_note 4, 0, 0, 0 square_note 6, 15, 0, 1792 square_note 1, 0, 0, 0 sound_ret
repl/libmarkab/numbers.nasm
samblenny/markab-lab
0
47510
; Copyright (c) 2022 <NAME> ; SPDX-License-Identifier: MIT ; ; MarkabForth number words (meant to be included in ../libmarkab.nasm) ; This include path is relative to the working directory that will be in effect ; when running the Makefile in the parent directory of this file. So the ; include path is relative to ../M...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_4043_46.asm
ljhsiun2/medusa
9
47511
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rbp lea addresses_UC_ht+0x2e90, %r8 nop nop nop nop inc %r14 mov (%r8), %bp nop sub %rbp, %rbp pop %rbp pop %r8 pop %r14 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %rbp push %rcx push %rdi push %rsi // REPMOV le...
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/flockfile.asm
meesokim/z88dk
0
47512
; void flockfile(FILE *file) SECTION code_stdio PUBLIC _flockfile EXTERN _flockfile_fastcall _flockfile: pop af pop hl push hl push af jp _flockfile_fastcall
Chapter_5/Program 5.2/x86/Program_5.2_NASM.asm
chen150182055/Assembly
272
47513
<gh_stars>100-1000 ; Program 5.2 ; Looping - NASM (32-bit) ; Copyright (c) 2019 Hall & Slonka SECTION .text global _main _main: xor eax, eax mov ecx, 5 myLoop: inc eax loop myLoop mov eax, 1 mov ebx, 0 int 80h
nasm assembly/library/strcpy.asm
AI-Factor-y/NASM-library
0
47514
<gh_stars>0 strcpy: ;; copies contents of string ebx to string ecx ;; strcpy(ecx,ebx) ;; string 1 is ebx string 2 is ecx ;; ecx string changes and becomes same as ebx section .text push rax push rbx push rdx strcpy_loop_1: mov dl,byte[ebx] mov byte[ecx],dl cmp dl,0 je exit_strcp...
programs/oeis/329/A329506.asm
karttu/loda
0
47515
; A329506: Expansion of (1 + x)*(1 + 2*x + 2*x^2 - 2*x^3) / (1 - x). ; 1,4,8,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6...
programs/oeis/078/A078615.asm
neoneye/loda
22
47517
; A078615: a(n) = rad(n)^2, where rad is the squarefree kernel of n (A007947). ; 1,4,9,4,25,36,49,4,9,100,121,36,169,196,225,4,289,36,361,100,441,484,529,36,25,676,9,196,841,900,961,4,1089,1156,1225,36,1369,1444,1521,100,1681,1764,1849,484,225,2116,2209,36,49,100,2601,676,2809,36,3025,196,3249,3364,3481,900,3721,3844,4...
src/intro.asm
Gegel85/SpaceShooterGB
3
47518
makeEpitechBackground:: ld de, $9800 ld a, $0C ld bc, $800 call fillMemory ld a, $80 ld e, 4 ld hl, $9883 .loop: ld d, 13 .loop2: ld [hli], a inc a dec d jr nz, .loop2 inc a ld bc, $20 - 13 dec e add hl, bc jr nz, .loop ld hl, $9C00 ld a, $8D ld d, 4 ld bc, $20 .loop3: ld [hl], a add a, $E add...
libsrc/gfx/wide/w_drawr.asm
ahjelm/z88dk
640
47519
;void drawr(int px, int py) IF !__CPU_INTEL__ && !__CPU_GBZ80__ SECTION code_graphics PUBLIC drawr PUBLIC _drawr EXTERN asm_drawr .drawr ._drawr pop af pop de pop hl push hl push de push af jp asm_drawr ENDIF
programs/oeis/097/A097384.asm
jmorken/loda
1
47521
<reponame>jmorken/loda<gh_stars>1-10 ; A097384: Total number of comparisons to find each of the values 1 through n using a binary search with 3-way comparisons (less than, equal and greater than), always choosing the mid-most value to compare to. ; 0,2,3,6,9,11,13,17,21,25,29,32,35,38,41,46,51,56,61,66,71,76,81,85,89,9...
src/sound.asm
drwuro/teleporter64
3
47522
<filename>src/sound.asm<gh_stars>1-10 !macro INIT_MUSIC { jsr MUS_BASE + 9 } !macro PLAY_MUSIC { jsr MUS_BASE + 3 } !macro PLAY_SFX { lda #<sfx_teleport ldy #>sfx_teleport ldx #$0E jsr MUS_BASE + 6 }
Common/vectors.asm
Martin-H1/6502
3
47523
<reponame>Martin-H1/6502 ; ----------------------------------------------------------------------------- ; Boot and interrupt handlers. ; <NAME> <<EMAIL>> ; ----------------------------------------------------------------------------- ; ; Aliases ; ; ; Data segments ; .data BSS .space BRKvector 3 ; holds application...
libs/xlibc/syslib/syscall.asm
45degree/xbook2
416
47524
[bits 32] [section .text] SYSCALL_INT EQU 0x40 ; 0个参数 global __syscall0 __syscall0: mov eax, [esp + 4] ; eax = syscall num int SYSCALL_INT ret ; 1个参数 global __syscall1 __syscall1: push ebx mov eax, [esp + 4 + 4] ; eax = syscall num mov ebx, [esp + 4 + 8] ; ebx = arg0 int SYSCALL_INT pop ebx ret ; 2个参数 glob...
src/util/sprite/numup.asm
olifink/qspread
0
47525
* Sprite numup * * Mode 4 * +|---------+ * - ww - * | wwwwww | * |ww wwww ww| * | wwww | * +|---------+ * section sprite xdef mes_numup xref mes_zero mes_numup dc.w $0100,$0000 dc.w 10,4,0,0 dc.l mcs_numup-* dc.l mes_zero-* dc.l 0 mcs_numup dc.w $0C0C,$0000 dc.w $3F3F,$0000 dc.w $DEDE,$C0C0 dc.w...
Labs/Lab2/lab02_ex0.asm
ptr2578/CS61
1
47526
;================================================= ; Name: <NAME> ; Email: <EMAIL> ; GitHub username: ptr2578 ; ; Lab: lab 2 ; Lab section: B21 ; TA: <NAME> ; ;================================================= ; ; Hello world example program ; Also illustrates how to use PUTS (aka: Trap x22) ; .ORIG x3000 ;-----------...
main.asm
Willem3141/settings
0
47527
#include "kernel.inc" #include "corelib.inc" .db "KEXC" .db KEXC_ENTRY_POINT .dw start .db KEXC_STACK_SIZE .dw 20 .db KEXC_KERNEL_VER .db 0, 6 .db KEXC_NAME .dw name .db KEXC_HEADER_END name: .db "System Settings", 0 start: pcall(getLcdLock) pcall(getKeypadLock) ...
programs/oeis/097/A097251.asm
neoneye/loda
22
47528
<gh_stars>10-100 ; A097251: Numbers whose set of base 5 digits is {0,4}. ; 0,4,20,24,100,104,120,124,500,504,520,524,600,604,620,624,2500,2504,2520,2524,2600,2604,2620,2624,3000,3004,3020,3024,3100,3104,3120,3124,12500,12504,12520,12524,12600,12604,12620,12624,13000,13004,13020,13024,13100,13104,13120,13124,15000,15004...
assignment-4/custom-encoder.nasm
securitychops/security-tube-slae64
1
47529
; Student ID : SLAE64-1611 ; Student Name : Jonathan "Chops" Crosby ; Assignment 4 : Custom Encoder (Linux/x86_64) Assembly ; File Name : custom-encoder.nasm global _start section .text _start: jmp short call_shellcode ; using the jump, call and pop method to get into our shellcode decoder: po...
lab5/lr05-3-1.asm
Panda-Lewandowski/Assembler
5
47530
<gh_stars>1-10 SD1 SEGMENT para public 'DATA' S1 db 'Y' db 65535 - 2 dup (0) SD1 ENDS SD2 SEGMENT para public 'DATA' S2 db 'E' db 65535 - 2 dup (0) SD2 ENDS SD3 SEGMENT para public 'DATA' S3 db 'S' db 65535 - 2 dup (0) SD3 ENDS CSEG SEGMENT para public 'CODE' assume CS:CSEG, DS:SD1 output: ...
Win32/Win32.CodeHopper.Queen.b/payloadd.asm
fengjixuchui/Family
3
47531
<reponame>fengjixuchui/Family %define PDB PayloadDrone_BlockDescryptor %macro NASMHACKPD 0 ;On Entry ebp Points To BlockDescriptor PayloadDrone_BlockDescryptor: PayloadDrone_StrainKey DD 0 PayloadDrone_BlockSize DD PayloadDrone_BlockTerminator-PDB PayloadDrone_CryptionArray_ DD PayloadDrone_Cryp...
asm_main.asm
Sprigg-Matthew/dec2rom
0
47532
<gh_stars>0 ; Decimal to roman numeral converter. ; file: asm_main.asm ; Author: <NAME> ; Description: Takes cli arg of int beteen 0 and 4000 exclusive. ; ; %include "asm_io.inc" %define intstr ebp+8 ; Param from C %define count ebx ; register int count; %define sptr edx ; register char *sptr; ;--------------...
engine/events/money.asm
Dev727/ancientplatinum
28
47536
GiveMoney:: ld a, 3 call AddMoney ld bc, MaxMoney ld a, 3 call CompareMoney jr z, .not_maxed_out jr c, .not_maxed_out ld hl, MaxMoney ld a, [hli] ld [de], a inc de ld a, [hli] ld [de], a inc de ld a, [hli] ld [de], a scf ret .not_maxed_out and a ret MaxMoney: dt MAX_MONEY TakeMoney:: ld a, 3 c...
4/4-3.asm
winderica/GoodbyeASM
0
47537
<gh_stars>0 .386 print macro string push ax push dx mov dx, offset string mov ah, 09h int 21h pop dx pop ax endm print_newline macro push ax push dx mov ah, 02h mov dl, 13 int 21h mov ah, 02h mov dl, 10 int...
SerialServer/MPLABProjects/DAC-RAM.X/DAC-RAM.asm
TechyScientist/BScProject
0
47538
INCLUDE <p18f47q10.inc> VA EQU 0 ;Constant for Virtul Access Memory SDI1 EQU RC4 SCL1 EQU RC3 ;SCL2 EQU RB2 ;SDA2 EQU RB1 TRIG MACRO CALL trig ENDM ;<editor-fold defaultstate="collapsed" desc="Configuration Bits"> ; CONFIG1L CONFIG FEXTOSC = OFF CONFIG RSTOSC = HFINTOSC_64MH...
programs/oeis/095/A095145.asm
karttu/loda
1
47539
<filename>programs/oeis/095/A095145.asm<gh_stars>1-10 ; A095145: Triangle formed by reading Pascal's triangle (A007318) mod 12. ; 1,1,1,1,2,1,1,3,3,1,1,4,6,4,1,1,5,10,10,5,1,1,6,3,8,3,6,1,1,7,9,11,11,9,7,1,1,8,4,8,10,8,4,8,1,1,9,0,0,6,6,0,0,9,1,1,10,9,0,6,0,6,0,9,10,1,1,11,7,9,6,6,6,6,9,7,11,1,1,0,6,4,3,0,0,0,3,4,6,0,1...
benchmarks/avrora/scratch/test/stack/int01.asm
AniketSanghi/Velodrome
2
47540
a0000: jmp main a0002: jmp int01 a0004: reti a0005: nop a0006: reti a0007: nop a0008: reti a0009: nop a000a: reti a000b: nop a000c: reti a000d: nop a000e: reti a000f: nop a0010: reti a0011: nop a0012: reti a0013: nop main: ldi r17, 1 out eimsk, r17 sei forever: rjmp forever int01: ldi r16, 42 reti
oeis/240/A240826.asm
neoneye/loda-programs
11
47541
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A240826: Number of ways to choose three points on a centered hexagonal grid of size n. ; 0,35,969,7770,35990,121485,333375,790244,1679580,3280455,5989445,10349790,17083794,27128465,41674395,62207880,90556280,128936619,180007425,246923810,333395790,443749845,582993719,75...
maps/Route1.asm
zavytar/pokecolorless
0
47542
<reponame>zavytar/pokecolorless object_const_def ; object_event constants const ROUTE1_CLERK const ROUTE1_COOLTRAINER_M const ROUTE1_FRUIT_TREE Route1_MapScripts: db 0 ; scene scripts db 0 ; callbacks Route1_ClerkScript: faceplayer opentext checkevent EVENT_ROUTE_1_GOT_POTION iftrue Route1_AlreadyGotPotion...
Program_6a.asm
bkstamm67/assembly
0
47543
TITLE Program_6a (Program_6a.asm) ; Author: <NAME> ; Email: <EMAIL> ; Course: CS 271-400 ; Assignment: Assignment 6a ; Due Date: 7.7.15 ; Description: This is the final assignment, where the program asks the user ; for 10 numbers, gets the average and sum of those numbers, and then displays ; them bac...
data/maps/objects/Route3.asm
opiter09/ASM-Machina
1
47544
<gh_stars>1-10 Route3_Object: db $2c ; border block def_warps def_signs sign 59, 9, 10 ; Route3Text10 def_objects object SPRITE_SUPER_NERD, 57, 11, STAY, NONE, 1 ; person object SPRITE_YOUNGSTER, 10, 6, STAY, RIGHT, 2, OPP_BUG_CATCHER, 4 object SPRITE_YOUNGSTER, 14, 4, STAY, DOWN, 3, OPP_YOUNGSTER, 1 objec...
programs/oeis/088/A088371.asm
neoneye/loda
22
47545
<filename>programs/oeis/088/A088371.asm ; A088371: Position where n is inserted into the n-th row of triangle A088370, where the n-th row differs from the prior row only by the presence of n. ; 1,2,2,4,2,5,4,8,2,7,5,11,4,11,8,16,2,11,7,17,5,16,11,23,4,17,11,25,8,23,16,32,2,19,11,29,7,26,17,37,5,26,16,38,11,34,23,47,4,2...
Source/Levels/L0512.asm
AbePralle/FGB
0
47546
<reponame>AbePralle/FGB ; L0512.asm ; Generated 10.29.2000 by mlevel ; Modified 10.29.2000 by <NAME> INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" ;--------------------------------------------------------------------- SECTION "Level0512Section",ROMX ;----------------------------------------------------------...
lib/src/xr/x86/ldexp.asm
zanud/xds-2.60
53
47547
<filename>lib/src/xr/x86/ldexp.asm ; Copyright 2002, Excelsior LLC. All rights reserved cpu 386 bits 32 %ifdef OS2 group DGROUP _DATA section _DATA use32 align=4 FLAT public 'DATA' %else group DGROUP _DATA section _DATA use32 align=4 public 'DATA' %end...
src/libc/asm/aarch64/crt0.asm
aryanmaurya1/ArvernOS
77
47548
.section ".text" .global _start _start: ldr x0, =main ldr x1, [sp], #8 // argc mov x2, sp // argv bl start_main
_anim/Title Screen Sonic.asm
derpguy125/SnorcRomHack-Master
0
47549
<reponame>derpguy125/SnorcRomHack-Master<gh_stars>0 ; --------------------------------------------------------------------------- ; Animation script - Sonic on the title screen ; --------------------------------------------------------------------------- Ani_TSon: dc.w byte_A706-Ani_TSon byte_A706: dc.b 1, 0, 0, afBack...
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_36.asm
ljhsiun2/medusa
9
47550
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rax push %rbp push %rdx lea addresses_UC_ht+0x17e71, %r10 nop nop nop nop nop and %r9, %r9 movups (%r10), %xmm3 vpextrq $0, %xmm3, %r8 cmp $55520, %rbp lea addresses_WC_ht+0x1971, %rdx nop nop sub %rax, %rax and $0xffffffffffffffc0...
programs/oeis/099/A099915.asm
neoneye/loda
22
47551
<reponame>neoneye/loda<gh_stars>10-100 ; A099915: Expansion of (1+4x)/((1-x)(1-10x)). ; 1,15,155,1555,15555,155555,1555555,15555555,155555555,1555555555,15555555555,155555555555,1555555555555,15555555555555,155555555555555,1555555555555555,15555555555555555,155555555555555555 add $0,1 mov $1,10 pow $1,$0 mul $1,7 div ...
BigNum/Mod/Base/_bn_adddw_ignoresign.asm
FloydZ/Crypto-Hash
11
47552
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code _bn_adddw_ignoresign proc c; uses edi,esi,eax,ecx,edx lea edx,[edi].BN.dwArray[0*4] mov ecx,[edi].BN.dwSize clc .repeat adc [edx],eax mov eax,0 lea edx,[edx+4] jnc @F dec ecx .until zero? adc eax,eax jz @F ca...
subtab.asm
nagydani/lpfp
17
47553
<reponame>nagydani/lpfp INCLUDE "align.asm" ; 768 byte table for renormalization after subtraction SUBTAB: DEFB $00, $f8, $f9, $f9, $fa, $fa, $fa, $fa DEFB $fb, $fb, $fb, $fb, $fb, $fb, $fb, $fb DEFB $fc, $fc, $fc, $fc, $fc, $fc, $fc, $fc DEFB $fc, $fc, $fc, $fc, $fc, $fc, $fc, $fc DEFB $fd, $fd, $fd, $fd, $fd, $f...
examples/subscreen/program.asm
michielvoo/snes
51
47554
; subscreen ; This program demonstrates the difference between the main screen and the subscreen .INCLUDE "../lib/header.asm" .INCLUDE "../lib/registers.asm" .INCLUDE "../lib/settings.asm" .INCLUDE "../lib/values.asm" .INCLUDE "../lib/initialization.asm" .BANK 0 .ORG 0 .SECTION "" Main: Reset ; Set accumul...
programs/oeis/179/A179635.asm
neoneye/loda
22
47555
<reponame>neoneye/loda ; A179635: Median of the digits in n (rounding down). ; 1,2,3,4,5,6,7,8,9,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,0 lpb $0 add $2,1 add $0,$2 div $0,1...
Palmtree.Math.Core.Implements/vs_build/x64_Release/pmc_divrem.asm
rougemeilland/Palmtree.Math.Core.Implements
0
47556
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC DivRem_X_1W PUBLIC DivRem_X_X PUBLIC Initialize_DivRem PUBLIC PMC_DivRem_I_X PUBLIC PMC_DivRem_L_X PUBLIC PMC_DivRem_X_I PUBLIC PMC_DivRem_X_L PUBLIC PMC_DivRem_X_X EXTRN A...
libsrc/graphics/zx81/hr/invhrg_arx.asm
meesokim/z88dk
0
47557
;-------------------------------------------------------------- ; ARX816 style Graphics ; for the ZX81 ;-------------------------------------------------------------- ; ; Invert screen output ; ; Stefano - Oct 2011 ; ; ; $Id: invhrg_arx.asm,v 1.2 2015/01/19 01:32:52 pauloscustodio Exp $ ; P...
oeis/007/A007946.asm
neoneye/loda-programs
11
47558
<reponame>neoneye/loda-programs ; A007946: a(n) = 6*(2*n+1)! / ((n!)^2*(n+3)). ; 2,9,36,140,540,2079,8008,30888,119340,461890,1790712,6953544,27041560,105306075,410605200,1602881040,6263890380,24502865310,95937144600,375945078600,1474358525640,5786272150230,22724268808176,89301056353200,351140573438200,1381487341784004...
apps-rc2014/ym2149.asm
zoggins/yellow-msx-series-for-rc2014
19
47561
<reponame>zoggins/yellow-msx-series-for-rc2014<gh_stars>10-100 SECTION code_user PUBLIC _ym2149Probe, _getControllerDirection, _getControllerButton PSG_REGS: EQU $A0 ; PSG register write port PSG_DATA: EQU $A1 ; PSG value write port PSG_STAT: EQU $A2 ; PSG value read port PSG_P...
oeis/174/A174424.asm
neoneye/loda-programs
11
47562
; A174424: Number of "non-iterative" n x n adjacency matrices of sphere packings in R^3. ; 0,0,0,0,0,1,3,1,5,126 bin $0,5 lpb $0 seq $0,70342 ; a(n) = 3^n mod 19. sub $0,4 lpe
Examples/ch15/ColorSt2.asm
satadriver/LiunuxOS
0
47563
TITLE Color String Example (ColorSt2.asm) Comment ! Demonstrates INT 10h function 13h, which writes a string containing embedded attribute bytes to the video display. The write mode values in AL are: 0 = string contains only character codes; cursor not updated after write, and attribute is in B...
Codes/Chapter04/P04/P04-04.asm
ar-ekt/Dandamudi-Assembly-Solutions
8
47564
;xlat is used to select an index of a given table ;in this problem, we need to map a specific character to the appropriate index of the encryption table ;so the xlatb instruction is used with the digit minus 48, as crypt_table's index global _start extern ExitProcess %include "lib.h" section .data crypt_table db...
programs/oeis/158/A158302.asm
jmorken/loda
1
47565
<gh_stars>1-10 ; A158302: "1" followed by repeats of 2^k deleting all 4^k, k>0 ; 1,2,2,8,8,32,32,128,128,512,512,2048,2048,8192,8192,32768,32768,131072,131072,524288,524288,2097152,2097152,8388608,8388608,33554432,33554432,134217728,134217728,536870912,536870912,2147483648,2147483648,8589934592 mov $1,1 lpb $0 trn $...
asm/procedures/intToChar.asm
IronHeart7334/AssemblyPrograms
0
47566
; general comments ; Write an assembly program with the following prototype: ; void unsignedIntegerByteToASCII(unsigned integer, char*); ; The caller is responsible for providing a BYTE sized integer and a 3 BYTE array. ; Do this conversion with integer division and a loop with powers of 10 ; As the last ...
source/main/main.asm
paulscottrobson/6502-basic
3
47567
; ; Automatically generated ; .include "commands/compat/readdata.asm" .include "commands/compat/transfer.asm" .include "commands/io/input.asm" .include "commands/io/print.asm" .include "commands/io/text.asm" .include "commands/io/vdu.asm" .include "commands/link.asm" .include "commands/misc/assert.asm" .includ...
Borland/CBuilder5/Source/RTL/source/math/tanl.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
47568
;[]-----------------------------------------------------------------[] ;| TANL.ASM -- long double trigonometric function | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inp...
programs/oeis/131/A131723.asm
jmorken/loda
1
47569
<filename>programs/oeis/131/A131723.asm ; A131723: a(2*n) = 1-n^2, a(2*n+1) = n*(n+1). ; 0,2,-3,6,-8,12,-15,20,-24,30,-35,42,-48,56,-63,72,-80,90,-99,110,-120,132,-143,156,-168,182,-195,210,-224,240,-255,272,-288,306,-323,342,-360,380,-399,420,-440,462,-483,506,-528,552,-575,600,-624,650,-675,702,-728,756,-783,812,-840...
Src/inner.asm
slowcorners/Minimal-FORTH
1
47570
; ---------------------------------------------------------------------- ; INNER INTERPRETER IPUSH: DEW SP ; -(SP) = R1H LDA R1.3 STR SP DEW SP LDA R1.2 STR SP PUSH: DEW SP ; -(SP) = R1L LDA R1.1 STR ...
libsrc/_DEVELOPMENT/sound/ay/c/sccz80/ay_wyz_stop_effect.asm
Frodevan/z88dk
640
47571
IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION code_sound_ay PUBLIC ay_wyz_stop_effect EXTERN asm_wyz_stop_effect ;void ay_wyz_stop_effect(void) ay_wyz_stop_effect: call asm_wyz_stop_effect ret ; SDCC bridge for Classic IF __CLASSIC PUBLIC _ay_wyz_stop_effect defc _ay_wyz_stop_effect = ay_wyz_stop_effect ENDIF E...
oeis/013/A013936.asm
neoneye/loda-programs
11
47572
<gh_stars>10-100 ; A013936: a(n) = Sum_{k=1..n} floor(n/k^2). ; 1,2,3,5,6,7,8,10,12,13,14,16,17,18,19,22,23,25,26,28,29,30,31,33,35,36,38,40,41,42,43,46,47,48,49,53,54,55,56,58,59,60,61,63,65,66,67,70,72,74,75,77,78,80,81,83,84,85,86,88,89,90,92,96,97,98,99,101,102,103,104,108,109,110,112,114,115,116,117,120,123,124,12...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_635.asm
ljhsiun2/medusa
9
47576
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_635.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1e688, %r13 nop lfence and $0xffffffffffffffc0, %r13 vmovaps (%r13...
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_21829_1667.asm
ljhsiun2/medusa
9
47577
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xf3d9, %rsi lea addresses_A_ht+0xc299, %rdi nop nop xor %r11, %r11 mov $78, %rcx rep movsw nop nop nop nop sub %r8, %r8 lea addresses_A_ht+0x5d9b, %rbx nop nop nop nop dec %rdx ...
oeis/170/A170738.asm
neoneye/loda-programs
11
47578
<filename>oeis/170/A170738.asm<gh_stars>10-100 ; A170738: Expansion of g.f.: (1+x)/(1-18*x). ; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,7121453984059539456,128186171713071710208,2307351090835290783744,4153...
Semester_4/ASK/silniczek.asm
BeBa17/My_University
0
47579
$mod842 org 0 start: mov R1, #50 obroty: mov P2, #01h call delay mov P2, #02h call delay mov P2, #04h call delay mov P2, #08h djnz R1, obroty delay: mov R2, #010h d1: mov R3, #0ffh d2: mov R4, #0ffh djnz R4, $ djnz R3, d2 djnz R2, d1 ret end
src/shaders/h264/ildb/TransposeNV12_16x16.asm
me176c-dev/android_hardware_intel-vaapi-driver
192
47580
<gh_stars>100-1000 /* * Copyright © <2010>, Intel Corporation. * * 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,...
programs/oeis/025/A025734.asm
neoneye/loda
22
47581
; A025734: Index of 9^n within sequence of numbers of form 2^i*9^j. ; 1,5,12,22,35,51,71,94,120,149,181,216,255,297,342,390,441,495,553,614,678,745,815,888,965,1045,1128,1214,1303,1395,1491,1590,1692,1797,1905,2016,2131,2249,2370,2494,2621,2751,2885,3022,3162,3305,3451,3600,3753 add $0,1 mov $2,6 mov $3,$0 mov $4,$0 l...