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
data/radio/pnp_hidden_places.asm
Dev727/ancientplatinum
28
122930
; Places and People will not describe these maps. PnP_HiddenPlaces: map_id PALLET_TOWN map_id ROUTE_22 map_id PEWTER_CITY map_id CERULEAN_POLICE_STATION map_id ROUTE_12 map_id ROUTE_11 map_id ROUTE_16 map_id ROUTE_14 map_id CINNABAR_POKECENTER_2F_BETA .End
programs/oeis/052/A052528.asm
neoneye/loda
22
122931
<filename>programs/oeis/052/A052528.asm ; A052528: Expansion of (1 - x)/(1 - 2*x - 2*x^2 + 2*x^3). ; 1,1,4,8,22,52,132,324,808,2000,4968,12320,30576,75856,188224,467008,1158752,2875072,7133632,17699904,43916928,108966400,270366848,670832640,1664466176,4129863936,10246994944,25424785408,63083832832,156523246592,38836458...
03-number-repr/src/main.asm
jedekar/AsmNotes
1
122932
section .bss Result: resq 16 ; reserve space for conversion results AddressArray: resd 17 ; address map for effective values processing section .data Integer8p: db 36 ; values to be converted into hex and bin Integer8n: db -36 Int...
ramutils.asm
traidna/MUMPS-TI99-4A
0
122933
ramdump: ; dumpr ram address passed in R4, number of bytes in R5 push r11 ;mov r11,r8 push r1 push r2 push r3 push r7 ramagain: mov r4,r2 mov r4,r1 bl @ShowHex4 li r0,": " bl @PrintChar li r0," " bl @PrintChar li r7,4 ramdumpAgain: mov *r4+,r2 bl @ShowHex4 dec r7 jne ramct ...
CrossIde1.asm
jeffliou64/elec291
0
122934
;-------------------------------------------------------- ; File Created by C51 ; Version 1.0.0 #1069 (Apr 23 2015) (MSVC) ; This file was generated Tue Mar 15 12:25:21 2016 ;-------------------------------------------------------- $name CrossIde1 $optc51 --model-small $printf_float R_DSEG segment data R_...
src/test/resources/data/generationtests/sdcc-ops.asm
cpcitor/mdlz80optimizer
36
122935
; Test case: .macro mymacro arg1,arg2 ld c,arg1 ld b,arg2 .endm label: ld de, #array1 ld hl, #array2 mymacro #0x04,#CONOUT ldir ld a,b ld hl, #-9 ld bc, (#array1 + 1) ld hl, #(array2 + 0x0003) ld ((array2 + 0x0008)), de ld e, #0b10011000 00105$: jr 00105$ array1: .byte 0,0,0,0 array2: .byte 0,0,0,0...
libtool/src/gmp-6.1.2/mpn/x86_64/sqr_diag_addlsh1.asm
kroggen/aergo
278
122937
dnl AMD64 mpn_sqr_diag_addlsh1 dnl Contributed to the GNU project by <NAME>. dnl Copyright 2011-2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the ...
sw/test_cases/jal1.asm
JPShen-UWM/ThreadKraken
1
122939
addi r21 r0 0xFF # jump to halt jal r20 2 addi r22 r0 0x1 add r23 r21 r22 # halt kill r0
asm/BlitterTest/blittest.asm
clydeshaffer/GameTankEmulator
3
122940
<reponame>clydeshaffer/GameTankEmulator FrameFlag = $30 GamePad1BufferA = $3A GamePad1BufferB = $3B Old_GamePad1BufferA = $3C Old_GamePad1BufferB = $3D Dif_GamePad1BufferA = $3E Dif_GamePad1BufferB = $3F inflate_zp = $F0 ; F1, F2, F3 inflate_data = $0200 ; until $04FD blitParams = $0500 Audio_Reset = $2000 Audio_N...
src/x86/mc_avx2.asm
brianjjones/dav1d
0
122942
<gh_stars>0 ; Copyright © 2018-2020, VideoLAN and dav1d authors ; Copyright © 2018-2020, Two Orioles, LLC ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must...
learn-assembly/asm101/asm101-07.asm
hailehong95/Practice-Coding
0
122943
<reponame>hailehong95/Practice-Coding<gh_stars>0 ; asm101-07: Mot so lenh (ham) thuong dung .model small .stack 100h .data msg db "Xin chao!$" .code main proc ; Khoi tao thanh ghi ds mov ax, @data mov ds, ax mov ah, 09h lea dx, msg int 21h main endp end main ; Phan bie...
libsrc/games/patch_beep_callee.asm
ahjelm/z88dk
640
122944
; $Id: patch_beep_callee.asm $ ; ; 1 bit sound functions ; ; void patch_beep(int duration, int period, void *pattern); ; SECTION code_clib PUBLIC patch_beep_callee PUBLIC _patch_beep_callee EXTERN patch_beeper EXTERN bit_open_di EXTERN bit_close_ei ; ; Stub by <NAME> ...
pwnlib/shellcraft/templates/arm/itoa.asm
zaratec/pwntools
5
122945
<% from pwnlib.shellcraft import pretty, value, common, registers from pwnlib.shellcraft.arm import mov, pushstr, udiv_10, setregs from pwnlib import constants %> <%docstring> Converts an integer into its string representation, and pushes it onto the stack. Uses registers r0-r5. Arguments: v(str, int): In...
lib/pepelibc.asm
pedroreissantos/pepe
0
122947
<filename>lib/pepelibc.asm<gh_stars>0 ; PEPE gerado por 'lcc' (IST: prs 2005, 2009) ; 'rl' serve como frame-pointer e 'r0' como acumulador ; os registos 'r1' a 'r10' sao preservados nas chamadas ; global atoi ; TEXT atoi: ; ncalls=0 PUSH r8 PUSH r9 PUSH r10 PUSH rl MOV rl, sp ; P_val EQU 10 SUB sp, 4 MOV r10,1 MOV [rl ...
assets/2018-12-07-exploitation-using-code-injection-part03/revshell3.asm
adwait1-G/adwaithgautham.github.io
0
122948
; client.asm was 118 bytes with 0 null characters. But I wanted to reduce the shellcode size to less than 100. Let us try! ; Shellcode extracted from this file is 89 bytes. Woohoo!! section .text global _start _start: xor eax, eax xor ebx, ebx xor ecx, ecx xor edx, edx ; socket(int domain, int type, int prot...
src/header.asm
IamRifki/break-invaders-out
0
122949
<gh_stars>0 INCLUDE "defines.asm" SECTION "Header", ROM0[$100] ; This is your ROM's entry point ; You have 4 bytes of code to do... something sub $11 ; This helps check if we're on CGB more efficiently jr EntryPoint ; Make sure to allocate some space for the header, so no important ; code gets put there and ...
oeis/093/A093137.asm
neoneye/loda-programs
11
122950
<gh_stars>10-100 ; A093137: Expansion of (1-7*x)/((1-x)(1-10*x)). ; Submitted by <NAME> ; 1,4,34,334,3334,33334,333334,3333334,33333334,333333334,3333333334,33333333334,333333333334,3333333333334,33333333333334,333333333333334,3333333333333334,33333333333333334,333333333333333334,3333333333333333334,3333333333333333333...
Library/SpecUI/CommonUI/CWin/cwinData.asm
steakknife/pcgeos
504
122951
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (c) Copyright GeoWorks 1996. All Rights Reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: CommonUI/CWin FILE: cwinData.asm AUTHOR: <NAME>, May 20, 1996 REVISION HISTORY: Name Date Descr...
oeis/167/A167275.asm
neoneye/loda-programs
11
122952
; A167275: Row sums of triangle A167274 (a variant of Gould's sequence A001316). ; Submitted by <NAME>(s2) ; 1,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,4,8,8,16,8,16,16,32 mov $1,$0 lpb $1 div $0,2 sub $1,$0 lpe add $0,1 add $1,1 pow $0,$1
u7si/eop-castByKey.asm
JohnGlassmyer/UltimaHacks
68
122953
%include "include/u7si-all-includes.asm" %define ACCEPT_FRIO_RUNE 1 %assign ADD_RUNE_SOUND 56 %assign REMOVE_RUNE_SOUND 61 %assign NUMBER_OF_SPELLS 72 %macro gameSpecificSpellRunes 0 ; First Circle db 'imy', 0 db 'an', 0 db 'wj', 0 db 'vaf', 0 db 'vi...
src/arch/arm/concurrent_arch.asm
kpamnany/libconcurrent
378
122955
<gh_stars>100-1000 @ -*- Mode: text; tab-width: 4; indent-tabs-mode: nil; -*- @ @ libconcurrent @ Copyright (C) 2010-2016 sharow @ @ for ARMv6 @ assemble with: GNU as @ .arch armv6 .fpu vfp .align 2 .text .global concurrent_arch_setup_execution_context .global concurrent_arch_trampoline_to_p...
QSS/src/boot/boot.asm
vbmacher/qsOS
1
122956
; ; BOOT.ASM ; ; (c) Copyright 2005, vbmacher ; ; QuickSimpleBootLoader (QSBL) ; ; Vypis pamate: 07C0:0000 = start (to je strasne vysoko v pamati) ; 1000:0000 = kernel ; 0000:9000 = zasobnik (a nizzsie) ; ; Do 0920:0000 sa nacita hlavny adresar (viem ze ma cislo 3) ; Do 0940:0000 sa nacita ...
assembler/test_stack.asm
jbchouinard/sixteen
18
122957
store 32768 @SP // set up stack pointer load 0xcaca @A push A pop D // expected: D = 0xcaca
Serial_lib/asm/src/board_test.asm
CmdrZin/chip_avr_asm_lib
3
122958
/* * Board Test Utilities * * org: 11/19/2014 * auth: Nels "Chip" Pearson * * Target: TankBot Board, 20MHz, ATmega164P * * Dependentcies: * sys_timers.asm * */ .equ TB_SERIAL_DELAY = 100 ; N * 10ms .DSEG tb_delay: .BYTE 1 tb_buffer: .BYTE 4 tb_count: .BYTE 1 .CSEG /* * Test RS-232 Serial * */...
bootdict/x86-wordlist/entry-traverse.asm
ikysil/ikforth
8
122961
; PURPOSE: Traverse through the wordlist entry ; LICENSE: Unlicense since 1999 by <NAME> ; A wordlist is a linked list of words. The link offset at the end of the list is zero. ; The offset is the positive number of bytes to the previous entry. ; The offset is used instead of a pointer to avoid address relocation....
lib/src/modulo.asm
Faselei/SeniorProject68k
0
122962
;=============================================================================== ;modulo.asm ;=============================================================================== ;because this '%' is not defined in vbcc68k, must write it myself ; ;Had to pull out the C99 definition: ; ;https://stackoverflow.com/quest...
src/high_res_crash.asm
mvdhout1992/ts-patches
33
122964
<filename>src/high_res_crash.asm %include "macros/patch.inc" %include "macros/datatypes.inc" ; limit the height of the sidebar to max 1052 (equals 1920*1200 -> 19 icons). The game goes out of bounds with more icons and starts to corrupt memory cextern InfoPanel gint BottomInfoPanel, 0 ; Gets set in sidebar.c ...
testsuite/ubivm/output/element_6.asm
alexgarzao/UOP
0
122965
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [e] .const 3 string [elemento] .const 4 string [oi] .const 5 string [oi de novo !!!] .const 6 string [x] .const 7 string [msg1] .const 8 string [msg2] .const 9 string [msg1=] .const 10...
libsrc/_DEVELOPMENT/arch/sms/misc/c/sdcc_ix/sms_cls_wc_callee.asm
jpoikela/z88dk
640
122966
; void sms_cls_wc(struct r_Rect8 *r, unsigned int background) SECTION code_clib SECTION code_arch PUBLIC _sms_cls_wc_callee PUBLIC _sms_cls_wc_callee_0 EXTERN asm_sms_cls_wc _sms_cls_wc_callee: pop hl pop bc ex (sp),hl _sms_cls_wc_callee_0: push bc ex (sp),ix call asm_sms_cls_wc pop ...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1364.asm
ljhsiun2/medusa
9
122967
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1825, %rsi lea addresses_WC_ht+0x9565, %rdi nop nop add %rbx, %rbx mov $28, %rcx rep movsw nop nop nop nop sub %rax, %rax lea addresses_normal_ht+0x5425, %rcx nop nop an...
examples/asm/inc.asm
zignig/Boneless-CPU
0
122968
.equ stack_size, 8 .alloc stack, stack_size .def STP, R4 .def TOS, R3 .def RTN, R7 .def WRK, R2 .def ADDR, R1 .def VAL, R0 .section .text reset: MOVL STP,8 J init abort: J init .macro _call, name JAL RTN, $name .endm .macro long, a, b, c, d MOV $a, $b MOV $b, $c MOV $d, $a .endm .ma...
data/mapObjects/CinnabarPokecenter.asm
AmateurPanda92/pokemon-rby-dx
9
122969
<filename>data/mapObjects/CinnabarPokecenter.asm CinnabarPokecenter_Object: db $0 ; border block db 2 ; warps warp 3, 7, 3, -1 warp 4, 7, 3, -1 db 0 ; signs db 4 ; objects object SPRITE_NURSE, 3, 1, STAY, DOWN, 1 ; person object SPRITE_LASS, 9, 4, WALK, 0, 2 ; person object SPRITE_GENTLEMAN, 2, 6, STAY, NON...
programs/oeis/274/A274230.asm
jmorken/loda
1
122970
; A274230: Number of holes in a sheet of paper when you fold it n times and cut off the four corners. ; 0,0,1,3,9,21,49,105,225,465,961,1953,3969,8001,16129,32385,65025,130305,261121,522753,1046529,2094081,4190209,8382465,16769025,33542145,67092481,134193153,268402689,536821761,1073676289,2147385345,4294836225,85897379...
Assesment/Solution/7.asm
Shakib-IO/CSE331L-Section-10-Fall20-NSU
0
122971
<gh_stars>0 .MODEL SMALL .STACK 100H .DATA PROMPT_1 DB 'Enter the 1st Number : $' PROMPT_2 DB 'Enter the 2nd Number : $' PROMPT_3 DB 'Multiplication of 1st & 2nd Number is : $' VALUE_1 DB ? VALUE_2 DB ? .CODE MAIN PROC MOV AX, @DATA ; initialize DS MOV DS, AX LEA DX, PROMP...
programs/oeis/038/A038573.asm
karttu/loda
0
122972
<reponame>karttu/loda ; A038573: a(n) = 2^A000120(n) - 1. ; 0,1,1,3,1,3,3,7,1,3,3,7,3,7,7,15,1,3,3,7,3,7,7,15,3,7,7,15,7,15,15,31,1,3,3,7,3,7,7,15,3,7,7,15,7,15,15,31,3,7,7,15,7,15,15,31,7,15,15,31,15,31,31,63,1,3,3,7,3,7,7,15,3,7,7,15,7,15,15,31,3,7,7,15,7,15,15,31,7,15,15,31,15,31,31,63,3,7,7,15,7,15,15,31,7,15,15,31...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1714.asm
ljhsiun2/medusa
9
122973
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1206f, %r15 nop add $6068, %r8 movw $0x6162, (%r15) nop nop sub $3143, %r11 lea addresses_WC_ht+0x6c6f, %r13 nop nop nop nop inc %r14 movups (%r13), %xmm5 vpextrq $0...
base/c64/putchar.asm
zbyti/Mad-Pascal
1
122974
/* PUT CHAR */ .proc @putchar (.byte a) .reg chrout = $ffd2 ;kernel character output sub jsr chrout lda #$00 sta $d4 rts .endp
lab_07/7_1/out16s.asm
yakubauskaitemarianna/DOS-ASSEMBLER
0
122976
EXTRN PR_print16 : NEAR EXTRN sEnter:BYTE PUBLIC PR_print16_signed Code SEGMENT PUBLIC 'CODE' ASSUME CS:Code PR_print16_signed PROC NEAR PUSH BP ;передаем параметр MOV BP,SP PUSH SI get_param: MOV AX, [BP+4] MOV SI, 16 Exit: POP S...
ASMFiles/bitwise operations.asm
Undeadtaker/Assembly
0
122977
.model small .data .code main proc ; IMPORTANT NOTE: the size of the AND entities have to be the same, so 8bit must go with 8 bit registers!!! mov ah, 00000001b ; mov the binary value of 1 into ah mov bh, 00000101b ; mov the binary value of 5 in bh and bh, ah ...
Opus/asm/qplc.asm
Computer-history-Museum/MS-Word-for-Windows-v1.1
2
122979
<reponame>Computer-history-Museum/MS-Word-for-Windows-v1.1 ; 07/04/89 - Put comment in here so that ownership of module can be ; determined since there is no usage of cproc or public in module ; %%Function:QPlc %%Owner:BRADV ; expect pplc in bx, return HpOfHq(hqplce) in es:di, bx is not altered. ; ax, cx, dx tra...
pkgs/tools/yasm/src/modules/arch/x86/tests/overflow.asm
manggoguy/parsec-modified
2,151
122980
[bits 16] mov ax, 'abcd' mov ax, 0x1ffff mov eax, 0x111111111 dd 0x123456789 dd -1 dw 0x12345 dw -1 jmp 0x1234:0x56789ABC jmp dword 0x1234:0x56789ABC
sound/sfxasm/49.asm
NatsumiFox/Sonic-3-93-Nov-03
7
122981
49_Header: sHeaderInit ; Z80 offset is $C414 sHeaderPatch 49_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, 49_FM5, $FA, $0C ; 49_FM5 at $C3F6 ($1E before start of file) can not be converted, because the data does not exist. ; 49_Patches at $C3FB ($19 before start of file) can not be converted, ...
atlatl/Process.asm
richRemer/atlatl
0
122982
<filename>atlatl/Process.asm global Process.create extern Array.createq extern String.createz extern zstr.lenq extern zstr.lenb extern mem.alloc %include "Array.inc" %include "String.inc" %include "Process.inc" %include "util.inc" ; Process.create(RAX, RBX) => RAX ; initialize process with argv (RBX reserved for fut...
src/core/gfx_setup.asm
1888games/golf
1
122983
<filename>src/core/gfx_setup.asm ; Display memory. ; Bits 4-7 can represent values 0-15. This is 1K offset from start of ; video memory. gfxs_c_DISPLAY_OFFSET = 2<<4 ; Character data. ; Bits 1-3...
programs/oeis/198/A198856.asm
neoneye/loda
22
122984
; A198856: a(n) = 9*8^n - 1. ; 8,71,575,4607,36863,294911,2359295,18874367,150994943,1207959551,9663676415,77309411327,618475290623,4947802324991,39582418599935,316659348799487,2533274790395903,20266198323167231,162129586585337855,1297036692682702847,10376293541461622783,83010348331692982271,664082786653543858175,53126...
text/maps/safari_zone_east.asm
adhi-thirumala/EvoYellow
16
122985
_SafariZoneEastText5:: text "REST HOUSE" done _SafariZoneEastText6:: text "TRAINER TIPS" para "The remaining time" line "declines only" cont "while you walk!" done _SafariZoneEastText7:: text "CENTER AREA" line "NORTH: AREA 2" done
engine/engine.asm
mkiesinski/the-way-nes
2
122986
LDA #$00 STA OAMADDR LDA #$02 STA OAMDMA LDA #%10010000 ; enable NMI, sprites from Pattern Table 0, background from Pattern Table 1 STA PPUCTRL LDA #%00011110 ; enable sprites, enable background, no clipping on left side STA PPUMASK LDA #$00 ;;tell the ppu there is no bac...
programs/oeis/249/A249222.asm
karttu/loda
1
122987
<reponame>karttu/loda ; A249222: Expansion of x*(1+5*x-5*x^3)/(1-6*x^2+5*x^4). ; 1,5,6,25,31,125,156,625,781,3125,3906,15625,19531,78125,97656,390625,488281,1953125,2441406,9765625,12207031,48828125,61035156,244140625,305175781,1220703125,1525878906,6103515625,7629394531,30517578125,38146972656,152587890625,19073486328...
programs/oeis/313/A313900.asm
neoneye/loda
22
122988
; A313900: Coordination sequence Gal.6.621.2 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,5,10,16,21,27,33,39,45,50,56,61,66,71,76,82,87,93,99,105,111,116,122,127,132,137,142,148,153,159,165,171,177,182,188,193,198,203,208,214,2...
hercdet.asm
0x705h/hercdet
1
122989
<filename>hercdet.asm ; Hercdet by 0x705h ; Simple program for Hercules Video Card Adapters detection ; compile with MSDOS TASM .model small .stack 200h .data strheader db "Hercules detector by 0x705h$" strnotdetected db 0ah, 0dh, "Hercules not detected! :($" strdetected db 0ah, 0dh, "Hercules detected! :)$" ...
programs/oeis/147/A147973.asm
neoneye/loda
22
122990
<filename>programs/oeis/147/A147973.asm<gh_stars>10-100 ; A147973: a(n) = -2*n^2 + 12*n - 14. ; -4,2,4,2,-4,-14,-28,-46,-68,-94,-124,-158,-196,-238,-284,-334,-388,-446,-508,-574,-644,-718,-796,-878,-964,-1054,-1148,-1246,-1348,-1454,-1564,-1678,-1796,-1918,-2044,-2174,-2308,-2446,-2588,-2734,-2884,-3038,-3196,-3358,-35...
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_30_848.asm
ljhsiun2/medusa
9
122991
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x64c0, %rcx nop nop cmp $54537, %rbp mov $0x6162636465666768, %r11 movq %r11, %xmm5 and $0xffffffffffffffc0, %rcx vmovaps %ymm5, (%rcx) nop nop add ...
unittests/Example.asm
cobalt2727/FEX
628
122992
; If you want a specific configuration at the top of asm file then make sure to wrap it in ifdef and endif. ; This allows the python script to extract the json and nasm to ignore the section ; ; X86 State option that can be compared ; - All: Makes sure all options are compared ; - None: No options ; ===== Specific opti...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_526.asm
ljhsiun2/medusa
9
122993
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_526.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xd224, %rsi lea addresses_A_ht+0x1d14, %rdi and %r15, %r15 mov $36, %rcx rep movsl nop nop...
vtl2/utility/multiply.asm
paulscottrobson/vtl-1802
0
122994
<reponame>paulscottrobson/vtl-1802 ; *************************************************************************************************************** ; *************************************************************************************************************** ; ; File: multiply.asm ; Purpose: Multiply two 16 bit ...
lab4/somma_selettiva/sommaselettiva.asm
samdsk/lab_arch2
0
122995
#not the best solution. checkout the sommaselettiva_best.asm for a optimized algorithm .data .text .globl somma somma: # $a0 k, $a1 arr addr addi $t0 $0 5 # dim array n addi $t1 $0 2 # divisore addi $v0 $0 0 #somma beq $a0 1 pari dispari: beq $t0 0 end div $t0 $t1 mfhi $t2 addi $t0 $t0 -1 addi $a...
character-operations/toBinaryAndHex.asm
informramiz/Assembly-Language-Programs
0
122996
<reponame>informramiz/Assembly-Language-Programs .MODEL SMALL .STACK 100H .DATA INPUT_MSG DB 0AH,0DH,'Enter a character: $' BINARY_OUTPUT DB 0AH,0DH,'Its binary is: $' HEX_OUTPUT DB ' and its hex is: $' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX INPUT: LEA DX,INPUT_MSG MOV AH,9 INT 21H ...
audio/sfx/push_boulder_1.asm
AmateurPanda92/pokemon-rby-dx
9
122997
SFX_Push_Boulder_1_Ch7: noisenote 4, 10, 2, 35 noisenote 8, 15, 1, 52 noisenote 15, 0, 0, 0 noisenote 2, 15, 7, 36 noisenote 2, 15, 7, 52 noisenote 4, 15, 7, 68 noisenote 8, 15, 4, 85 noisenote 8, 15, 1, 68 endchannel
S-F200VX_20180920_WithFactory/Timer_Funs.asm
xcwk/8-Pads-WiFi-Fat-Scale
1
122998
<filename>S-F200VX_20180920_WithFactory/Timer_Funs.asm ;===================================================== ;===== Timer_LIB.ASM ;===================================================== F_SysTimer0_Config: CLRF TM0CNT MOVFL TM0IN , 150 MOVFL TM0CON , 01110000B ; TM0_CLK = cpuclk(2m),2m/256/150 F_...
libsrc/target/primo/input/in_Inkey.asm
Frodevan/z88dk
640
122999
<reponame>Frodevan/z88dk ; uint in_Inkey(void) ; Read current state of keyboard SECTION code_clib PUBLIC in_Inkey PUBLIC _in_Inkey EXTERN in_keytranstbl ; exit : carry set and HL = 0 for no keys registered ; else HL = ASCII character code ; uses : AF,BC,DE,HL .in_Inkey ._in_Inkey ld bc,64 ld hl,in_keytran...
hexdump.asm
Landmine130/PopcornOSLoader
0
123000
<reponame>Landmine130/PopcornOSLoader ;mov ah, 0 ;mov si, 0x7e00 ;loop1: ;mov al, [si] ;shr al, 4 ;cmp al, 10 ;jae letter1 ;number1: ;add al, 48 ;jmp next1 ;letter1: ;add al, 55 ;next1: ;push ax ;mov ah, 0x0e ;int 0x10 ; else ;pop ax ;add ah, 1 ;add si, 1 ;cmp ah, 0xFF ;jne loop1 ;mov ah, 0 ;mov si, 0x7e00 ; ;loo...
programs/oeis/022/A022342.asm
karttu/loda
0
123001
<filename>programs/oeis/022/A022342.asm ; A022342: Integers with "even" Zeckendorf expansions (do not end with ...+F1 = ...+1) (the Fibonacci-even numbers); also, apart from first term, a(n) = Fibonacci successor to n-1. ; 0,2,3,5,7,8,10,11,13,15,16,18,20,21,23,24,26,28,29,31,32,34,36,37,39,41,42,44,45,47,49,50,52,54,5...
src/spread/strgfn.asm
olifink/qspread
0
123002
* Spreadsheet 13/01-92 * - string function routines section prog include win1_keys_wman include win1_keys_wstatus include win1_keys_wwork include win1_keys_err include win1_keys_qlv include win1_mac_oli include win1_spread_keys include win1_spread_fparser_keys xdef dta_stfn ...
demo_asm/demo.asm
sfauvel/demo-assembler
0
123003
; ----------------------------------------------------------------------------- ; A 64-bit functions ; ----------------------------------------------------------------------------- global return_5 global increment global decrement global add_three_values global add_2_3_and_...
SourceCode/addingNstoredInarrayToSum.asm
Nuthi-Sriram/Assembly-Level-Code-for-8086
0
123005
.model small .stack .data N db 4h num1 db 3h,2h,3h,4h num2 db 40h,6h,7h,8h sum db ? .code .startup mov cx,00h mov cl,N clc addition: mov al,num1[SI] mov ah,num2[SI] adc al,0h clc add al,ah mov sum[DI],al inc SI inc di loop addition end
oeis/155/A155736.asm
neoneye/loda-programs
11
123006
<filename>oeis/155/A155736.asm ; A155736: Numbers n such that 4*n^2+2*n-1 is a prime. ; Submitted by <NAME>(w1) ; 1,2,3,4,5,8,10,12,13,14,15,19,22,23,24,25,27,28,30,32,33,34,35,38,43,47,48,50,57,60,63,65,67,69,70,72,74,77,79,80,82,87,88,90,92,93,94,98,103,109,110,115,118,120,122,123,124,129,132,134,144,145,147,148,149,...
constants.asm
opiter09/ASM-Machina
1
123007
<filename>constants.asm INCLUDE "charmap.asm" INCLUDE "macros.asm" INCLUDE "constants/hardware_constants.asm" INCLUDE "constants/oam_constants.asm" INCLUDE "constants/misc_constants.asm" INCLUDE "constants/gfx_constants.asm" INCLUDE "constants/input_constants.asm" INCLUDE "constants/serial_constants.asm" INCLUDE "con...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_324.asm
ljhsiun2/medusa
9
123008
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xf5e4, %r9 nop nop nop nop nop sub %r13, %r13 movb (%r9), %r8b nop nop nop nop nop xor $54124, %r14 lea addresses_A_ht+0x1ec24, %rbx nop nop sub $54987, %rdi mov $0x61626364656...
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/x86/mul_1.asm
problem-frames/openpf
1
123009
<reponame>problem-frames/openpf dnl x86 mpn_mul_1 (for 386, 486, and Pentium Pro) -- Multiply a limb vector dnl with a limb and store the result in a second limb vector. dnl dnl cycles/limb dnl P6: 5.5 dnl dnl The following CPUs have their own optimized code, but for reference the dnl code here runs as f...
numberadd.asm
basit3000/Assembly-language
0
123011
data segment var1 db "Input First Integer: $" var2 db "Input Second Integer: $" var3 db "Sum of Integers: $" ends stack segment dw 128 dup(0) ends code segment start: mov ax, data mov ds, ax mov es, ax lea dx, var1 mov ah, 9 int 21h mov ah, 1 ...
programs/oeis/108/A108923.asm
karttu/loda
0
123013
; A108923: Expansion of 1/((x^8+1)*(1-x)^3). ; 1,3,6,10,15,21,28,36,44,52,60,68,76,84,92,100,109,119,130,142,155,169,184,200,216,232,248,264,280,296,312,328,345,363,382,402,423,445,468,492,516,540,564,588,612,636,660,684,709,735,762,790,819,849,880,912 mov $12,$0 mov $14,$0 add $14,1 lpb $14,1 clr $0,12 mov $0,$12...
oeis/123/A123641.asm
neoneye/loda-programs
11
123015
; A123641: Triangular array related to sequence A123640 with row sum A001045. ; Submitted by <NAME> ; 1,0,1,1,0,2,0,1,0,4,1,0,2,0,8,0,1,0,4,0,16,1,0,2,0,8,0,32,0,1,0,4,0,16,0,64,1,0,2,0,8,0,32,0,128,0,1,0,4,0,16,0,64,0,256,1,0,2,0,8,0,32,0,128,0,512,0,1,0,4,0,16,0,64,0,256,0,1024,1 lpb $0 add $1,1 sub $0,$1 lpe ad...
hello_world/hello_64.asm
artpar/asm
0
123016
section .text global _start _start: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 mov ebx,0 int 0x80 section .data msg db 'Hello, world!',0xa len equ $ - msg
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_47.asm
ljhsiun2/medusa
9
123017
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xd953, %r11 nop nop nop nop xor %r15, %r15 movb $0x61, (%r11) xor %rdi, %rdi lea addresses_A_ht+0x1cef0, %r12 nop nop nop nop dec %rax movw $0x6162, (%r12) nop nop n...
libsrc/graphics/retrofit/xordraw_callee.asm
jpoikela/z88dk
640
123018
<gh_stars>100-1000 ; ; Generic trick to adapt a classic function to the CALLEE mode ; ; ----- void __CALLEE__ xordraw(int x, int y, int x2, int y2) ; ; ; $Id: xordraw_callee.asm $ ; SECTION smc_clib PUBLIC xordraw_callee PUBLIC _xordraw_callee EXTERN xordraw .xordraw_callee ._xordraw_callee ld hl,retaddr ex...
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_pow_callee.asm
meesokim/z88dk
0
123019
<filename>libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_pow_callee.asm<gh_stars>0 ; double __CALLEE__ pow(double x, double y) SECTION code_fp_math48 PUBLIC cm48_sccz80_pow_callee EXTERN am48_pow, cm48_sccz80p_dcallee2 cm48_sccz80_pow_callee: call cm48_sccz80p_dcallee2 ; AC'= y ; AC = x ...
programs/oeis/165/A165907.asm
neoneye/loda
22
123021
<gh_stars>10-100 ; A165907: Minimal m for packing the first n primes in a prime(n) X m rectangle ; 1,2,2,3,3,4,4,5,5,5,6,6,6,7,8,8,8,9,9,10 mul $0,2 add $0,6 seq $0,296020 ; Number of primes of the form 4*k+3 <= 4*n+3. div $0,2 sub $0,1
programs/oeis/015/A015447.asm
neoneye/loda
22
123022
<filename>programs/oeis/015/A015447.asm ; A015447: Generalized Fibonacci numbers: a(n) = a(n-1) + 11*a(n-2). ; 1,1,12,23,155,408,2113,6601,29844,102455,430739,1557744,6295873,23431057,92685660,350427287,1369969547,5224669704,20294334721,77765701465,301003383396,1156426099511,4467463316867,17188150411488,66330246897025,...
21_CONTA_NZP.asm
aleattene/lc2-exams
0
123023
<gh_stars>0 ; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato CONTA_N_Z_P riceve: - nel registro R0 l’indirizzo della prima cella di una zona di memoria contenente in ciascuna cella un numero a 16 bit in complemento a 2 (quindi compreso fra -32.768 e + 32.767); - nel registr...
programs/oeis/081/A081498.asm
neoneye/loda
22
123026
<reponame>neoneye/loda ; A081498: Consider the triangle in which the n-th row starts with n, contains n terms and the difference of successive terms is 1,2,3,... up to n-1. Sequence gives row sums. ; 1,3,5,6,5,1,-7,-20,-39,-65,-99,-142,-195,-259,-335,-424,-527,-645,-779,-930,-1099,-1287,-1495,-1724,-1975,-2249,-2547,-2...
oeis/053/A053179.asm
neoneye/loda-programs
0
123027
<filename>oeis/053/A053179.asm ; A053179: Numbers ending in 3 which are not prime. ; Submitted by <NAME>(w2) ; 33,63,93,123,133,143,153,183,203,213,243,253,273,303,323,333,343,363,393,403,413,423,453,473,483,493,513,533,543,553,573,583,603,623,633,663,693,703,713,723,753,763,783,793,803,813,833,843,873,893,903,913 mov...
src/fibo.asm
baskiton/lsc-8
1
123028
org 0C00h jmp loader loader_msg: db 0Ah, "Starting loading the Fibonacci program...", 0Ah, "$" loader: push b mov a, 3 mov b, 1 mov h, (loader_msg >> 8) mov l, (loader_msg & 255) int 4h xor a, a int 7h ; reset storage system to copy mov a, 2 ; read the second sector ...
assm2.asm
Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-
16
123029
TITLE SECOND: DISPLAY STRING .MODEL SMALL .STACK 100H .DATA MSG DB 'HELLO!$' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX LEA DX,MSG MOV AH,09H INT 21H MOV AH,4CH INT 21H MAIN ENDP END MAIN
Project/minor/run/p1.asm
Opty1337/Comp
0
123031
<reponame>Opty1337/Comp<filename>Project/minor/run/p1.asm ; GLOBL global $_exemplo:function ; TEXT segment .text ; ALIGN align 4 ; LABEL $_exemplo: ; ENTER push ebp mov ebp, esp sub esp, 0 ; LOCV push dword [ebp+8] ; IMM push dword 6 ; GE pop eax xor ecx, ecx cmp [esp], eax setge cl mov [esp], ecx ; POP pop ...
lib/Runtime/Library/amd64/JavascriptFunctionA.asm
rekhadpr/demoazure1
0
123033
;------------------------------------------------------------------------------------------------------- ; Copyright (C) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ;-------------------------------------------------------------...
programs/oeis/287/A287195.asm
neoneye/loda
22
123034
<filename>programs/oeis/287/A287195.asm ; A287195: Independence and clique covering number of the n-triangular honeycomb acute knight graph. ; 1,3,3,5,9,9,12,18,18,22,30,30,35,45,45,51,63,63,70,84,84,92,108,108,117,135,135,145,165,165,176,198,198,210,234,234,247,273,273,287,315,315,330,360,360,376,408,408,425,459,459,4...
test/programs/test-r-000_pragmas.asm
jfrech/Joy-Assembler
0
123035
<reponame>jfrech/Joy-Assembler pragma_memory-size := 0xff pragma_rng-seed := 0x5eed jmp @main puts: lsa -8 puts$loop: sta @puts$string-ptr swp lia jz @puts$return ptc lda @puts$string-ptr inc 4 jmp @puts$loop puts$return: mov '\n...
tests/slasm/file.asm
Rayshard/slate-pl
0
123036
; SLASM_VERSION 1.0 ; TARGET x86-64-linux-nasm [BITS 64] global main ; LINUX %macro LINUX_x86_64_SYSCALL1 0 mov rax, [rsp + 8] ; set syscall code mov rdi, [rsp + 16] ; set first argument syscall ; perform syscall ret ; return %endmacro %macro C_CALL_3 0 push rbp ...
programs/oeis/081/A081660.asm
neoneye/loda
22
123037
<gh_stars>10-100 ; A081660: n+A001045(n+1). ; 1,2,5,8,15,26,49,92,179,350,693,1376,2743,5474,10937,21860,43707,87398,174781,349544,699071,1398122,2796225,5592428,11184835,22369646,44739269,89478512,178956999,357913970,715827913,1431655796,2863311563,5726623094,11453246157,22906492280,45812984527,91625969018,18325193800...
libsrc/graphics/dcircle.asm
jpoikela/z88dk
38
123038
<reponame>jpoikela/z88dk<gh_stars>10-100 ; Z88 Small C+ Graphics Functions ; Draw a circle on the Z88 map ; Adapted from my Spectrum Routine ; (C) 1995-1998 D.J.Morris ; ; $Id: dcircle.asm,v 1.4 2016-04-23 21:05:46 dom Exp $ ; SECTION code_graphics PUBLIC draw_circle DEF...
Source/HBIOS/ctc.asm
davidknoll/RomWBW
194
123039
;___CTC________________________________________________________________________________________________________________ ; ; Z80 CTC ; ; DISPLAY CONFIGURATION DETAILS ;______________________________________________________________________________________________________________________ ; ; ONLY IM2 IMPLEMENTED ...
ln.asm
thr0m3l/easy-xv6
0
123040
<reponame>thr0m3l/easy-xv6<gh_stars>0 _ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc ...
libsrc/stdio_new/file/stream-in/stdio_in_x.asm
meesokim/z88dk
8
123041
<reponame>meesokim/z88dk<gh_stars>1-10 ; stdio_in_x ; 05.2008 aralbrec PUBLIC stdio_in_x EXTERN stdio_incommon1, stdio_incommon2, stdio_ungetchar, stdio_getchar, asm_isxdigit, stdio_zeroonstream, stdio_inexit ; input %x parameter ; ; enter : ix = FILE * ; b = width ; c = flags [000a*W...
base/mvdm/softpc.new/roms/bios4.asm
npocmaka/Windows-Server-2003
17
123042
<reponame>npocmaka/Windows-Server-2003 ; SCCSID = @(#)uf.bios4.asm 1.10 7/3/95 Copyright Insignia Solutions Ltd. ; Author: <NAME> (copied from Williams xt original) ; <NAME> (added 1.disk parameter tables required for fixed disk. ; 2.ROM BASIC entry point. ; 3.Configuration parameters.) ; ...
oeis/104/A104481.asm
neoneye/loda-programs
11
123043
<filename>oeis/104/A104481.asm<gh_stars>10-100 ; A104481: Bisection of A104477. ; Submitted by <NAME> ; 1,1,1,2,1,3,2,3,2,4,3,4,4,3,5,6,4,5,5,6,6,6,5,8,7,6,7,8,7,7,9,8,9,8,9,8,8,11,10,11,10,8,11,10,12,9,12,14,9,10,14,15,11,12,10,11,16,12,15,15,12,16,14,13,15,14,14,16,12,20,14,14,16,16,17,21,13,17,22,12,19,18,19 add $0...
programs/oeis/165/A165625.asm
neoneye/loda
22
123044
<filename>programs/oeis/165/A165625.asm ; A165625: a(n)=(5/3)*(1+2*(-5)^(n-1)). ; 1,5,-15,85,-415,2085,-10415,52085,-260415,1302085,-6510415,32552085,-162760415,813802085,-4069010415,20345052085,-101725260415,508626302085,-2543131510415,12715657552085,-63578287760415 add $0,1 mov $1,-5 pow $1,$0 add $1,5 div $1,30 mul...
programs/oeis/047/A047218.asm
jmorken/loda
1
123045
<filename>programs/oeis/047/A047218.asm ; A047218: Numbers that are congruent to {0, 3} mod 5. ; 0,3,5,8,10,13,15,18,20,23,25,28,30,33,35,38,40,43,45,48,50,53,55,58,60,63,65,68,70,73,75,78,80,83,85,88,90,93,95,98,100,103,105,108,110,113,115,118,120,123,125,128,130,133,135,138,140,143,145,148,150,153,155,158,160,163,165...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_279.asm
ljhsiun2/medusa
9
123047
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_279.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18666, %r14 nop nop dec %r15 movw $0x6162, (%r14) add %rax, %rax lea addr...
Script/10.asm
minuladol/CSE331L_Section_7_Summer20_NSU_Final
0
123048
<filename>Script/10.asm .DATA num1 db ? num2 db ? res DB ? MSG1 DB 10,13,"Enter int 1: $" MSG2 DB 10,13,"Enter int 2: $" MSG3 DB 10,13,"SUB: $" DATA ENDS ASSUME CS:CODE,DS:DATA .CODE START: MOV AX,DATA MOV DS,AX LEA DX,MSG1 M...
programs/oeis/104/A104474.asm
karttu/loda
0
123049
<reponame>karttu/loda ; A104474: a(n) = binomial(n+3,3)*binomial(n+7,3). ; 35,224,840,2400,5775,12320,24024,43680,75075,123200,194480,297024,440895,638400,904400,1256640,1716099,2307360,3059000,4004000,5180175,6630624,8404200,10556000,13147875,16248960,19936224,24295040,29419775 add $0,3 lpb $0,1 mov $2,$0 sub $0,...