max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
programs/oeis/168/A168014.asm
karttu/loda
1
52141
<reponame>karttu/loda<filename>programs/oeis/168/A168014.asm<gh_stars>1-10 ; A168014: Sum of all parts of all partitions of n into equal parts that do not contain 1 as a part. ; 0,0,2,3,8,5,18,7,24,18,30,11,60,13,42,45,64,17,90,19,100,63,66,23,168,50,78,81,140,29,210,31,160,99,102,105,288,37,114,117,280,41,294,43,220,2...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_525.asm
ljhsiun2/medusa
9
52142
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x6c37, %rbx nop nop cmp $45744, %rax movups (%rbx), %xmm3 vpextrq $1, %xmm3, %rdx cmp %rbp, %rbp lea addresses_D_ht+0x46d4, %rsi lea addresses_UC_ht+0x790d,...
programs/oeis/031/A031373.asm
neoneye/loda
22
52143
<reponame>neoneye/loda ; A031373: Primes p(7n-1). ; 13,41,71,103,139,179,223,257,293,347,383,431,463,509,569,607,647,691,743,797,839,883,941,991,1033,1087,1123,1187,1231,1289,1321,1409,1451,1489,1549,1597,1627,1697,1747,1801,1871,1913,1987,2027,2083,2131,2203,2251,2297,2351,2393,2447,2531,2591,2657,2689,2729,2789,2837,...
asmhead.asm
yosswi414/HariboteOS_USB
0
52144
<gh_stars>0 ; Haribote OS assembly VBEMODE EQU 0x105 ; VESA VBE video modes ; http://www.faqs.org/faqs/pc-hardware-faq/supervga-programming/ ;0x101 ; 640 x 480 x 8bit color ;0x103 ; 800 x 600 x 8bit color ;0x105 ; 1024 x 768 x 8bit color ;0x107 ; 1280 x 1024 x 8bit color ;0x11B ; 1280 x 1...
test/autogen/gen_tms32010.asm
tgtakaoka/libasm
15
52145
;;; AUTO GENERATED FILE ;;; generated by: gen_tms32010 -u -C 32010 -o gen_tms32010.asm -l gen_tms32010.lst CPU 32010 ORG 100H ADD 00H, 1 ADD *, 1, AR0 ADD *, 1 ADD *-, 1, AR0 ADD *-, 1 ADD *+, 1, AR0 ADD *+, 1 SUB 00H SUB *, 0, AR0 SUB ...
src/shaders/post_processing/gen5_6/Common/RGBX_Save_YUV_Fix.asm
tizenorg/platform.upstream.libva-intel-driver
0
52146
<filename>src/shaders/post_processing/gen5_6/Common/RGBX_Save_YUV_Fix.asm /* * 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.opensou...
programs/oeis/329/A329996.asm
neoneye/loda
22
52147
<filename>programs/oeis/329/A329996.asm ; A329996: Beatty sequence for x^3, where 1/x^3 + 1/3^x = 1. ; 1,2,4,5,7,8,9,11,12,14,15,16,18,19,21,22,23,25,26,28,29,31,32,33,35,36,38,39,40,42,43,45,46,47,49,50,52,53,55,56,57,59,60,62,63,64,66,67,69,70,71,73,74,76,77,79,80,81,83,84,86,87,88,90,91,93 add $0,13 mov $1,24 mul $...
Middlewares/Third_Party/FreeRTOS/Source/portable/Tasking/ARM_CM4F/port_asm.asm
matianfu/stm32f4cube
0
52148
;/* ; FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd. ; All rights reserved ; ; ; *************************************************************************** ; * * ; * FreeRTOS tutorial books are available in ...
oeis/183/A183061.asm
neoneye/loda-programs
11
52149
; A183061: First differences of A183060. ; Submitted by <NAME> ; 0,1,3,3,7,3,7,7,19,3,7,7,19,7,19,19,55,3,7,7,19,7,19,19,55,7,19,19,55,19,55,55,163,3,7,7,19,7,19,19,55,7,19,19,55,19,55,55,163,7,19,19,55,19,55,55,163,19,55,55,163,55,163,163,487,3 mov $4,2 mov $5,$0 lpb $4 mov $0,$5 sub $4,1 add $0,$4 trn $0,1 ...
chap18/ex28/adj_vpgatherpd.asm
JamesType/optimization-manual
374
52150
<filename>chap18/ex28/adj_vpgatherpd.asm<gh_stars>100-1000 ; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD ...
libsrc/_DEVELOPMENT/math/integer/fast/l_fast_divu_24_24x16.asm
teknoplop/z88dk
0
52151
INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_math PUBLIC l_fast_divu_24_24x16, l0_fast_divu_24_24x16 EXTERN l0_fast_divu_16_16x16, l00_fast_divu_24_24x8, error_divide_by_zero_mc divu_24_16x16: ; hl / bc ld e,c ld d,b jp l0_fast_divu_16_16x16 divide_by_zero: ld c,e ex de,hl ...
test/unittest/input/input_for_parser_GROUP3.asm
Kenta11/micro1-as
0
52153
<reponame>Kenta11/micro1-as TITLE InputForParserGROUP3 SL 0, 4 SA 1, +34 SC 2, -49 BIX 3, X"B24F SL 0, +X"3BA SA 1, -X"23AA SC 2, O"36723 BIX 3, +O"21734 SL 0, -O"3234 SA 1, B"1010100 SC 2, +B"101010110010110 BIX 3, -B"10101001001 END
oeis/285/A285345.asm
neoneye/loda-programs
11
52154
<reponame>neoneye/loda-programs ; A285345: Fixed point of the morphism 0 -> 10, 1 -> 1100. ; Submitted by <NAME>(s2) ; 1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0 ...
programs/oeis/268/A268586.asm
neoneye/loda
22
52156
<gh_stars>10-100 ; A268586: Expansion of (x^3*(3*x - 2))/(2*x - 1)^3. ; 0,0,0,2,9,30,88,240,624,1568,3840,9216,21760,50688,116736,266240,602112,1351680,3014656,6684672,14745600,32374784,70778880,154140672,334495744,723517440,1560281088,3355443200,7197425664,15401484288,32883343360,70061654016,148981678080,316216967168,...
Kernel/asm/libasm.asm
juangod1/SO-TP2
1
52157
GLOBAL cpuVendor GLOBAL initialize_stack_frame GLOBAL get_eip GLOBAL clear_interrupts GLOBAL set_interrupts section .text %macro PUSHAQ 0 push gs push fs push r15 push r14 push r13 push r12 push r11 push r10 push r9 push r8 push rsi push rdi push rbp push rdx push rcx push rbx push rax %endmacro %mac...
Appl/Breadbox/Graphvwr/ASMMOD/asmmodManager.asm
steakknife/pcgeos
504
52159
include stdapp.def EspCode segment global MYVMCOPYVMCHAIN:far global MYVMFREEVMCHAIN:far SetGeosConvention MYVMCOPYVMCHAIN proc far sourceFile:word, sourceChainL:word, sourceChainH:word, destFile:word ...
eurasia/services4/srvinit/devices/sgx/vdmcontextstore_use.asm
shaqfu786/GFX_Linux_DDK
3
52160
<filename>eurasia/services4/srvinit/devices/sgx/vdmcontextstore_use.asm /***************************************************************************** Name : vdmcontextstore_use.asm Title : USE programs for TQ Author : PowerVR Created : 03/19/2008 Copyright : 2008 by Imagination Technologies Limited. All...
programs/oeis/332/A332557.asm
neoneye/loda
22
52162
<reponame>neoneye/loda<gh_stars>10-100 ; A332557: Number of inequivalent Z_{2^s}-linear Hadamard codes of length 2^n. ; 1,1,1,1,1,3,3,6,7,11,13,20 sub $0,3 lpb $0 mov $2,$0 max $2,0 seq $2,97066 ; Expansion of (1-2*x+2*x^2)/((1+x)*(1-x)^3). add $0,$2 div $0,12 add $3,$2 lpe mov $0,$3 add $0,1
stdlib/src/port.asm
brian-kelley/GoldOS
5
52164
<reponame>brian-kelley/GoldOS<gh_stars>1-10 section .text global readport global writeport global readportw global writeportw global enableInterrupts global disableInterrupts readport: ;byte readport(dword portNum) mov edx, [esp + 4] in al, dx ret writeport: ;void writeport(dword portNum, dword value) mov edx...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_6166_333.asm
ljhsiun2/medusa
9
52166
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x13340, %rsi nop add %rdi, %rdi movw $0x6162, (%rsi) nop nop nop xor $11010, %r12 lea addresses_D_ht+0xbd62, %rsi lea addresses_WC_ht+0x2ec2, %rdi nop nop nop nop nop xor %r11, %...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_ide_bank_free.asm
jpoikela/z88dk
640
52168
<reponame>jpoikela/z88dk ; unsigned char esx_ide_bank_free(unsigned char banktype, unsigned char page) INCLUDE "config_private.inc" SECTION code_esxdos PUBLIC asm_esx_ide_bank_free PUBLIC l0_asm_esx_ide_bank_free EXTERN error_znc, __esxdos_error_mc IF __ZXNEXT asm_esx_ide_bank_free: ; deallocate page ; ...
dos_games/W Produkcji/Algorithms and Examples/flame.asm
QAston/fasm-2006
0
52169
<reponame>QAston/fasm-2006 ; ; ; - f l a m e - ; quality 122 byte fire ; copyright 1997 Gaffer/prometheus ; <EMAIL> ; ; optimization contribution: ; goblin,ic...
oeis/173/A173598.asm
neoneye/loda-programs
11
52170
<filename>oeis/173/A173598.asm ; A173598: Period 6: repeat [1, 8, 7, 2, 4, 5]. ; Submitted by <NAME> ; 1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8,7,2,4,5,1,8 mul $0,15 add $0,2 dif $0,2 mod $0,9
ioq3/build/release-js-js/baseq3/cgame/cg_particles.asm
RawTechnique/quake-port
1
52171
<gh_stars>1-10 data align 4 LABELV shaderAnimNames address $72 byte 4 0 skip 120 align 4 LABELV shaderAnimCounts byte 4 23 skip 124 align 4 LABELV shaderAnimSTRatio byte 4 1065353216 skip 124 export cl_numparticles align 4 LABELV cl_numparticles byte 4 1024 export initparticles align 4 LABELV initparticles byte 4 0 exp...
programs/oeis/037/A037751.asm
neoneye/loda
22
52172
<filename>programs/oeis/037/A037751.asm<gh_stars>10-100 ; A037751: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1,0. ; 2,11,45,180,722,2891,11565,46260,185042,740171,2960685,11842740,47370962,189483851,757935405,3031741620,12126966482,48507865931,194031463725,776125854...
maps/FloaromaPokeMart.asm
AtmaBuster/pokeplat-gen2-old
2
52173
object_const_def ; object_event constants FloaromaPokeMart_MapScripts: db 0 ; scene scripts db 0 ; callbacks FloaromaPokeMart_MapEvents: db 0, 0 ; filler db 2 ; warp events warp_event 2, 7, FLOAROMA_TOWN, 2 warp_event 3, 7, FLOAROMA_TOWN, 2 db 0 ; coord events db 0 ; bg events db 0 ; object events
lib/avx512/mb_mgr_aes_ccm_auth_submit_flush_vaes_avx512.asm
edtubbs/intel-ipsec-mb
0
52174
<gh_stars>0 ;; ;; Copyright (c) 2020-2021, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of co...
programs/oeis/113/A113763.asm
neoneye/loda
22
52175
; A113763: Non-multiples of 13, or numbers not divisible by 13. ; 1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,77 mov $1,$0 div $1,12 add $0,$1 add $0,1
oeis/021/A021856.asm
neoneye/loda-programs
11
52177
<reponame>neoneye/loda-programs ; A021856: Decimal expansion of 1/852. ; Submitted by Jon Maiga ; 0,0,1,1,7,3,7,0,8,9,2,0,1,8,7,7,9,3,4,2,7,2,3,0,0,4,6,9,4,8,3,5,6,8,0,7,5,1,1,7,3,7,0,8,9,2,0,1,8,7,7,9,3,4,2,7,2,3,0,0,4,6,9,4,8,3,5,6,8,0,7,5,1,1,7,3,7,0,8,9,2,0,1,8,7,7,9,3,4,2,7,2,3,0,0,4,6,9,4 seq $0,199685 ; a(n) = ...
oeis/010/A010922.asm
neoneye/loda-programs
11
52178
; A010922: Pisot sequence T(14,23), a(n)=[ a(n-1)^2/a(n-2) ]. ; Submitted by <NAME> ; 14,23,37,59,94,149,236,373,589,930,1468,2317,3657,5771,9107,14371,22677,35783,56463,89094,140583,221828,350025,552308,871492,1375135,2169837,3423803,5402445,8524559,13450966,21224380,33490108,52844291,83383400,131571287,207607312,3275...
tests/inputs/test_report_tests/test_straight_1/straight_1.asm
danielstumpp/tomasulo-simulator
0
52179
<reponame>danielstumpp/tomasulo-simulator ld, R10, 0(R0) ld, R11, 4(R0) addi, R1, R1, 1 sub, R5, R5, R7 add, R2, R2, R3 add.d, F1, F1, F1 sub.d, F2, F4, F2 mult.d, F5, F4, F5 sd, F3, 16(R0) sd, R4, 0(R6)
src/lib/mboot.asm
programble/happy
1
52180
global mboot.init, mboot.printInfo, mboot.printMmap extern elf.init, str.fromCStr, text.write, text.writeFmt %include "core.mac" HeaderFlags: .PAGE_ALIGN_MODS: equ 0000_0001b .MEM: equ 0000_0010b .VBE: equ 0000_0100b HEADER: .MAGIC: equ 1BADB002h .FLAGS: equ 0 .CHECKSUM: equ -(.MAGIC + .FLAGS) Flags: ....
core/boot/limine_entry.asm
TheUltimateFoxOS/horizon
4
52181
<gh_stars>1-10 [global _start_limine] [extern limine_entry] _start_limine: push qword 0 push qword 0 mov rbp, rsp call cpu_init call limine_entry cpu_init: cli push rbx ; enable coprocessor (fpu and sse) mov rax, cr0 and ax, 0xFFFB or ax, 0x2 mov cr0, rax mov rax, cr4 or ax, 3 << 9 mov cr4, rax f...
src/memory/gdt.asm
MrKomish/PYROS
5
52183
section .text align 4 extern GDT global gdt_flush gdt_flush: lgdt [GDT] gdt_flush_code: jmp 0x08: gdt_flush_data ; The following 7 lines of code were taken from Micro-OS (<NAME> is the real king) gdt_flush_data: mov ax, 0x10 ;; data segment mov ds, ax ;; update all data segments mov ss, ax ...
data/tilesets/forest_collision.asm
zavytar/pokecolorless
0
52184
<filename>data/tilesets/forest_collision.asm tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll WATER, WATER, WATER, WATER ; 02 tilecoll WATER, WATER, WATER, WATER ; 03 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04 tilecoll WALL, WALL, WALL, WALL ; 05 tilecoll FLOOR, WARP_CARPET_RI...
oeis/152/A152010.asm
neoneye/loda-programs
11
52185
; A152010: Sum of digits of A127335(n). ; Submitted by <NAME> ; 14,17,7,6,9,3,6,9,7,7,12,12,10,15,6,15,15,8,12,21,12,21,10,18,24,19,21,4,12,6,11,15,12,18,6,12,9,13,13,12,17,11,14,11,21,11,18,10,14,20,8,16,4,10,16,12,15,14,15,15,17,18,11,21,15,15,17,20,12,18,3,15,20,9,21,10,6 seq $0,127335 ; Numbers that are the sum of...
engine/debug/debug_menu.asm
AtmaBuster/pokeplat-gen2
6
52188
<filename>engine/debug/debug_menu.asm smartcp: MACRO IF \1 == 0 and a ELSE cp \1 ENDC ENDM cphl16: MACRO ; arg1: 16 bit register ; arg2: value to compare to ld a, h smartcp HIGH(\1) jr c, .done\@ jr nz, .done\@ ld a, l smartcp LOW(\1) .done\@ ENDM DebugMenu:: call ClearWindowData ld de, SFX_MENU call Play...
asm/dos_fix_map_explore_bug.asm
Iemnur/DSVEdit
70
52189
<reponame>Iemnur/DSVEdit .nds .relativeinclude on .erroronwarning on ; This patch fixes a bug in DoS where the map will consider the player to be in the next room over if they are on the very edge of the screen. ; This bug causes the glitch in the room randomizer (or sliding puzzle in the vanilla game) where walking t...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_14732_909.asm
ljhsiun2/medusa
9
52190
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1c84, %r12 nop nop nop cmp $51059, %rbp movw $0x6162, (%r12) nop nop nop nop and $36362, %r10 lea addresses_D_ht+0x1d004, %r11 clflush (%r11) nop nop nop sub %r13, ...
_maps/GHZ Ball.asm
kodishmediacenter/msu-md-sonic
9
52191
<reponame>kodishmediacenter/msu-md-sonic<filename>_maps/GHZ Ball.asm ; --------------------------------------------------------------------------- ; Sprite mappings - swinging ball on a chain from GHZ boss ; --------------------------------------------------------------------------- Map_GBall_internal: dc.w @shiny-Ma...
malban/Release/VRelease/Release.History/VRelease_2017_04_18/objects2.asm
mikepea/vectrex-playground
5
52192
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; explosionBehaviour ;#isfunction stb VIA_t1_cnt_lo ; also stores to scale :-() VIA_t1_cnt_lo ; to timer t1 (lo) ldb X_POS+u_offset1,u ; start the move to ; following calcs can be don...
tests/symbol_label_simple/3.asm
NullMember/customasm
414
52193
<filename>tests/symbol_label_simple/3.asm #ruledef test { ld {x} => 0x55 @ x`8 } label: ld label label: ; error: duplicate / note:_:7: first ld label
libsrc/fcntl/spectrum/zxbasdrv/rnd_erase.asm
grancier/z180
0
52194
<reponame>grancier/z180 ; ; Delete a file by the BASIC driver ; ; Stefano - 5/7/2006 ; ; int remove(char *name) ; ; $Id: rnd_erase.asm,v 1.3 2016/06/23 20:40:25 dom Exp $ SECTION code_clib PUBLIC rnd_erase PUBLIC _rnd_erase EXTERN zx_goto EXTERN zxgetfname2 .rnd_erase ._rnd_erase pop bc pop hl push hl push...
ASM/src/link_anim.asm
Triaphlax/OoT-Randomizer
344
52196
override_changelinkanimdefaultstop: addiu sp, sp, -0x28 sw ra, 0x0024(sp) sw a0, 0x0028(sp) sw a1, 0x002C(sp) sw a2, 0x0030(sp) jal 0x8008A194 ;SkelAnime_GetFrameCount lw a0, 0x0030(sp) mtc1 v...
programs/oeis/217/A217775.asm
neoneye/loda
22
52197
<reponame>neoneye/loda<filename>programs/oeis/217/A217775.asm<gh_stars>10-100 ; A217775: a(n) = n*(n+1) + (n+2)*(n+3) + (n+4)*(n+5). ; 26,44,68,98,134,176,224,278,338,404,476,554,638,728,824,926,1034,1148,1268,1394,1526,1664,1808,1958,2114,2276,2444,2618,2798,2984,3176,3374,3578,3788,4004,4226,4454,4688,4928,5174,5426,...
uti/rname.asm
olifink/smsqe
0
52198
<gh_stars>0 ; Read name / edit name (extended version) 1992 <NAME> V0.01 section wman xdef wm_rname ; read name xdef wm_ename ; edit name include dev8_keys_k include dev8_keys_err include dev8_keys_qdos_io ;+++ ; Read or edit name with extend...
oeis/053/A053149.asm
neoneye/loda-programs
11
52199
; A053149: Smallest cube divisible by n. ; Submitted by <NAME> ; 1,8,27,8,125,216,343,8,27,1000,1331,216,2197,2744,3375,64,4913,216,6859,1000,9261,10648,12167,216,125,17576,27,2744,24389,27000,29791,64,35937,39304,42875,216,50653,54872,59319,1000,68921,74088,79507,10648,3375,97336,103823,1728,343,1000,132651,17576,1488...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1528.asm
ljhsiun2/medusa
9
52200
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1528.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x305b, %rbx nop nop add $45085, %r8 mov $0x6162636465666768, %r9 movq %r9, %xmm0 and $0xf...
DOS/test.asm
cwojtak/CON
0
52201
<reponame>cwojtak/CON ; hello-DOS.asm - single-segment, 16-bit "hello world" program ; ; assemble with "nasm -f bin -o hi.com hello-DOS.asm" org 0x100 ; .com files always start 256 bytes into the segment ; int 21h is going to want... mov dx, msg ; the address of or message in dx mov ah, 9 ; ah=...
programs/oeis/028/A028326.asm
neoneye/loda
22
52202
; A028326: Twice Pascal's triangle A007318: T(n,k) = 2*C(n,k). ; 2,2,2,2,4,2,2,6,6,2,2,8,12,8,2,2,10,20,20,10,2,2,12,30,40,30,12,2,2,14,42,70,70,42,14,2,2,16,56,112,140,112,56,16,2,2,18,72,168,252,252,168,72,18,2,2,20,90,240,420,504,420,240,90,20,2,2,22,110,330,660,924,924,660,330,110,22,2,2,24,132,440,990,1584,1848,15...
sw/552tests/inst_tests/sle_1.asm
JPShen-UWM/ThreadKraken
1
52204
// Original test: ./kohlmann/hw4/problem6/sle_0.asm // Author: kohlmann // Test source code follows // SLE Test 0 - Verify that SLE correctly compares positive numbers. lbi r1, 0x10 // r1 = 16'd16 lbi r2, 0x18 // r2 = 16'd24 sle r3, r1, r2 // r3 should equal 1 sle r3, r2, r1 // r3 should equal 0 halt
src/tools.asm
drwuro/teleporter64
3
52205
<filename>src/tools.asm ;------------------------------- !zone ;-- clear screen using space characters ;-- clear_screen lda #$20 ;-- space character ldx #$00 .loop sta SCR_BASE, x sta SCR_BASE + $100, x sta SCR_BASE + $200, x sta SCR_BASE + $300, x dex bne .loop rts ;----...
8088/xtserver/imager/imager.asm
MS-DOS-stuff/reenigne
1
52206
%include "../../defaults_bin.asm" residentPortionEnd equ (tempBuffer + 19) residentPortionLength equ (residentPortionEnd - residentPortion) ; Non-resident portion ; Set up stack cli mov ax,0x30 mov ss,ax mov sp,0x100 sti cld mov si,residentPortion mov di,0 mov ax,0xa000 - (15 + residentPortion...
nexys3.asm
QuorumComp/hc800-lowlevel
1
52207
INCLUDE "nexys3.i" ; -- Check if buttons are pressed ; -- ; -- Inputs: ; -- t - button mask ; -- ; -- Outputs: ; -- f - "z" condition if all buttons in mask are down SECTION "CheckButtons",CODE CheckButtons: push bc-hl ld d,t ld b,IO_NEXYS3_BASE ld c,IO_NEXYS3_BUTTONS lio t,(bc) and t,d cmp d ...
data/pokemon/base_stats/sandshrew.asm
Karkino/KarkCrystal16
0
52208
db 0 ; species ID placeholder db 55, 75, 85, 55, 20, 35 ; hp atk def spd sat sdf db GROUND, GROUND ; type db 255 ; catch rate db 93 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/sandshre...
src/commands/DoAdd.asm
jhm-ciberman/calculator-asm
2
52209
proc DoAdd uses r14 fastcall ArrayListPop, [_lg_stack] mov r14, rax fastcall ArrayListPop, [_lg_stack] add r14, rax fastcall ArrayListPush, [_lg_stack], r14 ret endp
ConditionalStatement.asm
akshithsriram/Hack-Computer
0
52210
// Implementing an alternative statement in the hack machine language // Equivalent C Program: // if(a > b) // c = a - b; // else // c = b - a; @a D = M // D <-- a @b D = D - M // D <-- a - b @ENDIF D; JGT // if (a - b > 0) jump to ...
non_regression/weakref_x86_linux.o.asm
LRGH/plasmasm
1
52211
<reponame>LRGH/plasmasm .file "y0.cpp" .section .data.DW.ref.__gxx_personality_v0,"waG",@progbits,DW.ref.__gxx_personality_v0,comdat .hidden DW.ref.__gxx_personality_v0 .weak DW.ref.__gxx_personality_v0 .type DW.ref.__gxx_personality_v0, @object DW.ref.__gxx_personality_v0: .long __gxx_personality_v0 .size...
maps/DiglettsCave.asm
Dev727/ancientplatinum
28
52212
<gh_stars>10-100 object_const_def ; object_event constants const DIGLETTSCAVE_POKEFAN_M DiglettsCave_MapScripts: db 0 ; scene scripts db 0 ; callbacks DiglettsCavePokefanMScript: jumptextfaceplayer DiglettsCavePokefanMText DiglettsCaveHiddenMaxRevive: hiddenitem MAX_REVIVE, EVENT_DIGLETTS_CAVE_HIDDEN_MAX_REVI...
src/utils/subprograms.asm
raulpy271/snake-game-gameboy
0
52213
SECTION "Utility Methods", ROM0 LCDOff: LD HL, rLCDC LD [HL], 0 RET Sleep: HALT JR Sleep ; DE - Origin ; HL - Destination ; BC - Size MEMCOPY:: LD A, [DE] LD [HL+], A INC DE DEC BC LD A, B CP 0 JR NZ, MEMCOPY LD A, C CP 0 JR NZ, MEMCOPY RET EnableVBlank: LD HL, rSTAT SET 4, [HL] ...
util/system/context_x86.asm
HeyLey/catboost
6,989
52214
<gh_stars>1000+ %macro EXPORT 1 %ifdef DARWIN global _%1 _%1: %else global %1 %1: %endif %endmacro %ifdef _x86_64_ %include "context_x86_64.asm" %else %include "context_i686.asm" %endif
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_3060_262.asm
ljhsiun2/medusa
9
52215
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x14b3, %rbx nop dec %r14 movw $0x6162, (%rbx) nop cmp %rbx, %rbx lea addresses_WC_ht+0x1b015, %rsi lea addresses_A_ht+0xf715, %rdi nop nop nop nop no...
programs/oeis/231/A231689.asm
karttu/loda
0
52216
; A231689: a(n) = Sum_{i=0..n} digsum(i)^4, where digsum(i) = A007953(i). ; 0,1,17,98,354,979,2275,4676,8772,15333,15334,15350,15431,15687,16312,17608,20009,24105,30666,40666,40682,40763,41019,41644,42940,45341,49437,55998,65998,80639,80720,80976,81601,82897,85298,89394,95955,105955,120596,141332,141588,142213,143509,1...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1150.asm
ljhsiun2/medusa
9
52218
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x581c, %rsi nop nop nop nop add %r14, %r14 vmovups (%rsi), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %r10 nop nop xor $54778, %rbx lea ad...
programs/oeis/064/A064918.asm
neoneye/loda
22
52219
<filename>programs/oeis/064/A064918.asm ; A064918: a(n) is the number of iterations of k -> A064916(k) to reach a prime, starting at n. ; 0,0,1,0,2,0,1,1,3,0,1,0,2,1,2,0,4,0,1,2,2,0,1,2,3,1,2,0,3,0,1,1,5,1,1,0,2,2,3,0,3,0,1,1,2,0,3,1,4,1,2,0,3,2,1,3,4,0,1,0,2,1,2,1,6,0,2,3,2,0,1,0,3,2,3,1,4,0,1,1,4,0,1,3,2,1,2,0,3,1,1,...
sbsext/ext/extras.asm
olifink/smsqe
0
52220
<filename>sbsext/ext/extras.asm * List extensions V1.00  1985 <NAME> QJUMP * * EXTRAS [#n] list extra procedures/functions * * 2002-07-04 1.00 Removed TK2 limitation of not showing commands in ROM space. * section exten * xdef extras * xref ut_ntnam xref ut_winset xref ut_winchk xref ut_wrta1 xref...
programs/oeis/176/A176405.asm
neoneye/loda
22
52221
<reponame>neoneye/loda ; A176405: Fixed point of morphism 0->0100110, 1->0110110 ; 0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,0,1 mul $0,3 seq $0,277545 ; a(n) = n/7^...
oeis/186/A186345.asm
neoneye/loda-programs
11
52222
<filename>oeis/186/A186345.asm ; A186345: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f and g are the pentagonal numbers and the octagonal numbers. Complement of A186344. ; Submitted by <NAME>(s4) ; 1,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38,40,43,45,47,50,52,55,57,60,...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_775.asm
ljhsiun2/medusa
9
52223
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1c634, %rsi lea addresses_UC_ht+0xa34c, %rdi nop nop nop xor $34784, %r11 mov $97, %rcx rep movsq nop nop and %r8, %r8 lea addresses_WT_ht+0x1c3b4, %rsi lea addresses_WT_ht+0x...
programs/oeis/131/A131136.asm
jmorken/loda
1
52224
<reponame>jmorken/loda ; A131136: Denominator of (exponential) expansion of log((x/2-1)/(x-1)). ; 1,2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,8,16,16,32,16,32,32,64,16,32,32,64,32,64,64,128,4,8,8,16,8,16,16,32,8,16,16 mov $2,$0 mov $0,0 m...
src/asm/switch.32.asm
NoOperatingSys/NoOperatingSystem
0
52226
<reponame>NoOperatingSys/NoOperatingSystem<gh_stars>0 [bits 16] pm: cli ; disable interrupts lgdt [gdt_descriptor] ; load the gtd descriptor mov eax, cr0 or al, 0x1 ;set 32-bit mode in cr0 mov cr0, eax jmp CODE_SEG:init_pm ;far jump by using a different segment [bits 32] init_pm: ;lol 32 ...
src/kernel/interrupts/timer.asm
DreamPearl/FuzzyOS
10
52228
<filename>src/kernel/interrupts/timer.asm %include "fuzzy/memmgr/layout.asm" %include "fuzzy/memmgr/tables/gdt.asm" [BITS 32] global irq0_pit_handler_low extern irq0_pit_handler extern pit_reset global create_infant_process_irq0_stack %macro _int_irq0_start 0 ; eflag, cs, ip should be at start: 0 bytes ...
oeis/081/A081606.asm
neoneye/loda-programs
11
52229
<filename>oeis/081/A081606.asm<gh_stars>10-100 ; A081606: Numbers having at least one 1 in their ternary representation. ; Submitted by <NAME>(s1) ; 1,3,4,5,7,9,10,11,12,13,14,15,16,17,19,21,22,23,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,55,57,58,59,61,63,64,65,66,67,68,69,70,...
oeis/017/A017521.asm
neoneye/loda-programs
11
52230
; A017521: Expansion of 1/((1-3*x)*(1-5*x)*(1-8*x)). ; Submitted by <NAME> ; 1,16,177,1688,14945,127008,1054033,8624296,69961089,564542000,4540661489,36447096504,292186326433,2340539977792,18739571436945,149992843917512,1200324156496577,9604500406895184,76845539417194801,614811997309986520,4918734391828817121,393510672...
Cameras/GRID (2019)/InjectableGenericCameraSystem/Interceptor.asm
ghostinthecamera/IGCS-GITC
42
52231
<filename>Cameras/GRID (2019)/InjectableGenericCameraSystem/Interceptor.asm ;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// Part of Injectable Generic Camera System ;// Copyright(c) 2020, <NAME> ;// All rights reserved. ;// https://github.com/FransBouma/Inje...
programs/oeis/267/A267582.asm
karttu/loda
0
52232
; A267582: Number of ON (black) cells in the n-th iteration of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,3,5,5,9,9,11,9,17,17,19,17,23,21,23,17,33,33,35,33,39,37,39,33,47,45,47,41,51,45,47,33,65,65,67,65,71,69,71,65,79,77,79,73,83,77,79,65,95,93,95,89,99,93,95,81,107,101...
libsrc/sprites/software/sp1/spectrum/tiles/SP1PSPUSH.asm
andydansby/z88dk-mk2
1
52235
<filename>libsrc/sprites/software/sp1/spectrum/tiles/SP1PSPUSH.asm ; subroutine for writing registers to "struct sp1_pss" ; 02.2008 aralbrec ; sinclair spectrum version XLIB SP1PSPUSH ; enter : hl = & struct sp1_pss to write to ; e = flags ; b = current x coordinate (relative to bounds rect IY) ; ...
Homework Submission/Homework 1/2.asm
KayserAhmedIffti/CSE331L-Section-10-Fall20-NSU
0
52236
<filename>Homework Submission/Homework 1/2.asm ; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt ; Name: <NAME> ID:- 1620252042 org 100h MOV AX,02 MOV CX,00 ADD CX,AX MOV AX, 04 ADD CX,AX ...
sys-linux-x64.asm
mras0/forth
10
52238
<gh_stars>1-10 global _start %define sys_read 0 %define sys_write 1 %define sys_open 2 %define sys_close 3 %define sys_exit 60 %define STDIN_FILENO 0 %define STDOUT_FILENO 1 [section .bss] OldRSP: resq 1 __SECT__ _start: mov [rel OldRSP], rsp mov rdi, [rsp] le...
oeis/248/A248877.asm
neoneye/loda-programs
11
52239
<filename>oeis/248/A248877.asm ; A248877: a(1) = 23, a(2) = 71, a(n) = 3*a(n-1) - 2*a(n-2) for n>2. ; 23,71,167,359,743,1511,3047,6119,12263,24551,49127,98279,196583,393191,786407,1572839,3145703,6291431,12582887,25165799,50331623,100663271,201326567,402653159,805306343,1610612711,3221225447,6442450919,12884901863,2576...
libsrc/stdio_new/file/snprintf.asm
meesokim/z88dk
8
52240
<reponame>meesokim/z88dk<gh_stars>1-10 ; int snprintf(char *s, unsigned int size, const char *fmt,...) ; 05.2008 aralbrec PUBLIC snprintf EXTERN vsnprintf_callee, stdio_varg, stdio_nextarg EXTERN ASMDISP_VSNPRINTF_CALLEE .snprintf call stdio_varg push de ; stack = char *s call stdio_ne...
Borland/CBuilder5/Source/RTL/source/cstrings/strcmp.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
52241
<filename>Borland/CBuilder5/Source/RTL/source/cstrings/strcmp.asm ;[]-----------------------------------------------------------------[] ;| STRCMP.ASM -- compare one string to another | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Versi...
programs/oeis/156/A156859.asm
neoneye/loda
22
52242
<reponame>neoneye/loda<gh_stars>10-100 ; A156859: The main column of a version of the square spiral. ; 0,3,7,14,22,33,45,60,76,95,115,138,162,189,217,248,280,315,351,390,430,473,517,564,612,663,715,770,826,885,945,1008,1072,1139,1207,1278,1350,1425,1501,1580,1660,1743,1827,1914,2002,2093,2185,2280,2376,2475,2575 mul $...
libsrc/_DEVELOPMENT/l/z80/ascii/l_hex_nibble.asm
jpoikela/z88dk
640
52243
<gh_stars>100-1000 SECTION code_clib SECTION code_l PUBLIC l_hex_nibble PUBLIC l_hex_nibble_hi, l_hex_nibble_lo l_hex_nibble_hi: ; translate top nibble of byte into a uppercase ascii hex digit ; ; enter : a = number ; ; exit : a = hex character representing top nibble of number ; ; uses...
programs/oeis/112/A112751.asm
neoneye/loda
22
52244
<gh_stars>10-100 ; A112751: Number of numbers less than or equal to n of the form 3^i*5^j. ; 1,1,2,2,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,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,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10 mov $2,$0 mov $...
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/free_unlocked.asm
jpoikela/z88dk
640
52245
<reponame>jpoikela/z88dk ; void free_unlocked(void *p) SECTION code_clib SECTION code_alloc_malloc PUBLIC _free_unlocked EXTERN asm_free_unlocked _free_unlocked: pop af pop hl push hl push af jp asm_free_unlocked
programs/oeis/153/A153873.asm
neoneye/loda
22
52246
; A153873: a(n) = 9*Fibonacci(2n+1) - 1. ; 8,17,44,116,305,800,2096,5489,14372,37628,98513,257912,675224,1767761,4628060,12116420,31721201,83047184,217420352,569213873,1490221268,3901449932,10214128529,26740935656,70008678440,183285099665,479846620556,1256254762004,3288917665457,8610498234368,22542577037648,59017232878...
gfx/pokemon/sandslash/anim.asm
Dev727/ancientplatinum
28
52247
<filename>gfx/pokemon/sandslash/anim.asm frame 0, 06 frame 1, 14 frame 0, 12 frame 4, 07 frame 2, 08 frame 0, 12 frame 4, 07 frame 2, 08 endanim
oeis/204/A204090.asm
neoneye/loda-programs
11
52250
<gh_stars>10-100 ; A204090: The number of 1 X n Haunted Mirror Maze puzzles with a unique solution where mirror orientation is fixed. ; Submitted by <NAME>(s2) ; 1,2,8,34,134,498,1786,6274,21778,75074,257762,882946,3020354,10323714,35270530,120467458,411394306,1404773378,4796567042,16377245698,55916897282,190915194882,...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2262.asm
ljhsiun2/medusa
9
52251
.global s_prepare_buffers s_prepare_buffers: push %rax push %rbp push %rbx push %rcx push %rdx push %rsi lea addresses_WC_ht+0x1788a, %rax add $57917, %rdx vmovups (%rax), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbp nop nop nop xor $33965, %rsi lea addresses_WC_ht+0x16d18, %rcx nop nop nop and %rbx, %rb...
testa-2020-4.asm
grancier/z180_basic
1
52252
<reponame>grancier/z180_basic ; ********************************************************************** ; ** Config: Standard features by <NAME> ** ; ********************************************************************** ; ********************************************************************** ; H...
oeis/015/A015174.asm
neoneye/loda-programs
11
52253
<reponame>neoneye/loda-programs ; A015174: Sum of (Gaussian) q-binomial coefficients for q=-10. ; Submitted by <NAME> ; 1,2,-7,184,7375,1854566,-733798243,1853096548948,7341689356896139,185324336420417243330,-7341318715564987522409479,1853228681381416966904537937712,734135578021202833790446696598284903,1853230149650719...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_245.asm
ljhsiun2/medusa
9
52254
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_245.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xbf6, %rsi lea addresses_normal_ht+0x1c366, %rdi nop nop nop nop nop cmp %r10,...
src/test/asm/fact.asm
cjfrisz/maf6502
5
52255
<filename>src/test/asm/fact.asm ;------------------------- ; 6502asm.com version ;------------------------- ; lda #4 ; ; cmp #0 ; bne continue ; lda #1 ; jmp abyss ; for 6502asm.com ; continue: ; tax ; iterate: ; dex ; cpx #1 ; beq end ; tay ; txa ; pha ; tya ; jmp multiply ; return: ; tay ; pla ; tax ; tya ; jmp iter...
scripts/mtmoonpokecenter.asm
etdv-thevoid/pokemon-rgb-enhanced
1
52256
<reponame>etdv-thevoid/pokemon-rgb-enhanced MtMoonPokecenterScript: call Serial_TryEstablishingExternallyClockedConnection jp EnableAutoTextBoxDrawing MtMoonPokecenterTextPointers: dw MtMoonHealNurseText dw MtMoonPokecenterText2 dw MtMoonPokecenterText3 dw MagikarpSalesmanText dw MtMoonPokecenterText5 dw MtMoo...
sound/sfxasm/BF.asm
NatsumiFox/Sonic-3-93-Nov-03
7
52258
BF_Header: sHeaderInit ; Z80 offset is $D8FA sHeaderPatch BF_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, BF_FM5, $00, $06 BF_FM5: sPatFM $00 ssModZ80 $01, $01, $CB, $16 dc.b nC0, $0E sStop BF_Patches: ; Patch $00 ; $F9 ; $20, $30, $12, $30, $13, $1A, $1F, $0F ; $05, $18, $09, $02, $...
oeis/160/A160150.asm
neoneye/loda-programs
11
52259
<reponame>neoneye/loda-programs ; A160150: Numerator of Hermite(n, 22/27). ; Submitted by <NAME> ; 1,44,478,-107272,-6810740,325937744,63991555336,-35674949728,-654667511547248,-28389257894451520,7341419739167121376,736937848624456502144,-85316424437286206533952,-16647387274774084049005312,884602468694263060488292480,3...
oeis/135/A135173.asm
neoneye/loda-programs
11
52260
<filename>oeis/135/A135173.asm ; A135173: 5^p - 3^p - 2^p, where p = prime(n). ; Submitted by <NAME> ; 12,90,2850,75810,48648930,1219100610,762810181890,19072323542370,11920834803510690,186264446292181467330,4656612255401848810530,72759575691550215703252290,45474735052173413319557911170,1136868376887903321203168728290,...
libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_kempston_setpos.asm
meesokim/z88dk
0
52261
<gh_stars>0 ; void in_mouse_kempston_setpos(uint16_t x, uint16_t y) SECTION code_input PUBLIC in_mouse_kempston_setpos EXTERN asm_in_mouse_kempston_setpos in_mouse_kempston_setpos: pop af pop bc pop de push de push bc push af jp asm_in_mouse_kempston_setpos
programs/oeis/198/A198083.asm
neoneye/loda
22
52262
<filename>programs/oeis/198/A198083.asm ; A198083: Ceiling(n*Sqrt(6)). ; 0,3,5,8,10,13,15,18,20,23,25,27,30,32,35,37,40,42,45,47,49,52,54,57,59,62,64,67,69,72,74,76,79,81,84,86,89,91,94,96,98,101,103,106,108,111,113,116,118,121,123,125,128,130,133,135,138,140,143,145,147,150,152,155,157,160,162,165,167,170,172,174,177,...