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
engine/battle/experience.asm
opiter09/ASM-Machina
1
129067
<filename>engine/battle/experience.asm GainExperience: ld a, [wLinkState] cp LINK_STATE_BATTLING ret z ; return if link battle call DivideExpDataByNumMonsGainingExp ld hl, wPartyMon1 xor a ld [wWhichPokemon], a .partyMonLoop ; loop over each mon and add gained exp inc hl ld a, [hli] or [hl] ; is mon's HP 0? ...
test/secp256k1_test.asm
feilipu/z80_crypto
0
129068
SECTION code_user EXTERN G0X EXTERN G255X EXTERN MOD1Q EXTERN ECGX EXTERN ECGY EXTERN MODADD EXTERN MODSUB EXTERN MODMUL EXTERN MODCAN EXTERN MODINV EXTERN MODQADD EXTERN MODSUBQ EXTERN MODQMUL EXTERN MODQCAN EXTERN MODQINV EXTERN ECMU...
ioq3/build/release-js-js/missionpack/game/g_misc.asm
RawTechnique/quake-port
1
129069
export SP_info_camp code proc SP_info_camp 4 8 ADDRLP4 0 ADDRFP4 0 INDIRP4 ASGNP4 ADDRLP4 0 INDIRP4 ARGP4 ADDRLP4 0 INDIRP4 CNSTI4 92 ADDP4 ARGP4 ADDRGP4 G_SetOrigin CALLV pop LABELV $53 endproc SP_info_camp 4 8 export SP_info_null proc SP_info_null 0 4 ADDRFP4 0 INDIRP4 ARGP4 ADDRGP4 G_FreeEntity CALLV pop LABELV $54 ...
engine/config.asm
richard42/dynosprite
10
129070
<filename>engine/config.asm ********************************************************************************* * DynoSprite - config.asm * Copyright (c) 2014, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
vendor/ring/pregenerated/tmp/aes-x86_64-nasm.asm
yilinhan/crates-io
210
129071
<reponame>yilinhan/crates-io ; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 ALIGN 16 _x86_64_AES_encrypt_compact: lea r8,[128+r14] mov edi,DWORD[((0-128))+r8] ...
draw.asm
Silvantica/Etch-A-Sketch
0
129072
<gh_stars>0 ;FILE draw.asm drawpixel: ; parameters: ; r0 = screen memory address incl channel number ; r1 = x ; r2 = y ; r3 = colour (8bit RGB) ; assume BITS_PER_PIXEL, SCREEN_X are shared constants ; (they're not, but they are global pointers to values) ; r8 and r9 are used as temp registers ; ; Ex...
programs/oeis/030/A030656.asm
karttu/loda
1
129074
<reponame>karttu/loda<filename>programs/oeis/030/A030656.asm ; A030656: Pair up the numbers. ; 1,23,45,67,89,1011,1213,1415,1617,1819,2021,2223,2425,2627,2829,3031,3233,3435,3637,3839,4041,4243,4445,4647,4849,5051,5253,5455,5657,5859,6061,6263,6465,6667,6869,7071,7273,7475,7677,7879,8081,8283,8485,8687,8889,9091,9293,9...
programs/oeis/047/A047351.asm
jmorken/loda
1
129075
<reponame>jmorken/loda<filename>programs/oeis/047/A047351.asm ; A047351: Numbers that are congruent to {0, 1, 2, 4} mod 7. ; 0,1,2,4,7,8,9,11,14,15,16,18,21,22,23,25,28,29,30,32,35,36,37,39,42,43,44,46,49,50,51,53,56,57,58,60,63,64,65,67,70,71,72,74,77,78,79,81,84,85,86,88,91,92,93,95,98,99,100,102,105,106,107,109,112 ...
mult.asm
adrianna157/CS444-Lab5-Mutexes
0
129076
_mult: file format elf32-i386 Disassembly of section .text: 00000000 <main>: # define MAXINT ((~ 0x0) & (~ (0x1 << (INTBITS - 1)))) #endif // MAXINT int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi ...
mc-sema/validator/x86_64/tests/LEA16r.asm
randolphwong/mcsema
2
129077
<reponame>randolphwong/mcsema<filename>mc-sema/validator/x86_64/tests/LEA16r.asm BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; LEA16r mov cx, 0x15 mov edx, 0x8 ;TEST_BEGIN_RECORDING lea cx, [edx-0x444] ;TEST_END_RECORDING
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_14_402.asm
ljhsiun2/medusa
9
129078
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_14_402.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r14 push %r8 push %rbx push %rsi // Store lea addresses_normal+0x19554, %r...
oeis/082/A082046.asm
neoneye/loda-programs
11
129079
<filename>oeis/082/A082046.asm ; A082046: A symmetric square array of numbers, read by antidiagonals. ; 1,1,1,1,5,1,1,11,11,1,1,19,29,19,1,1,29,55,55,29,1,1,41,89,109,89,41,1,1,55,131,181,181,131,55,1,1,71,181,271,305,271,181,71,1,1,89,239,379,461,461,379,239,89,1,1,109,305,505,649,701,649,505,305,109,1,1,131,379 seq ...
programs/oeis/131/A131851.asm
karttu/loda
0
129080
<reponame>karttu/loda<filename>programs/oeis/131/A131851.asm ; A131851: Real part of the function z(n)=Sum(d(k)*i^k: d as in n=Sum(d(k)*2^k), i=sqrt(-1)). ; 0,1,0,1,-1,0,-1,0,0,1,0,1,-1,0,-1,0,1,2,1,2,0,1,0,1,1,2,1,2,0,1,0,1,0,1,0,1,-1,0,-1,0,0,1,0,1,-1,0,-1,0,1,2,1,2,0,1,0,1,1,2,1,2,0,1,0,1,-1,0,-1,0,-2,-1,-2,-1,-1,0,...
programs/oeis/004/A004760.asm
karttu/loda
0
129081
; A004760: List of numbers whose binary expansion does not begin 10. ; 0,1,3,6,7,12,13,14,15,24,25,26,27,28,29,30,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,192,193,194,195,196,197,198,199...
oeis/035/A035526.asm
neoneye/loda-programs
11
129082
; A035526: Reverse and add (in binary). ; Submitted by <NAME> ; 1,10,11,110,1001,10010,11011,110110,1010001,10010110,11111111,111111110,1011111101,10111111010,100011110111,1011111101000,1101011100101,10111111010000,11001011001101,101111110100000,110001010011101,1011111101000000,1100001000111101,10111111010000000,110000...
oeis/024/A024395.asm
neoneye/loda-programs
11
129083
; A024395: a(n) = n-th elementary symmetric function of the first n+1 positive integers congruent to 2 mod 3. ; Submitted by <NAME> ; 1,7,66,806,12164,219108,4591600,109795600,2951028000,88084714400,2891353030400,103521905491200,4015191638617600,167714507921497600,7506196028811110400,358368551285791692800,1818056244707...
oeis/142/A142636.asm
neoneye/loda-programs
11
129084
; A142636: Primes congruent to 49 mod 55. ; Submitted by <NAME>(s4) ; 269,379,599,709,929,1039,1259,1699,2029,2579,2689,2909,3019,4229,4339,4889,4999,5659,5879,6869,7309,7529,7639,8629,8849,9619,9839,9949,10169,10499,10939,11159,11489,12149,12479,12589,12809,12919,13249,13469,13799,15559,15889,16879,17099,17209,17539,1...
notes/extra/Fill_simple.asm
feliposz/nand2tetris
0
129085
// A simpler implementation with only one loop and that // changes the fill "color" in the middle of drawing. (FILL_START) @8192 D=A @i M=D // i = 8192 (512 width x 256 height / 16-bits) @SCREEN D=A @address M=D // address = SCREEN (FILL_LOOP) @i D=M @FILL_START D;JEQ ...
src/mappers/mapper4.asm
DigiDwrf/neon64v2-easybuild
36
129086
// Mapper 4: MMC3, TxROM //define LOG_MMC3() constant mmc3_prgrom_page_shift(13) // 8K constant mmc3_chrrom_page_shift(10) // 1K scope Mapper4: { Init: addi sp, 8 sw ra, -8 (sp) // Init vars ls_gp(sd r0, mmc3_bank_data) // mmc3_bank_select handled below ls_gp(sb r0, mmc3_scanline_counter) ls_gp(sb r0, mmc...
oeis/005/A005099.asm
neoneye/loda-programs
11
129087
; A005099: (( Primes == -1 mod 4 ) + 1)/4. ; Submitted by <NAME> ; 1,2,3,5,6,8,11,12,15,17,18,20,21,26,27,32,33,35,38,41,42,45,48,50,53,56,57,60,63,66,68,71,77,78,83,87,90,92,95,96,105,108,110,111,116,117,120,122,123,125,126,131,137,141,143,147,150,152,155,158,161,162,165,171,173,180,182,185,186,188,197,203,206,207,210...
hellow64.asm
bomsi/jspal
0
129088
<gh_stars>0 ; Simple program which returns the kernel32.dll base address ; To build, open "x64 Native Tools Command Prompt for VS 2019" and run: ; "C:\Program Files\NASM\nasm.exe" -f win64 hellow64.asm ; link.exe hellow64.obj /out:hellow64.exe /machine:x64 /subsystem:windows /entry:start /nodefaultlib /nologo ; start ...
oeis/295/A295853.asm
neoneye/loda-programs
11
129089
<filename>oeis/295/A295853.asm ; A295853: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = -2, a(1) = -1, a(2) = 2, a(3) = 1. ; Submitted by <NAME> ; -2,-1,2,1,13,14,47,61,148,209,437,646,1243,1889,3452,5341,9433,14774,25487,40261,68308,108569,181997,290566,482803,773369,1276652,2050021,3367633,5417654,88672...
src/new_search_dir.asm
mvdhout1992/ts-patches
33
129090
%include "TiberianSun.inc" %include "macros/patch.inc" %include "macros/datatypes.inc" sstring str_SearchDir, "MIX\\" sstring str_SearchDir2, "INI\\" %define STR_MAX 256 ;;; The string and the SearchDirList structure must be malloc because TS will free() them later hack 0x005ED005, 0x005ED00B mov [ebp+0x...
maps/LakeVerityCavern.asm
AtmaBuster/pokeplat-gen2
6
129091
<reponame>AtmaBuster/pokeplat-gen2 object_const_def ; object_event constants LakeVerityCavern_MapScripts: db 0 ; scene scripts db 0 ; callbacks LakeVerityCavern_MapEvents: db 0, 0 ; filler db 1 ; warp events warp_event 11, 17, LAKE_VERITY_HIGH, 3 db 0 ; coord events db 0 ; bg events db 0 ; object events...
oeis/045/A045952.asm
neoneye/loda-programs
11
129092
<gh_stars>10-100 ; A045952: a(n) = 2^(2*n-1)*binomial(2*n,n) + 2^(4*n-1). ; Submitted by <NAME> ; 1,12,176,2688,41728,653312,10280960,162332672,2569207808,40732459008,646621167616,10275491151872,163421593010176,2600786039144448,41413155926048768,659738836733001728,10514182345513238528,167619477382960775168,267300251599...
ASM/src/cow.asm
Edos512/OoT-RandomizerNoER
344
129093
cow_item_hook: lw a0, 0x0020 (sp) lb t0, SHUFFLE_COWS addiu a2, r0, 0x50 ; Give milk if cows are not randomized beqz t0, @@return nop lh a2, 0x014 (a0) ; Load cow id (1 or 2) beqzl a2, @@return ; If the cow ID is zero, this cow should not give an item, so give milk ...
programs/oeis/004/A004201.asm
karttu/loda
0
129094
<reponame>karttu/loda ; A004201: Accept one, reject one, accept two, reject two, ... ; 1,3,4,7,8,9,13,14,15,16,21,22,23,24,25,31,32,33,34,35,36,43,44,45,46,47,48,49,57,58,59,60,61,62,63,64,73,74,75,76,77,78,79,80,81,91,92,93,94,95,96,97,98,99,100,111,112,113,114,115,116,117,118,119,120,121,133,134,135,136,137,138,139,1...
programs/oeis/013/A013830.asm
neoneye/loda
22
129095
<filename>programs/oeis/013/A013830.asm ; A013830: a(n) = 4^(5*n + 1). ; 4,4096,4194304,4294967296,4398046511104,4503599627370496,4611686018427387904,4722366482869645213696,4835703278458516698824704,4951760157141521099596496896,5070602400912917605986812821504,5192296858534827628530496329220096 mul $0,5 add $0,1 mov $1...
code/9/4.asm
GeekHades1/AssemblyCode
1
129096
<filename>code/9/4.asm<gh_stars>1-10 ; 检测点 9.1 2 assume cs:code data segment dd 12345678H data ends code segment start: mov ax, data mov ds, ax mov bx, 0 mov [bx], word ptr 0 ; 修改IP mov [bx+2], cs ; 修改cs jmp dword ptr ds:[0] mov ax, 4c00H int 21H code ends end start
req2_2/rec22.asm
rcdosado/various-32bit-assembly-examples
0
129097
<reponame>rcdosado/various-32bit-assembly-examples .386p locals jumps .model flat,STDCALL extrn scanf:proc extrn printf:proc extrn ExitProcess:proc ;**NOTE** ;everything after a semicolon in a line is a comment ;compiled using Borland's TASM32,linked using Borl...
04-bootsector-stack/boot_sect_stack.asm
michelesr/os-tutorial
0
129098
<filename>04-bootsector-stack/boot_sect_stack.asm mov ah, 0x0e ; tty mode mov bp, 0x8000 ; this is an address far away from 0x7c00 so that we don't get overwritten mov sp, bp ; if the stack is empty then sp points to bp ; if we push (0x8000 - 0x7c00) bits (0x400 or 1,024 bits), we will start to write over ; the boot...
src/scroll.asm
ViGrey/airgap2020-nes
8
129099
; Copyright (C) 2020, <NAME> ; 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 retain the above copyright ; notice, this list of conditions and the fo...
libsrc/_DEVELOPMENT/z180/c/sdcc/z180_outp.asm
jpoikela/z88dk
640
129100
; void z180_outp(uint16_t port, uint8_t data) SECTION code_clib SECTION code_z180 PUBLIC _z180_outp EXTERN asm_z180_outp _z180_outp: pop af pop bc pop hl push hl push bc push af jp asm_z180_outp
UPC Summer School 2020/Summer 04 - Cont 0-9.X/maincode.asm
tocache/picomones
5
129101
<gh_stars>1-10 list p=18f4550 #include<p18f4550.inc> CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT)) CONFIG PWRT = ON ; Power-up Timer Enable bit (PWRT enabled) CONFIG BOR = OFF ; Brown-out Reset Enable bits (Brown-out Reset disabled in hardw...
Etapa 01/Aula 03 - Registradores e Instr. MOV/codes/a03e01.asm
bellorini/unioeste
6
129102
<gh_stars>1-10 ; Aula 03 - Registradores e MOV ; arquivo: a03e01.asm ; objetivo: acesso aos dados dos registradores e transferencias ; nasm -f elf64 a03e01.asm ; ld a03e01.o -o a03e01.x section .data num: dq 0x7766554433221101 section .text global _start _start: mov rax, [num] fim: mov rax, 60 m...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_/i9-9900K_12_0xa0_notsx.log_21829_772.asm
ljhsiun2/medusa
9
129103
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xcc0c, %rsi lea addresses_WT_ht+0x8c10, %rdi clflush (%rsi) xor $26364, %rbx mov $50, %rcx rep movsl nop nop nop add %rdi, %rdi lea addresses_D_ht+0x3acc, %r9 nop add $19020, %r...
6-AVR/Timer1_refreshable_led_on_off.asm
etzinis/micro_lab_ntua
0
129104
.include "m16def.inc" ;suxnotita tou EasyAVR6 = 8MHz ara auksisis tou TCNT1 = 8MHz/1024=7812.5Hz .equ Hvalue=high(49911) ;thelw yperxeilish meta apo 2 sec ara 2*7812.5=15625 kyklous .equ Lvalue=low(49911) ;ara arxikh timh 65536-15625 = 49911 = 0xC2F7 .def flag=r17 ;xrhsh flag gia na kserw an...
loaders_patches_etc/screen_yogi.asm
alexanderbazhenoff/zx-spectrum-various
0
129105
ATRBUF EQU #8400 ADRBUF EQU #BA00 PHASES EQU 33 CHECK EQU 0 FADBEF EQU 0 FADOUT EQU 3 LOAD_DEP_RUN EQU #5D7C LOAD_DEP EQU LOAD_DEP_RUN+1 DEP EQU #5D92 PART EQU #5B16 CHEAT EQU 1 TRACKSEC EQU #2606 ORG PART DB 1 ORG PART-2 IFN...
Palmtree.Math.Core.Implements/vs_build/x64_Release/pmc_exclusiveor.asm
rougemeilland/Palmtree.Math.Core.Implements
0
129108
<filename>Palmtree.Math.Core.Implements/vs_build/x64_Release/pmc_exclusiveor.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC Initialize_ExclusiveOr PUBLIC PMC_ExclusiveOr_I_X PUBLIC PMC_ExclusiveOr_L_X PUBLIC PMC_Exc...
basic/src/commands/sprite.asm
paulscottrobson/eris
13
129109
<filename>basic/src/commands/sprite.asm ; ***************************************************************************** ; ***************************************************************************** ; ; Name: sprite.asm ; Purpose: Sprite commands ; Created: 27rd March 2020 ; Reviewed: TODO ; Author: <NAME> (<E...
programs/oeis/100/A100153.asm
neoneye/loda
22
129110
; A100153: Structured truncated dodecahedral numbers. ; 1,60,276,748,1575,2856,4690,7176,10413,14500,19536,25620,32851,41328,51150,62416,75225,89676,105868,123900,143871,165880,190026,216408,245125,276276,309960,346276,385323,427200,472006,519840,570801,624988,682500,743436,807895,875976,947778,1023400,1102941,1186500,...
oeis/052/A052103.asm
neoneye/loda-programs
11
129111
<gh_stars>10-100 ; A052103: The third of the three sequences associated with the polynomial x^3 - 2. ; Submitted by <NAME>(s3) ; 0,0,1,3,6,12,27,63,144,324,729,1647,3726,8424,19035,43011,97200,219672,496449,1121931,2535462,5729940,12949227,29264247,66134880,149459580,337766841,763326423,1725057486,3898493712,8810287947...
ASM/src/lacs_condition.asm
Triaphlax/OoT-Randomizer
344
129112
lacs_condition_check: lw t1, LACS_CONDITION li t2, 1 beq t1, t2, @@medallions li t2, 2 beq t1, t2, @@dungeons li t2, 3 beq t1, t2, @@stones li t2, 4 beq t1, t2, @@tokens nop @@vanilla: li t3, 0x0018 ; shadow and spirit medallions...
oeis/160/A160196.asm
neoneye/loda-programs
11
129113
<reponame>neoneye/loda-programs ; A160196: Numerator of Hermite(n, 13/28). ; Submitted by <NAME> ; 1,13,-223,-13091,92065,21723533,101958529,-49768288739,-926761957183,144025448042125,5141947009489249,-497734445201769763,-28642623292540648607,1968988727426096533261,171559661755326400233665,-8575534533295174571498723,-1...
oeis/186/A186246.asm
neoneye/loda-programs
11
129114
; A186246: (2n+1)-th derivative of arccot(x) at x=0. ; Submitted by <NAME> ; -1,2,-24,720,-40320,3628800,-479001600,87178291200,-20922789888000,6402373705728000,-2432902008176640000,1124000727777607680000,-620448401733239439360000,403291461126605635584000000,-304888344611713860501504000000,26525285981219105863630848000...
oeis/176/A176891.asm
neoneye/loda-programs
11
129115
<reponame>neoneye/loda-programs<filename>oeis/176/A176891.asm ; A176891: Triangle T(n,k) = k if k<n and k|n, = 0 otherwise, 1 <= k <= n; read by rows. ; Submitted by <NAME> ; 1,1,0,1,0,0,1,2,0,0,1,0,0,0,0,1,2,3,0,0,0,1,0,0,0,0,0,0,1,2,0,4,0,0,0,0,1,0,3,0,0,0,0,0,0,1,2,0,0,5,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,2,3,4,0,6,0...
base/atari/xmsread.asm
zbyti/Mad-Pascal
7
129116
<reponame>zbyti/Mad-Pascal ; unit MISC: DetectMem ; by Tebe .proc @xmsReadBuf (.word ptr1, ptr2) .var ptr1 = dx ; buffer (2) ptr2 = cx ; count (2) pos = cx+2 ; position (2) pointer ptr3 = eax ; position (4) txa:pha ldy #0 lda (pos),y sta ptr3 iny lda (pos),y sta ptr3+1 iny lda (po...
libsrc/_DEVELOPMENT/error/z80/error_eoverflow_zc.asm
jpoikela/z88dk
640
129117
<reponame>jpoikela/z88dk INCLUDE "config_private.inc" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_ERROR ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; verbose mode SECTION code_clib SECTION code_error PUBLIC error_eoverflow_zc EXTERN error_eoverflow_mc pop hl error_eoverflow_zc: ...
programs/oeis/080/A080579.asm
jmorken/loda
1
129118
<reponame>jmorken/loda ; A080579: a(1)=1; for n>1, a(n)=a(n-1)+1 if n is already in the sequence, a(n)=a(n-1)+4 otherwise. ; 1,5,9,13,14,18,22,26,27,31,35,39,40,41,45,49,53,54,58,62,66,67,71,75,79,80,81,85,89,93,94,98,102,106,107,111,115,119,120,121,122,126,130,134,135,139,143,147,148,152,156,160,161,162,166,170,174,17...
oeis/004/A004994.asm
neoneye/loda-programs
11
129120
; A004994: a(n) = (6^n/n!)*Product_{k=0..n-1} (6*k + 5). ; Submitted by <NAME> ; 1,30,990,33660,1161270,40412196,1414426860,49707001080,1752171788070,61910069845140,2191616472517956,77702765843818440,2758448187455554620,98031004815728171880,3487102885588044971160,124140862726934400973296,4422518234647038034673670,15764...
assembly/intro_to_fasm_2_2.asm
Wiladams/masters
0
129121
<reponame>Wiladams/masters ; From tutorial: https://blog.brakmic.com/intro-to-x86-assembly-with-fasm-part-2/ format PE console entry _start include 'fasm/include/win32a.inc' ; Constants str_fmt: db "The result is %d",0 ;define layout of PE/COFF binary section '.text' code readable executable _incr: push e...
test/serial_read.asm
hqythu/MIPS-CPU
3
129122
START: NOP LI R1 0XBF SLL R1 R1 0X00 LI R2 0X20 MFPC R7 ADDIU R7 0X02 B TESTR NOP LW R1 R2 0x00 ADDIU R2 0X01 MFPC R7 ADDIU R7 0X02 B TESTW NOP SW R1 R2 0x00 B START NOP ;测试8251是否能写 TESTW: LI R6 0x00BF SLL R6 R6 0x0000 ADDIU R6 0x0001 LW R6 R0 0x0000 LI R6 0x0001 AND R0 R6 BEQZ R0 TESTW...
oeis/111/A111424.asm
neoneye/loda-programs
11
129123
<reponame>neoneye/loda-programs<filename>oeis/111/A111424.asm ; A111424: Sum_{i=1..n} (2i)!/i!. ; Submitted by <NAME> ; 2,14,134,1814,32054,697334,17994614,536913014,18180138614,688622711414,28847210769014,1324142261418614,66088894793898614,3563385531547818614,206406590463275178614,12782685296230371498614,8428170798768...
wallpaper-one/emulator/Assembler/BaseMonitor.asm
paulscottrobson/assorted-archives
0
129124
<reponame>paulscottrobson/assorted-archives<gh_stars>0 ; ****************************************************************************************************************** ; ; Base Machine Monitor ; ==================== ; ; Uses only LEDs or 7 segment display, toggle switches, and A/B/Reset ...
umass21/babushka/DSIIPABGWUFNMMMZAGWI.dis1.asm
onealmond/hacking-lab
9
129125
42069667 0 LOAD_CONST 1 (True) 2 STORE_FAST 1 (OVXPEYYWSK) 42069668 4 LOAD_FAST 1 (OVXPEYYWSK) 6 JUMP_IF_FALSE_OR_POP 198 8 LOAD_GLOBAL 0 (ord) 10 LOAD_FAST ...
src/sum.asm
bob8213/asm-tests
0
129126
global _main extern _printf section .text _main: ; Set loop counter mov ecx, 50 mov ebx, 0 l1: add ebx, ecx loop l1 push ebx push message call _printf add esp, 8 ret message: db 'Sum is : %d', 10, 0
oeis/015/A015468.asm
neoneye/loda-programs
11
129127
<gh_stars>10-100 ; A015468: q-Fibonacci numbers for q=10. ; Submitted by <NAME> ; 0,1,1,11,111,11111,1121111,1112221111,1122223221111,11123333333221111,112233445444433221111,11123445566666555433221111,1122345577889898877665433221111,1112345679012233433220988765433221111,1122346690235577889898866442099765433221111,11123...
Library/Spool/UI/uiC.asm
steakknife/pcgeos
504
129128
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: UI FILE: UIC.asm AUTHOR: <NAME>, May 14, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name...
symbolinen_konekieli/Ratol_msdos/koekesk3.asm
tkukka/VariousContent
0
129129
;RaTol Symbolinen konekieli: ;Tero Kukka IY96A ;Tiedosto: koekesk3.asm ;Luotu 27.4.1998 include a:makrot.txt ; ;Ulkoiset aliohjelmat: extrn _lue_kesk: far extrn _aseta_kesk: far extrn _kp: far ;kesk.palv....
oeis/068/A068996.asm
neoneye/loda-programs
11
129130
<reponame>neoneye/loda-programs ; A068996: Decimal expansion of 1 - 1/e. ; 6,3,2,1,2,0,5,5,8,8,2,8,5,5,7,6,7,8,4,0,4,4,7,6,2,2,9,8,3,8,5,3,9,1,3,2,5,5,4,1,8,8,8,6,8,9,6,8,2,3,2,1,6,5,4,9,2,1,6,3,1,9,8,3,0,2,5,3,8,5,0,4,2,5,5,1,0,0,1,9,6,6,4,2,8,5,2,7,2,5,6,5,4,0,8,0,3,5,6 seq $0,68985 ; Decimal expansion of 1/e. sub $...
Lista_2/questaoDois.asm
0Augusto/ArquiteturadeComputadores2
1
129131
.text .globl main main: addi $s1, $0, 3 # $s1 = 3 # $s1 = 3 sll $s2, $s1, 2 # $s2 = 3 * 4 # $s2 = 3 * 4
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0x48_notsx.log_21829_597.asm
ljhsiun2/medusa
9
129132
<filename>Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0x48_notsx.log_21829_597.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_D_ht+0x32be, %r12 nop nop nop nop nop xor $449, %r15 mov $0x6162636465666768, %rdi movq %rdi...
lab03_sws_tbl/lab03_sws_tbl/main.asm
SeyisJohn/280
0
129133
<reponame>SeyisJohn/280 ; ; lab03_sws_tbl.asm ; ; Created: 10/4/2019 2:34:13 PM ; Author : user38x ; .nolist .include"m324adef.inc" .list reset: ldi r16, $FF out DDRB, r16 ldi r16, $00 out DDRD, r16 ldi r16, $FF out PORTD, r16 main_loop: in r16, PIND ldi r17, 8 ldi r18, $00 next_b...
data/pokemon/dex_entries/peticorn.asm
AtmaBuster/pokeplat-gen2
6
129134
<reponame>AtmaBuster/pokeplat-gen2 db "FIRE FOAL@" ; species name db "Although it is" next "not able to run" next "very quickly, it" page "is still able to" next "stomp its hooves" next "with great force.@"
oeis/025/A025608.asm
neoneye/loda-programs
11
129136
; A025608: Number of n-move rook paths on 8 X 8 board from given corner to opposite corner. ; Submitted by <NAME> ; 0,0,2,36,560,8160,116192,1638336,23006720,322513920,4517714432,63263118336,885774356480,12401385185280,173622657769472,2430736799809536,34030432743587840,476426763687690240,6669978923292557312,93379730316...
programs/oeis/120/A120588.asm
jmorken/loda
1
129137
<filename>programs/oeis/120/A120588.asm ; A120588: G.f. is 1 + x*c(x), where c(x) is the g.f. of the Catalan numbers (A000108). ; 1,1,1,2,5,14,42,132,429,1430,4862,16796,58786,208012,742900,2674440,9694845,35357670,129644790,477638700,1767263190,6564120420,24466267020,91482563640,343059613650,1289904147324,486194640145...
symbolinen_konekieli/Ratol_msdos/teht40.asm
tkukka/VariousContent
0
129138
;RaTol Symbolinen konekieli: Harjoitus 4, tehtävä 0 ;Tero Kukka IY96A ;Tiedosto: teht40.asm ;Luotu 4.4.1998 include a:makrot.txt ;Ohjelman kuvaus: ;Tallennetaan pinoon kahden merkkijonon sijainti ;(segmentti ja offset). Pinossa on myös kopioitavien ...
ssort.asm
bozimmerman/diskfiler
2
129139
* = $C000 ;.D SSORT.ML ;.O ;.S JMP DISKIP JMP SSORT DISKIP LDX #$02 JSR $FFC6 LDY #$05 LOOP1 JSR $FFE4 DEY BNE LOOP1 LOOP2 JSR $FFE4 LDX $90 BNE THEEND CMP $FF BNE LOOP2 TH...
Embedded LABs/Embedded lab 1/5a.asm
amritphuyal/LATEX
1
129140
<reponame>amritphuyal/LATEX ORG 00H MOV 50H,#0D6H MOV 51H,#0F2H MOV 52H,#0E4H MOV 53H,#0A8H MOV 54H,#0CEH MOV 55H,#0B9H MOV 56H,#0FAH MOV 57H,#0AEH MOV 58H,#0BAH MOV 59H,#0CCH MOV R0,#50H MOV A,@R0 MOV R7,A ;SMALLEST MOV R1,A ;LARGEST MOV R2,#09H NEXT: INC R0 MOV A,R7 ...
unittests/32Bit_ASM/X87/D9_07.asm
cobalt2727/FEX
628
129141
<filename>unittests/32Bit_ASM/X87/D9_07.asm %ifdef CONFIG { "RegData": { "RAX": "0x37F" }, "Mode": "32BIT" } %endif mov edx, 0xe0000000 fnstcw [edx] mov eax, 0 mov ax, [edx] hlt
programs/oeis/106/A106268.asm
karttu/loda
0
129142
; A106268: Number triangle T(n,k) = binomial(k-n, n-k)*(-1)^(n-k) = (0^(n-k) + binomial(2*(n-k), n-k))/2 if k <= n, 0 otherwise; Riordan array (1/(2-C(x)), x) where C(x) is g.f. for Catalan numbers A000108. ; 1,1,1,3,1,1,10,3,1,1,35,10,3,1,1,126,35,10,3,1,1,462,126,35,10,3,1,1,1716,462,126,35,10,3,1,1,6435,1716,462,126...
oeis/259/A259592.asm
neoneye/loda-programs
11
129143
; A259592: Denominators of the other-side convergents to sqrt(3). ; Submitted by <NAME>(s3) ; 1,2,4,7,15,26,56,97,209,362,780,1351,2911,5042,10864,18817,40545,70226,151316,262087,564719,978122,2107560,3650401,7865521,13623482,29354524,50843527,109552575,189750626,408855776,708158977,1525870529,2642885282,5694626340,986...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_620.asm
ljhsiun2/medusa
9
129144
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3f94, %rbp nop nop nop nop xor %r11, %r11 movw $0x6162, (%rbp) nop cmp $61800, %r8 lea addresses_UC_ht+0x1e794, %r12 nop nop nop nop cmp $5866, %r13 and $0...
Source/variables.asm
daltonmatos/avrgcc-mixed-with-avrasm2
2
129145
<filename>Source/variables.asm ;--- RAM --- .equ LcdBuffer =0x0100 ;to 0x04ff Screen buffer, 1024 bytes .equ RamMixerTable =0x0500 ;to 0x053f SRAM copy of mixer table .set RamVariables =0x0540 ;to 0x07ff SRAM variables ;0x0800-0x08ff Stack ;--- EEPROM --- ;0x0000 to 0x0003 Sign...
tools/c8test.asm
Picatout/PICVisionPortable
0
129146
<reponame>Picatout/PICVisionPortable LOW HIGH CLS LD V4, 0 LD V5, 0 LD I, data_111 PRT V4,V5 CALL code_0FC CALL code_020 CALL code_0FC CALL code_058 CALL code_0FC CALL code_088 CALL code_0FC CALL code_0A2 code_01E: JP code_01E code_020: LD I, data_119 LD V4, 0 LD V5, 0 PRT V4,V5 LD V0, 2 LD V1, 21...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1393.asm
ljhsiun2/medusa
9
129147
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbp push %rcx push %rsi lea addresses_WT_ht+0x15812, %r14 nop nop nop nop nop cmp $60052, %rcx mov (%r14), %r12 sub $42484, %rsi lea addresses_WT_ht+0x13800, %r10 nop nop nop inc %rsi movb (%r10), %r14b nop nop add %r14, %r14 lea addresses...
oeis/091/A091593.asm
neoneye/loda-programs
11
129148
; A091593: Reversion of Jacobsthal numbers A001045. ; Submitted by <NAME> ; 1,-1,-1,5,-3,-21,51,41,-391,407,1927,-6227,-2507,49347,-71109,-236079,966129,9519,-7408497,13685205,32079981,-167077221,60639939,1209248505,-2761755543,-4457338681,30629783831,-22124857219,-206064020315,572040039283,590258340811,-5807184426591,...
C64Modules/print_status_register.asm
Akira-Hojo/C64-Modules
1
129149
;▒█▀▄▒█▀▄░█░█▄░█░▀█▀░░░▄▀▀░▀█▀▒▄▀▄░▀█▀░█▒█░▄▀▀░░▒█▀▄▒██▀░▄▀▒░█░▄▀▀░▀█▀▒██▀▒█▀▄ ;░█▀▒░█▀▄░█░█▒▀█░▒█▒▒░▒▄██░▒█▒░█▀█░▒█▒░▀▄█▒▄██▒░░█▀▄░█▄▄░▀▄█░█▒▄██░▒█▒░█▄▄░█▀▄ ;******************************************************************************* ;* This routine prints the contents of the status register * ...
Test/Z80/ZX Spectrum Rom/zx82.asm
sparks-c16/zasm
43
129151
#!/usr/local/bin/zasm -o ../original/ #target rom PFE: equ 0FEh ;Port #data SYSVARS, 4000h, 23734-4000h RAMBEG: ds 0 ;Anfang des Rambereiches BILD: ds 1800H ;Bildschirmspeicher ATTRSP: ds 300H ;Attributspeicher PTRBUF: ds 100H ;Druckerpuffer KSTATE: ds 8 ;2*4 Speicher fuer Tastatur LASTK: ds 1 ;letzter Tasten...
Appl/FileMgrs2/CommonDesktop/CTree/ctreeUtils.asm
steakknife/pcgeos
504
129152
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Desktop/Tree FILE: treeUtils.asm AUTHOR: <NAME> ROUTINES: INT ExposeTreeFolderIcon - get GState and draw icon/name pair INT SetDirectoryTreePath...
sw/552tests/inst_tests/sco_1.asm
JPShen-UWM/ThreadKraken
1
129154
<reponame>JPShen-UWM/ThreadKraken<filename>sw/552tests/inst_tests/sco_1.asm // Original test: ./kranz/hw4/problem6/sco_1.asm // Author: kranz // Test source code follows // Original test: ./kranz/hw4/problem6/slu_1.asm // Author: kranz //This checks to make sure there is no carry-out generated lbi r1, 0x10 //expec...
oeis/191/A191527.asm
neoneye/loda-programs
11
129155
<reponame>neoneye/loda-programs ; A191527: Number of turns in all left factors of Dyck paths of length n. ; 0,0,1,3,9,20,50,105,245,504,1134,2310,5082,10296,22308,45045,96525,194480,413270,831402,1755182,3527160,7407036,14872858,31097794,62403600,130007500,260757900,541574100,1085822640,2249204040,4508102925,9316746045...
Library/GrObj/Shape/line.asm
steakknife/pcgeos
504
129156
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Shape FILE: line.asm AUTHOR: <NAME>, Nov 15, 1989 ROUTINES: Name Description ---- ----------- INT LineDrawSelectedHandles INT LineGenera...
binary_search.asm
jatin69/mca102-SP
0
129158
; data segment data SEGMENT msg0 dw 13,10,"Enter no of elements ( less than 10 ): $" msg1 dw 13,10,"Enter the elements in sorted order : $" msg2 dw 13,10,"Enter the element you want to find : $" msg3 dw 13,10,"Element is Found at Location : $" msg4 dw 13,10,"Element Not Found... $" array db 15...
oeis/060/A060188.asm
neoneye/loda-programs
11
129159
<filename>oeis/060/A060188.asm ; A060188: A column and diagonal of A060187. ; 1,6,23,76,237,722,2179,6552,19673,59038,177135,531428,1594309,4782954,14348891,43046704,129140145,387420470,1162261447,3486784380,10460353181,31381059586,94143178803,282429536456,847288609417,2541865828302,7625597484959,22876792454932,686303...
sources/ippcp/asm_intel64/pcprij128encryptctr128pipee9as.asm
dongbinghua/ipp-crypto
233
129160
<reponame>dongbinghua/ipp-crypto ;=============================================================================== ; Copyright 2015-2021 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the ...
irp.asm
Number571/asmlib
27
129161
<reponame>Number571/asmlib format ELF64 public roman_numeral public numbers_vector public interpret_lisp public interpret_rpn include "str.inc" section '.data' writeable _buffer_size equ 256 _buffer1 rb _buffer_size _buffer2 rb _buffer_size _ADD db "+", 0 _SUB db "-", 0 _MUL db "*", 0 _DI...
004.BootSectorStack/stack.asm
mukeshmike9/AssemblyBootSector
1
129162
<gh_stars>1-10 mov ah, 0x0e; tty mode mov bp, 0x8000 ; make it far away from ox7c00 so that stack doesnt overlaps mov sp, bp ; Base pointer and stack pointer will point to the same address ;Store values in stack push 'A' push 'B' push 'C' mov al, ' ' int 0x10 mov al, '1' int 0x10 mov al, ':' int 0x10 ; To show ho...
thirdass.asm
Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-
16
129163
<reponame>Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-<filename>thirdass.asm TITLE THIRD: CASE CONVERSION PROGRAM .MODEL SMALL .STACK 100H .DATA CR EQU 0DH LF EQU 0AH include emu8086.inc ;ORG 100h PRINT 'Hello World!' GOTOXY 10, 5 PUTC 65 ; 65 - is an ASCII code for 'A' PUTC 'B...
solutions/39 - Printing Etiquette 1/size-9_speed-74.asm
behrmann/7billionhumans
45
129164
<filename>solutions/39 - Printing Etiquette 1/size-9_speed-74.asm<gh_stars>10-100 -- 7 Billion Humans (2053) -- -- 39: Printing Etiquette 1 -- -- Author: soerface -- Size: 9 -- Speed: 74 mem1 = nearest printer mem2 = set 5 a: if mem2 > 0: takefrom mem1 endif step nw,w,sw,n,s,ne,e,se if c == nothing: drop mem2 = ca...
libsrc/stdio_new/file/vsnprintf.asm
andydansby/z88dk-mk2
1
129165
<reponame>andydansby/z88dk-mk2 ; wrapper for function pointers XLIB vsnprintf LIB vsnprintf_callee XREF ASMDISP_VSNPRINTF_CALLEE .vsnprintf pop hl pop bc pop de exx pop de pop hl push hl push de exx push de push bc push hl jp vsnprintf_callee + ASMDISP_VSNPRINTF_CALLEE
P6/data_P6_2/cal_R_same_test40.asm
alxzzhou/BUAA_CO_2020
1
129166
lui $1,39087 ori $1,$1,46703 lui $2,51341 ori $2,$2,10156 lui $3,44561 ori $3,$3,59779 lui $4,2554 ori $4,$4,26370 lui $5,20507 ori $5,$5,47318 lui $6,32728 ori $6,$6,55010 mthi $1 mtlo $2 sec0: nop nop nop addu $4,$6,$6 sec1: nop nop or $6,$4,$0 addu $4,$6,$6 sec2: nop nop sltiu $6,$5,-23103 addu $2,$6,$6 ...
oeis/003/A003479.asm
neoneye/loda-programs
11
129167
; A003479: Expansion of 1/((1-x)*(1-x-2*x^3)). ; Submitted by <NAME>(s2) ; 1,2,3,6,11,18,31,54,91,154,263,446,755,1282,2175,3686,6251,10602,17975,30478,51683,87634,148591,251958,427227,724410,1228327,2082782,3531603,5988258,10153823,17217030,29193547,49501194,83935255,142322350,241324739,409195250,693839951,1176489430,...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_1179.asm
ljhsiun2/medusa
9
129168
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi // Load lea addresses_A+0x6ba0, %rdi clflush (%rdi) nop nop nop nop sub %rsi, %rsi mov (%rdi), %r15 nop nop add $9052, %rcx // Load lea addres...
Miei-sorgenti/new/Bonus/align.asm
DigiOhhh/LabArchitettura2-2017-2018
1
129169
.data # La direttiva align non funziona né qui ... string: .asciiz "Ciao" .align 2 A: .space 8 # ... né qui. Significa forse che va messa dopo ogni dichiarazione? Non lo so, ma la stringa "Ciao" occupa 5 byte: # uno per ciascuna lettera, e un quinto per il terminatore di stringhe. Quindi è necessario allineare ...
programs/oeis/147/A147795.asm
jmorken/loda
1
129170
; A147795: If n=A000695(k_n)+2*A000695(l_n), then a(n) is the number of nonnegative integers m<n such that k_m differs from k_n and l_m differs from l_n. ; 0,0,1,1,2,2,3,3,6,6,7,7,8,8,9,9,12,12,13,13,14,14,15,15,18,18,19,19,20,20,21,21,28,28,29,29,30,30,31,31,34,34,35,35,36,36,37,37,40,40,41,41,42,42,43,43,46,46,47,47,...
out/entryother.asm
harveydong/learning-xv6
0
129171
out/bootblockother.o: file format elf64-x86-64 Disassembly of section .text: 0000000000007000 <start>: # - it uses the address at start-4, start-8, and start-12 .code16 .globl start start: cli 7000: fa cli xorw %ax,%ax 7001: 31 c0 ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_619.asm
ljhsiun2/medusa
9
129172
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_619.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rbp lea addresses_D_ht+0x18995, %r11 nop add %r9, %r9 movw $0x6162, (%r11) nop nop xor %rbp, %rbp pop %rbp pop %r9 pop %r14 pop %...
src/sprites.asm
PrivacyDragon/cesium
0
129173
<filename>src/sprites.asm ; Copyright 2015-2020 Matt "MateoConLechuga" Waltz ; ; 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 retain the above copyright notice, ; this list...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_20_1694.asm
ljhsiun2/medusa
9
129175
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x9d4e, %rbx nop nop nop add $3725, %rdx movb $0x61, (%rbx) nop nop nop nop nop dec %rdx lea addresses_WT_ht+0x13ece, %r8 mfence mov $0x6162636465666768, %r15 movq %r15, (%r8) nop nop no...