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/172/A172076.asm
karttu/loda
0
52263
; A172076: a(n) = n*(n+1)*(14*n-11)/6. ; 0,1,17,62,150,295,511,812,1212,1725,2365,3146,4082,5187,6475,7960,9656,11577,13737,16150,18830,21791,25047,28612,32500,36725,41301,46242,51562,57275,63395,69936,76912,84337,92225,100590,109446,118807,128687,139100,150060,161581,173677,186362,199650,213555,228091,243272,259112,27...
Checkpoints/chk13_1.asm
richardhyy/AssemblyLab
3
52264
assume cs:code data segment db 'Light and Wings',0 data ends code segment start: call setjpn mov ax,data mov ds,ax mov si,0 mov ax,0b800h mov es,ax mov di,12*160 s: cmp byte ptr [si],0 je ok mov al,[si] mov es:[di],al inc si add di,2 mov bx,offset s-offset ok int 7ch ok: mov ax,4c00h ...
libsrc/enterprise/exos_write_block.asm
andydansby/z88dk-mk2
1
52266
<filename>libsrc/enterprise/exos_write_block.asm ; ; Enterprise 64/128 specific routines ; by <NAME>, 2011 ; ; exos_write_block(unsigned char channel, unsigned int byte_count, unsigned char *address); ; ; ; $Id: exos_write_block.asm,v 1.1 2011/03/15 14:34:08 stefano Exp $ ; XLIB exos_write_block exos_write_block: ...
_macros/_s1smps2asm_inc.asm
vladjester2020/Sonic1TMR
0
52267
; Standard Octave Pitch Equates smpsPitch10lo EQU $88 smpsPitch09lo EQU $94 smpsPitch08lo EQU $A0 smpsPitch07lo EQU $AC smpsPitch06lo EQU $B8 smpsPitch05lo EQU $C4 smpsPitch04lo EQU $D0 smpsPitch03lo EQU $DC smpsPitch02lo EQU $E8 smpsPitch01lo EQU $F4 smpsPitch00 EQU $00 smpsPitch01hi EQU $0C s...
autovectorization-tests/results/msvc19.28.29333-avx2/accumulate_default.asm
clayne/toys
0
52268
<filename>autovectorization-tests/results/msvc19.28.29333-avx2/accumulate_default.asm<gh_stars>0 _v$ = 8 ; size = 4 unsigned int accumulate_epi32(std::vector<int,std::allocator<int> > const &) PROC ; accumulate_epi32, COMDAT mov ecx, DWORD PTR _v$[esp-4] xor ...
programs/oeis/227/A227209.asm
jmorken/loda
1
52269
; A227209: Expansion of 1/((1-x)^2*(1-2x)*(1-4x)). ; 1,8,43,198,849,3516,14311,57746,231997,930024,3724179,14904894,59635945,238576532,954371647,3817617642,15270732693,61083455040,244334868715,977341571990,3909370482241,15637490317548 mov $2,2 mov $3,$0 lpb $0 sub $0,1 add $2,1 mul $2,2 lpe mov $1,3 sub $3,$2 mo...
src/firmware-tests/Platform/ShiftRegister/EnableDisable/EnableDisablePortTest.asm
pete-restall/Cluck2Sesame-Prototype
1
52271
#include "Platform.inc" #include "FarCalls.inc" #include "ShiftRegister.inc" #include "TestFixture.inc" radix decimal udata global numberOfEnableCalls global numberOfDisableCalls global forcePortcBeforeEnable global forcePortcBeforeDisable global expectedPortc numberOfEnableCalls res 1 numberOfDisableCall...
solutions/32 - Creative Writhing/size-19_speed-37.asm
michaelgundlach/7billionhumans
45
52272
-- 7 Billion Humans (2053) -- -- 32: Creative Writhing -- -- Author: soerface -- Size: 19 -- Speed: 37 a: b: step s pickup c write 99 drop if s == datacube: jump a endif if e == datacube: step e else: if w == datacube: step w endif endif pickup c write 99 drop step s pickup c write 99 drop jump b
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_info_callee.asm
meesokim/z88dk
0
52274
<reponame>meesokim/z88dk ; void heap_info_callee(void *heap, void *callback) INCLUDE "clib_cfg.asm" SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _heap_info_callee _heap_info_callee: pop af pop de pop ix push af IN...
programs/oeis/056/A056738.asm
karttu/loda
0
52275
<reponame>karttu/loda ; A056738: Positions where 2's occur in A056731. ; 1,4,8,13,20,28,37,47,59,72,86,101,117,135,154,174,195,217,240,264,290,317,345,374,404,435,467,500,535,571,608,646,685,725,766,808,851,896,942,989,1037,1086,1136,1187,1239,1292,1346,1402,1459,1517,1576,1636 mov $21,$0 mov $23,$0 add $23,1 lpb $23,...
deps/gmp.js/mpn/x86/k7/sqr_basecase.asm
6un9-h0-Dan/cobaul
184
52276
<reponame>6un9-h0-Dan/cobaul dnl AMD K7 mpn_sqr_basecase -- square an mpn number. dnl Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. dnl 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 dnl modify it under the terms of the GN...
oeis/099/A099462.asm
neoneye/loda-programs
11
52277
; A099462: Expansion of x/(1 - 4*x^2 - 4*x^3). ; Submitted by <NAME> ; 0,1,0,4,4,16,32,80,192,448,1088,2560,6144,14592,34816,82944,197632,471040,1122304,2674688,6373376,15187968,36192256,86245376,205520896,489750528,1167065088,2781085696,6627262464,15792603136,37633392640 mov $4,1 lpb $0 sub $0,1 mov $1,$4 mul $...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1561_49.asm
ljhsiun2/medusa
9
52278
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1cba1, %rsi lea addresses_D_ht+0xb2a1, %rdi nop nop nop nop cmp %r11, %r11 mov $10, %rcx rep movsw nop nop inc %r10 lea addresses_WC_ht+0x8421, %rsi lea addresses_A_ht+0x18ba1, %rdi no...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_967.asm
ljhsiun2/medusa
9
52279
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x92f2, %r14 clflush (%r14) nop and $48226, %r9 movl $0x61626364, (%r14) cmp $11626, %rdi lea addresses_D_ht+0xf672, %rdx nop nop inc %r15 mov (%rdx), %r10 nop nop nop...
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fd_add16.asm
JosiahCraw/TI-Arm-Docker
0
52280
<reponame>JosiahCraw/TI-Arm-Docker<filename>compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fd_add16.asm<gh_stars>0 ;****************************************************************************** ;* FS_ADD16.ASM - 16 BIT STATE - * ;* ...
Final Assignment CSE331/Solution/7.asm
MehbinMimi/CSE331L-Section-1-Fall20-NSU
0
52281
<filename>Final Assignment CSE331/Solution/7.asm<gh_stars>0 .MODEL SMALL .STACK 100H .DATA A DB 'Enter first number: $' B DB 0DH,0AH,'Enter second number: $' S DB 0DH,0AH,'1$' M DB 0DH,0AH,'0$' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX LEA DX,A MOV AH,9 INT 21H MOV AH,1 INT 21H ...
programs/oeis/175/A175608.asm
neoneye/loda
22
52282
<reponame>neoneye/loda ; A175608: Characteristic function of squarefree triangular integers: 1 if n(n+1)/2 is squarefree else 0. ; 1,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1,0,0,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,0...
programs/oeis/031/A031972.asm
neoneye/loda
22
52283
<filename>programs/oeis/031/A031972.asm<gh_stars>10-100 ; A031972: a(n) = Sum_{k=1..n} n^k. ; 0,1,6,39,340,3905,55986,960799,19173960,435848049,11111111110,313842837671,9726655034460,328114698808273,11966776581370170,469172025408063615,19676527011956855056,878942778254232811937,41660902667961039785742,20883318587525532...
oeis/097/A097251.asm
neoneye/loda-programs
11
52284
; A097251: Numbers whose set of base 5 digits is {0,4}. ; Submitted by <NAME> ; 0,4,20,24,100,104,120,124,500,504,520,524,600,604,620,624,2500,2504,2520,2524,2600,2604,2620,2624,3000,3004,3020,3024,3100,3104,3120,3124,12500,12504,12520,12524,12600,12604,12620,12624,13000,13004,13020,13024,13100,13104,13120,13124,15000,...
src/blinkingLED.asm
KhomZ/8051-Microcontroller-ALP-for-Blinking-LEDs
0
52285
# @author: KhomZ ORG 00H ; Assembly Starts from 0000H. ; Main Program START: MOV P1, #0XFF ; Move 11111111 to PORT1. CALL WAIT ; Call WAIT MOV A, P1 ; Move P1 value to ACC CPL A ; Complement ACC MOV P1, A ; Move ACC value to P1 CALL WAIT ; Call WAIT SJMP START ; Jump to START WAIT: MOV R2, #1...
src/firmware-tests/Platform/Buttons/Initialisation/AnselTest.asm
pete-restall/Cluck2Sesame-Prototype
1
52286
#include "Platform.inc" #include "FarCalls.inc" #include "Buttons.inc" #include "TestFixture.inc" radix decimal udata global expectedANSEL global expectedANSELH expectedANSEL res 1 expectedANSELH res 1 AnselTest code global testArrange testArrange: testAct: fcall initialiseButtons testAssert: .aliasFo...
programs/oeis/092/A092598.asm
karttu/loda
0
52287
; A092598: Natural numbers n for which sum of decimal digits is greater than n/4. ; 1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,19,25,26,27,28,29,37,38,39,49 mov $2,$0 add $0,5 mov $1,$0 add $1,42 mov $3,$0 mov $0,1 add $3,1 mov $4,42 sub $4,$3 lpb $0,1 sub $0,1 add $1,4 add $4,2 div $1,$4 lpe pow $1,2 add $1,$2
src/tictactoe.asm
timont02/cesp_timon
0
52288
#storage locations: # -500 = ra # -400 = current player # -132 - -100 = field taken or not and from wich player: #-100 = field 1; -104 = field 2; etc. ... # -20 = a0 = number of the field (from input) # -204 = ra for draw gamefield return # -208 = wins of Player 1 in current session # -212 = wins of Playe...
oeis/001/A001763.asm
neoneye/loda-programs
11
52289
; A001763: Number of dissections of a ball: (3n+3)!/(2n+3)!. ; Submitted by <NAME> ; 1,1,6,72,1320,32760,1028160,39070080,1744364160,89513424000,5191778592000,335885501952000,23982224839372800,1873278229119897600,158905670470170624000,14547557832075620352000,1429628183315795054592000,150110959248158480732160000,1677185...
src/atalan/cpu/Z80/hellospec.asm
BigEd/atalan
15
52290
<gh_stars>10-100 org 30000 tv_flag equ 5C3Ch start ; Directs rst 10h output to main screen. xor a ld (tv_flag),a call system__print_out db 7,"Number:" db 128+1 dw num db 1, "/" db 128+2 dw num2 db 2, " x" db 128 db 3, "EOL" db 0 ; ld a, 'Z' ; call print_char ret num db 123 num2 dw 10317 platf...
oeis/310/A310517.asm
neoneye/loda-programs
11
52291
; A310517: Coordination sequence Gal.6.206.6 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. ; Submitted by <NAME> ; 1,4,10,16,22,26,30,34,40,46,52,56,60,66,72,78,82,86,90,96,102,108,112,116,122,128,134,138,142,146,152,158,164,168,172,...
programs/oeis/269/A269132.asm
neoneye/loda
22
52292
<reponame>neoneye/loda ; A269132: a(n) = n + floor(n*(2*n+1)/5). ; 0,1,4,7,11,16,21,28,35,43,52,61,72,83,95,108,121,136,151,167,184,201,220,239,259,280,301,324,347,371,396,421,448,475,503,532,561,592,623,655,688,721,756,791,827,864,901,940,979,1019,1060,1101,1144,1187,1231 mov $1,$0 mul $0,2 add $0,6 mul $0,$1 div $0,...
Third_Year/Compilers/testing/tests-xpl-daily-201701121739/E-09-63-N-ok.asm
danielcorreia96/LEIC_Projects
0
52293
<gh_stars>0 segment .text align 4 global _main:function _main: align 4 xpl: push ebp mov ebp, esp sub esp, 8 push dword 0 lea eax, [ebp+-4] push eax pop ecx pop eax mov [ecx], eax push dword 0 push dword [esp] lea eax, [ebp+-8] push eax pop ecx pop eax mov [ecx], eax align 4 _L1: lea eax, [ebp+-8] pus...
oeis/031/A031385.asm
neoneye/loda-programs
11
52294
<gh_stars>10-100 ; A031385: a(n) = prime(4*n-3). ; Submitted by <NAME> ; 2,11,23,41,59,73,97,109,137,157,179,197,227,241,269,283,313,347,367,389,419,439,461,487,509,547,571,599,617,643,661,691,727,751,773,811,829,859,883,919,947,977,1009,1031,1051,1087,1103,1129,1171,1201,1229,1259,1289,1303,1327,1381,1427,1447,1471,14...
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0xca.log_21829_1741.asm
ljhsiun2/medusa
9
52295
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xb107, %rsi lea addresses_D_ht+0x7057, %rdi nop nop nop inc %rbp mov $111, %rcx rep movsw nop nop nop nop nop cmp %r14, %r14 lea addresses_UC_ht+0x37d7, %r...
libsrc/_DEVELOPMENT/drivers/tty/state/asm_tty_param_b_absorb.asm
jpoikela/z88dk
640
52296
SECTION code_driver SECTION code_driver_tty PUBLIC asm_tty_param_b_absorb EXTERN asm_tty_state_get_1 EXTERN asm_tty_state_param_store asm_tty_param_b_absorb: ; c = action code ; stack = & tty.action ; command code has one parameter and tty absorbs set 7,c ; indicate absorb ...
src/ianna.asm
RandomAmbersky/sword-of-ianna-zx
1
52297
<gh_stars>1-10 org 24576 CURRENT_SCREEN_MAP: EQU $FE00 CURRENT_SCREEN_HARDNESS_MAP: EQU CURRENT_SCREEN_MAP + 160 CURRENT_SCREEN_OBJECTS: EQU CURRENT_SCREEN_MAP + 200 mainmenu_p6: EQU $DC63 intro_in_p6: EQU $DC6C ending_in_p6: EQU $DC6F start: init_engine: call set_interrupt call MUSIC_Init IF IO_DRIVER=4 ; Load p...
examples/mpx/mpx.asm
Shuiliusheng/speculator
0
52298
<reponame>Shuiliusheng/speculator<filename>examples/mpx/mpx.asm i; Copyright 2019 IBM 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 License at ; ; http://www.apache.org/licenses/LICENS...
fact.asm
siraben/awk-vm
8
52299
;; Factorial get fact_loop jz done st c mul acc st acc ld c dec j fact_loop done ld acc put halt acc const 1 c const 0
basic-assembly-programs/MOV-INSTRUCTION-RULES.asm
ralphcajipe/assembly-8086
0
52300
<filename>basic-assembly-programs/MOV-INSTRUCTION-RULES.asm .MODEL SMALL ;DIRECTIVE that defines where the machine code to be placed in memory. ORG 100h ;MOV REG,REG ;MOV AX,CL ;error because of wrong parameter, operands do not match: 16 bit and 8 bit register ;MOV REG,IMM MOV AL,45 ;error b...
libsrc/_DEVELOPMENT/l/z80/integer/l_neg_bc.asm
ahjelm/z88dk
4
52301
<reponame>ahjelm/z88dk SECTION code_clib SECTION code_l PUBLIC l_neg_bc ; negate bc ; ; enter : bc = int ; ; exit : bc = -bc ; ; uses : af, bc, carry unaffected .l_neg_bc ld a,c cpl ld c,a ld a,b cpl ld b,a inc bc ret
09-ilinux-get-mm-info/boot/boot.asm
weimanzhou/ilinux
0
52302
<reponame>weimanzhou/ilinux<gh_stars>0 ;%define _BOOT_DEBUG_ ; �� Boot Sector ʱһ��������ע�͵�!�����д򿪺��� nasm Boot.asm -o Boot.com ����һ��.COM�ļ����ڵ��� %ifdef _BOOT_DEBUG_ org 0100h ; ����״̬, ���� .COM �ļ�, �ɵ��� %else org 07c00h ; Boot ״̬, Bios ���� Boot Sector ���ص� 0:7C00 ������ʼִ�� %endif ;====...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1585.asm
ljhsiun2/medusa
9
52303
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1ea5a, %rax nop nop nop dec %rbp mov $0x6162636465666768, %r9 movq %r9, %xmm5 movups %xmm5, (%rax) sub %rbx, %rbx lea addresses_UC_ht+0x1227a, %rsi lea addresses_UC_ht+0x...
chapter04/00-Add/Add.asm
TheVainBoy/nand2tetris
1
52304
<reponame>TheVainBoy/nand2tetris @i M=1 @sum M=0 (LOOP) @i D=M @100 D=D-A @END D;JGT @i D=M @sum M=D+M @i M=M+1 @LOOP 0;JMP (END) @END 0;JMP
src/sound/data/test.asm
ZoomTen/gbmp-v2
0
52305
Mus_Test: dw .ch1 dw .ch2 dw .ch3 .ch1 setEnvelope 6, 3 kickstartSound .ch1_ setFine -4 useInstrument 0 setDuty 2 setSweep $1b setLength (32 * 1) note C_, 6 note C_, 6 note C_, 6 note C_, 6 setLength (16 * 1) note C_, 6 note C_, 6 note C_, 6 note C_, 6 note C_, 6 note C_, 6 setLength (8 * 1) not...
src/arch/i686/gdt_asm.asm
KristianJerpetjon/IncludeOS
5
52307
<reponame>KristianJerpetjon/IncludeOS ; This file is a part of the IncludeOS unikernel - www.includeos.org ; ; Copyright 2015 Oslo and Akershus University College of Applied Sciences ; and <NAME> ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with th...
oeis/332/A332476.asm
neoneye/loda-programs
11
52310
<gh_stars>10-100 ; A332476: The number of unitary divisors of n in Gaussian integers. ; Submitted by <NAME> ; 1,2,2,2,4,4,2,2,2,8,2,4,4,4,8,2,4,4,2,8,4,4,2,4,4,8,2,4,4,16,2,2,4,8,8,4,4,4,8,8,4,8,2,4,8,4,2,4,2,8,8,8,4,4,8,4,4,8,2,16,4,4,4,2,16,8,2,8,4,16,2,4,4,8,8,4,4,16,2,8,2,8,2,8,16,4,8,4,4,16,8,4,4,4,8,4,4,4,4,8 ad...
mc-sema/validator/x86/tests/FSCALE.asm
randolphwong/mcsema
2
52311
<gh_stars>1-10 BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END lea edi, [esp-0xc] mov word [edi], 0x2 fild word [edi]; st1 = 2 fild word [edi]; st0 = 2 mov edi, 0 ;TEST_BEGIN_RECORDING FSCALE ; st0 = 8 ;TEST_END_RECORDING
Transynther/x86/_processed/NONE/_un_xt_/i7-7700_9_0x48_notsx.log_793_850.asm
ljhsiun2/medusa
9
52312
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x91a, %rsi nop nop nop xor %rcx, %rcx vmovups (%rsi), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $1, %xmm3, %rax nop nop nop nop add $4809, %rbx lea addresses_...
asm/alu_test_i4.asm
yoshiki9636/my-riscv-rv32i
1
52313
<reponame>yoshiki9636/my-riscv-rv32i ;* ;* My RISC-V RV32I CPU ;* Test Code ALU Instructions : No.4 ;* RV32I code ;* @auther <NAME> <<EMAIL>> ;* @copylight 2021 <NAME> ;* @license https://opensource.org/licenses/MIT MIT license ;* @version 0.1 ;* nop nop ; clear LED to black addi x1, x0, 7 ; LED value lui ...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_isunordered_callee.asm
meesokim/z88dk
0
52315
; int isunordered(double x, double y) __z88dk_callee SECTION code_fp_math48 PUBLIC cm48_sdcciy_isunordered_callee EXTERN am48_isunordered, cm48_sdcciyp_dcallee2 cm48_sdcciy_isunordered_callee: call cm48_sdcciyp_dcallee2 ; AC'= y ; AC = x jp am48_isunordered
programs/oeis/054/A054965.asm
karttu/loda
1
52316
<filename>programs/oeis/054/A054965.asm ; A054965: Beatty sequence for log_3(10), i.e., for 1/log_10(3); so largest exponent of 3 which produces an n-digit decimal number. ; 2,4,6,8,10,12,14,16,18,20,23,25,27,29,31,33,35,37,39,41,44,46,48,50,52,54,56,58,60,62,64,67,69,71,73,75,77,79,81,83,85,88,90,92,94,96,98,100,102,1...
tests/issue64/1.asm
NullMember/customasm
414
52317
<filename>tests/issue64/1.asm #subruledef REG { my_reg => 0xA } #ruledef { test {Addr: u16} => 0x1 @ Addr test {register: REG} + {Imm: u16} => register`4 @ Imm } test 1 ; = 0x10001 test 1 + 1 ; = 0x10002 test my_reg + 1 ; = 0xa0001
oeis/189/A189442.asm
neoneye/loda-programs
11
52318
; A189442: a(n) = A140230(n) / A016116(n-1). ; Submitted by <NAME> ; 1,3,1,-3,-5,-7,-1,7,9,11,1,-11,-13,-15,-1,15,17,19,1,-19,-21,-23,-1,23,25,27,1,-27,-29,-31,-1,31,33,35,1,-35,-37,-39,-1,39,41,43,1,-43,-45,-47,-1,47,49,51,1,-51,-53,-55,-1,55,57,59,1,-59,-61,-63,-1,63 mov $1,$0 seq $0,140230 ; Binomial transform of [...
oeis/121/A121206.asm
loda-lang/loda-programs
11
52319
; A121206: a(n) = (2n)! mod n(2n+1). ; Submitted by <NAME>(w3) ; 2,4,6,0,10,12,0,16,18,0,22,0,0,28,30,0,0,36,0,40,42,0,46,0,0,52,0,0,58,60,0,0,66,0,70,72,0,0,78,0,82,0,0,88,0,0,0,96,0,100,102,0,106,108,0,112,0,0,0,0,0,0,126,0,130,0,0,136,138,0,0,0,0,148,150,0,0,156,0,0,162 add $0,1 mov $1,$0 add $1,$0 mov $0,$1 seq $1...
libsrc/_DEVELOPMENT/target/rc2014/driver/ram/z80/asm_push_di.asm
dikdom/z88dk
1
52321
<filename>libsrc/_DEVELOPMENT/target/rc2014/driver/ram/z80/asm_push_di.asm ; =============================================================== ; <NAME> ; =============================================================== ; ; void asm_push_di(void) ; ; Save the current ei/di status on the stack and disable ints. ; ; =======...
oeis/081/A081701.asm
neoneye/loda-programs
11
52322
<filename>oeis/081/A081701.asm ; A081701: a(n) = prime(n) * (prime(n) - 1)^(prime(n) - 1). ; Submitted by <NAME> ; 2,12,1280,326592,110000000000,115909305827328,313594649253062377472,747581753430634213933056,7852841179377049820122874642432,961220170284347871014609119347573568569344 seq $0,40 ; The prime numbers. mov $...
text/maps/route_20.asm
adhi-thirumala/EvoYellow
16
52323
_Route20BattleText1:: text "The water is" line "shallow here." done _Route20EndBattleText1:: text "Splash!" prompt _Route20AfterBattleText1:: text "I wish I could" line "ride my #MON." done _Route20BattleText2:: text "SEAFOAM is a" line "quiet getaway!" done _Route20EndBattleText2:: text "Quit it!" pro...
logical/orCondition.asm
slowy07/learnAsm
1
52324
<gh_stars>1-10 section .text global _start _start: mov al, 5 mov bl, 3 or al, bl add al, byte '0' mov [result], al mov eax, 4 mov ebx, 1 mov ecx, result mov edx, 1 int 0x80 output: mov eax, 1 int 0x80 section .bss result resb 1
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_3643_1706.asm
ljhsiun2/medusa
9
52325
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18432, %r8 nop nop dec %rbp movb (%r8), %r11b nop nop nop inc %rax lea addresses_normal_ht+0x7b6a, %rsi lea addresses_WT_ht+0x1e282, %rdi clflush (%rsi) add $29195, %rdx ...
oeis/053/A053988.asm
neoneye/loda-programs
11
52326
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A053988: Denominators of successive convergents to tan(1/2) using continued fraction 1/(2-1/(6-1/(10-1/(14-1/(18-1/(22-1/(26-1/30-...))))))). ; Submitted by <NAME>(s4) ; 2,11,108,1501,26910,590519,15326584,459207001,15597711450,592253828099,24859063068708,11429246473324...
core/src/main/c/share/asmlib/strcountset64.asm
terasum/questdb
8,451
52328
;************************* strcountinset64.asm ********************************* ; Author: <NAME> ; Date created: 2011-07-20 ; Last modified: 2016-11-08 ; Description: ; size_t strCountInSet(const char * str, const char * set); ; ; Counts how many characters in str that belong to the set defined by ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1280.asm
ljhsiun2/medusa
9
52329
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x116a5, %rsi lea addresses_WC_ht+0x183a5, %rdi nop nop sub $49371, %r11 mov $38, %rcx rep movsw nop nop nop cmp %rsi, %rsi lea addresses_D_ht+0x9805, %rcx nop nop nop cmp $34039, %...
profiles/stats-collector/2020-01-20_09-53-29/cpu.asm
erichgess/wordladder
0
52330
<reponame>erichgess/wordladder<gh_stars>0 Total: 5.55s ROUTINE ======================== main.(*Graph).buildAdjList 630ms 1.82s (flat, cum) 32.79% of Total . . 10ca590: MOVQ GS:0x30, CX ;graph.go:102 . . 10ca599: LEAQ -0x60(SP), AX . ...
Emulator/assembler/count.asm
paulscottrobson/elf-replica
0
52331
cpu 1802 r0 = 0 r1 = 1 r2 = 2 r3 = 3 r4 = 4 r5 = 5 dis Delay: ldi 1 phi r4 DLoop: dec r4 ghi r4 bnz DLoop glo r4 bnz DLoop ldi 020h plo r3 inc r2 glo r2 str r3 sex r3 out 4 br Delay
programs/oeis/081/A081586.asm
karttu/loda
1
52333
<reponame>karttu/loda<filename>programs/oeis/081/A081586.asm<gh_stars>1-10 ; A081586: Fourth row of Pascal-(1,3,1) array A081578. ; 1,13,73,245,593,1181,2073,3333,5025,7213,9961,13333,17393,22205,27833,34341,41793,50253,59785,70453,82321,95453,109913,125765,143073,161901,182313,204373,228145,253693,281081,310373,341633...
source/stringutils.asm
paulscottrobson/BasicII
0
52335
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : stringutils.asm ; Purpose : String Utilities ; Date : 4th June 2019 ; Author : <EMAIL> ; ; *********************...
oeis/272/A272896.asm
neoneye/loda-programs
11
52336
<filename>oeis/272/A272896.asm<gh_stars>10-100 ; A272896: Difference between the number of odd and even digits in the decimal expansion of 2^n. ; Submitted by <NAME>(w1) ; 1,-1,-1,-1,0,0,-2,-1,-1,1,-2,-4,-2,0,-1,-1,1,2,-4,-4,-1,1,-1,-5,2,2,-4,1,-3,1,0,-4,-2,2,3,3,1,4,-2,2,5,3,-1,-5,-2,-2,-2,1,-1,3,-4,0,2,2,-1,-1,5,2,2,...
oeis/131/A131896.asm
neoneye/loda-programs
11
52337
; A131896: A000012 * A131843. ; Submitted by <NAME> ; 1,4,3,9,4,5,16,5,6,7,25,6,7,8,9,36,7,8,9,10,11,49,8,9,10,11,12,13,64,9,10,11,12,13,14,15,81,10,11,12,13,14,15,16,17,100,11,12,13,14,15,16,17,18,19 lpb $0 add $2,1 sub $0,$2 lpe add $0,$2 mov $1,$0 add $1,1 add $2,1 div $2,$1 add $2,1 pow $1,$2 mov $0,$1
Transynther/x86/_processed/NC/_ht_zr_/i9-9900K_12_0xca.log_21829_1307.asm
ljhsiun2/medusa
9
52338
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x63bd, %rbx nop nop nop nop nop cmp $41905, %r9 mov $0x6162636465666768, %rsi movq %rsi, %xmm1 and $0xffffffffffffffc0, %rbx movntdq %xmm1, (%rbx) add %rdx, %rdx lea addresses_...
spec/assert_a_equal_spec.asm
andrzejsliwa/64spec
53
52339
.import source "64spec.asm" .eval config_64spec("print_immediate_result", false) sfspec: :init_spec() :describe("assert_a_equal") :it("works for all values of A register");{ .var a = floor(random()*256) .print "a = " + a + " in assert_a_equal_works_for_all_values_of_a test" .for (var expected = 0;exp...
programs/oeis/127/A127904.asm
neoneye/loda
22
52341
<gh_stars>10-100 ; A127904: Smallest m such that A008687(m) = n. ; 0,1,3,5,9,17,33,65,129,257,513,1025,2049,4097,8193,16385,32769,65537,131073,262145,524289,1048577,2097153,4194305,8388609,16777217,33554433,67108865,134217729,268435457,536870913,1073741825,2147483649,4294967297,8589934593,17179869185,34359738369,687194...
STM_32/Morse_alphabet/build/clock_control.asm
SokolovVadim/ComputerScience
0
52342
<filename>STM_32/Morse_alphabet/build/clock_control.asm build/clock_control.elf: file format elf32-littlearm Sections: Idx Name Size VMA LMA File off Algn Flags 0 .isr_vector 000000c0 08000000 08000000 00010000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .text ...
programs/oeis/027/A027809.asm
neoneye/loda
22
52343
; A027809: a(n) = 143*(n+1)*C(n+4,13)/2. ; 715,11011,90090,520520,2382380,9189180,31039008,94225560,261891630,675745070,1636014380,3747960216,8180071900,17103786700,34420042800,66927861000,126159017985,231196390425,412918656150,720279159600,1229442013800,2056876004040,3377860886400,5452308061200,8660358006300,135509131...
micro_kernel/commands.asm
bursaiskender/BaseLevelComputerKernel
1
52344
STRING sysinfo_vendor_id, "Vendor ID: " STRING sysinfo_stepping, "Stepping: " STRING sysinfo_model, "Model: " STRING sysinfo_family, "Family: " STRING sysinfo_features, "Features: " STRING sysinfo_mmx, "mmx " STRING sysinfo_sse, "sse " STRING sysinfo_sse2, "sse2 " STRING sysinfo_sse3, "sse3 " STRING sysinfo_sse4_1, "ss...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1713.asm
ljhsiun2/medusa
9
52345
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xbb8c, %r15 nop nop nop nop nop sub %rbp, %rbp mov (%r15), %eax nop sub %rdx, %rdx lea addresses_normal_ht+0x1164c, %rax nop nop and %r12, %r12 movb (%rax), %r15b n...
oeis/115/A115017.asm
neoneye/loda-programs
11
52346
<reponame>neoneye/loda-programs ; A115017: a(n) = largest triangular number dividing n. ; Submitted by <NAME> ; 1,1,3,1,1,6,1,1,3,10,1,6,1,1,15,1,1,6,1,10,21,1,1,6,1,1,3,28,1,15,1,1,3,1,1,36,1,1,3,10,1,21,1,1,45,1,1,6,1,10,3,1,1,6,55,28,3,1,1,15,1,1,21,1,1,66,1,1,3,10,1,36,1,1,15,1,1,78,1,10,3,1,1,28,1,1,3,1,1,45,91,1,...
oeis/006/A006452.asm
neoneye/loda-programs
11
52347
; A006452: a(n) = 6*a(n-2) - a(n-4). ; Submitted by <NAME>(s2) ; 1,1,2,4,11,23,64,134,373,781,2174,4552,12671,26531,73852,154634,430441,901273,2508794,5253004,14622323,30616751,85225144,178447502,496728541,1040068261,2895146102,6061962064,16874148071,35331704123,98349742324,205928262674,573224305873,1200237871921,33409...
libsrc/_DEVELOPMENT/target/rc2014/device/8255/8255_write_block.asm
jpoikela/z88dk
0
52348
<gh_stars>0 INCLUDE "config_private.inc" SECTION code_driver PUBLIC ide_write_block ;Write a block of 512 bytes (one sector) from (HL++) to ;the drive 16 bit data register ide_write_block: push bc push de ld bc, __IO_PIO_IDE_CONFIG ld d, __IO_PIO_IDE_WR out (c), d ;config 82...
bvs/BvsScrLock.asm
prokushev/FamilyAPI
1
52350
<gh_stars>1-10 ;/*! ; @file ; ; @brief BvsScrLock DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author <NAME> (<EMAIL>) ; ;...
Microprocessor/scroll.asm
Nmane1612/Nihar-Mane
3
52351
; this example shows how to use the bios scrolling functions. ; this program prints some test strings, ; then it scrolls the window at (1,1)-(8,5) down, ; and scrolls the window at (1,1)-(8,5) up, back to where it was. ; two lines are scrolled away and window (1,4)-(8,5) becomes blank. org 100h ; set ...
quake2/source/ref_soft/r_edgea.asm
WarlockD/quake2-stm32
3
52352
.386P .model FLAT ; ; r_edgea.s ; x86 assembly-language edge-processing code. ; include qasm.inc if id386 _DATA SEGMENT Ltemp dd 0 float_1_div_0100000h dd 035800000h ; 1.0/(float)0x100000 float_point_999 dd 0.999 float_1_point_001 dd 1.001 _DATA ENDS _TEXT SEGMENT ;------------------------------------------...
ge_double.asm
dsprenkels/curve13318
3
52353
; Doubling of group elements ; ; Author: <NAME> <<EMAIL>> %include "ge_double.mac" global crypto_scalarmult_curve13318_ref12_ge_double section .text crypto_scalarmult_curve13318_ref12_ge_double: %xdefine stack_size 6*384 + 192 + 768 ; build stack frame push rbp mov rbp, rsp and rsp, -32 sub ...
oeis/163/A163615.asm
neoneye/loda-programs
11
52354
; A163615: a(n) = ((1 + 3*sqrt(2))*(4 + sqrt(2))^n + (1 - 3*sqrt(2))*(4 - sqrt(2))^n)/2. ; Submitted by <NAME> ; 1,10,66,388,2180,12008,65544,356240,1932304,10471072,56716320,307135552,1663055936,9004549760,48753614976,263965223168,1429171175680,7737856281088,41894453789184,226825642378240,1228082785977344,664910329452...
smsq/home/version.asm
olifink/smsqe
0
52355
; HOME thing versions V1.02 (c) <NAME>, <NAME> 2005 section version xdef hom_vers ; 1.00 2005-10-23 initial release version (wl) ; 1.01 2005-11-01 added OVER extension, made into smsqe module, split init code for Qdos ; 1.02 2005-11-12 uses better gut_home_asm, better basic keywords (mk) ; bugfixes (mk + wl) ...
oeis/055/A055479.asm
neoneye/loda-programs
11
52356
<filename>oeis/055/A055479.asm ; A055479: Powers of ten written in base 9. ; Submitted by <NAME>(s4) ; 1,11,121,1331,14641,162151,1783661,20731371,228145181,2520607101,27726678111,316104570221,3477151372431,38358665206741,433056427275251,4763631711137761,53511048822526471,588621548147802281,6585837140636825201,73555318...
src/coreclr/nativeaot/Runtime/arm64/GetThread.asm
pyracanda/runtime
9,402
52357
<gh_stars>1000+ ;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. #include "AsmMacros.h" TEXTAREA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; RhpGetT...
Transynther/x86/_processed/US/_st_4k_/i7-8650U_0xd2_notsx.log_2041_202.asm
ljhsiun2/medusa
9
52359
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1578, %rsi lea addresses_WC_ht+0x36f8, %rdi sub $31276, %rbx mov $75, %rcx rep movsb nop nop nop nop nop xor %r10, %r10 lea addresses_WC_ht+0x9bd1, %rsi ...
bootldr.asm
ayushashi11/x86_bootloader
0
52360
<filename>bootldr.asm<gh_stars>0 ; By <NAME> BITS 16 start: mov ax, 07C0h ; Set 'ax' equal to the location of this bootloader divided by 16 add ax, 20h ; Skip over the size of the bootloader divided by 16 mov ss, ax ; Set 'ss' to this location (the beginning of our stack region) mov sp, 4096 ; Set 's...
programs/oeis/332/A332178.asm
neoneye/loda
22
52362
<filename>programs/oeis/332/A332178.asm<gh_stars>10-100 ; A332178: a(n) = 7*(10^(2n+1)-1)/9 + 10^n. ; 8,787,77877,7778777,777787777,77777877777,7777778777777,777777787777777,77777777877777777,7777777778777777777,777777777787777777777,77777777777877777777777,7777777777778777777777777,777777777777787777777777777,77777777...
oeis/081/A081011.asm
neoneye/loda-programs
11
52363
; A081011: a(n) = Fibonacci(4n+3) + 2, or Fibonacci(2n+3)*Lucas(2n). ; Submitted by <NAME> ; 4,15,91,612,4183,28659,196420,1346271,9227467,63245988,433494439,2971215075,20365011076,139583862447,956722026043,6557470319844,44945570212855,308061521170131,2111485077978052,14472334024676223,99194853094755499,679891637638612...
src/test/ref/examples/c64/3d/3d.asm
jbrandwood/kickc
2
52365
// 3D Rotation using a Rotation Matrix // Based on: // - C= Hacking Magazine Issue 8. http://www.ffd2.com/fridge/chacking/c=hacking8.txt // - Codebase64 Article http://codebase64.org/doku.php?id=base:3d_rotation /// @file /// Commodore 64 Registers and Constants /// @file /// The MOS 6526 Complex Interface Adapter (...
libsrc/stdio/pc6001/vpeek_MODE1.asm
jpoikela/z88dk
640
52366
SECTION code_clib PUBLIC vpeek_MODE1 EXTERN vpeek_screendollar INCLUDE "target/pc6001/def/pc6001.def" ;Entry: c = x, ; b = y ;Exit: nc = success ; a = character, ; c = failure vpeek_MODE1: ld hl,-8 add hl,sp ld sp,hl push h...
libsrc/graphics/uncircle_callee.asm
rjcorrig/z88dk
0
52367
<reponame>rjcorrig/z88dk ; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 30/9/98 ; ; ; $Id: uncircle_callee.asm $ ; ; Usage: uncircle(int x, int y, int radius, int skip); SECTION code_graphics PUBLIC unc...
libsrc/stdlib/atoi.asm
RC2014Z80/z88dk
8
52368
;/* ; * int atoi (char *) ; * ; * Convert ascii string to integer... ; * ; * equivalent to stroul(ptr,NULL,10) ; * ; * But this should be shorter... ; * ; * Almost k&r but not quite.. ; * ; * djm 5/1/2000 ; * ; * ----- ; * $Id: atoi.asm,v 1.10 2016-03-06 22:03:07 dom Exp $ ; * ; */ SECTION code_clib PUBLIC atoi PUBLIC...
bootloader/loader/floppy.asm
ETroll/TrollOS
10
52369
<gh_stars>1-10 ; Simple 16 bit BIOS based floppy support implementation ; %ifndef __floppy_asm %define __floppy_asm bits 16 bpbBytesPerSector dw 512 bpbRootEntries dw 224 bpbSectorsPerTrack dw 18 bpbSectorsPerCluster db 1 bpbNumberOfFATs db 2 bpbSectorsPerFAT dw 9 bpbReservedSecto...
vm_check/arithmetic/0_multiplication.asm
skiff-vm/skiff
0
52370
.init main .debug 3 .float two 2.0 .float three 3.3 .float result 6.6 .code integer_based: mov i0 @2 ; LHS mov i1 @5 ; RHS mov i2 @10 ; Expected mul i0 i0 i1 ; Perform multiplication aseq i0 i2 ; Ensure things are equal ret float_based: mov i1 @...
programs/oeis/283/A283709.asm
neoneye/loda
22
52372
<reponame>neoneye/loda ; A283709: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 721", based on the 5-celled von Neumann neighborhood. ; 1,0,7,13,30,62,126,254,510,1022,2046,4094,8190,16382,32766,65534,131070...
scripts/SaffronGym.asm
opiter09/ASM-Machina
1
52373
SaffronGym_Script: ld hl, wCurrentMapScriptFlags bit 6, [hl] res 6, [hl] call nz, .LoadNames call EnableAutoTextBoxDrawing ld hl, SaffronGymTrainerHeaders ld de, SaffronGym_ScriptPointers ld a, [wSaffronGymCurScript] call ExecuteCurMapScriptInTable ld [wSaffronGymCurScript], a ret .LoadNames: ld hl, .CityN...
oeis/022/A022399.asm
neoneye/loda-programs
11
52374
; A022399: Fibonacci sequence beginning 1, 29. ; Submitted by <NAME>(s4) ; 1,29,30,59,89,148,237,385,622,1007,1629,2636,4265,6901,11166,18067,29233,47300,76533,123833,200366,324199,524565,848764,1373329,2222093,3595422,5817515,9412937,15230452,24643389,39873841,64517230,104391071,168908301,273299372,442207673,715507045...
programs/oeis/325/A325103.asm
neoneye/loda
22
52376
; A325103: Number of increasing pairs of positive integers up to n with no binary carries. ; 0,0,1,1,4,5,6,6,13,16,19,20,23,24,25,25,40,47,54,57,64,67,70,71,78,81,84,85,88,89,90,90,121,136,151,158,173,180,187,190,205,212,219,222,229,232,235,236,251,258,265,268,275,278,281,282,289,292,295,296 mov $2,$0 mov $3,$0 lpb $2...
base/mvdm/wow16/user/winstack.asm
npocmaka/Windows-Server-2003
17
52377
;++ ; ; WOW v1.0 ; ; Copyright (c) 1991, Microsoft Corporation ; ; WINSTACK.ASM ; Win16 stack munging routines ; ; History: ; ; Created 18-Jun-1991 by <NAME> (jeffpar) ; Copied from WIN31 and edited (as little as possible) for WOW16 ;-- ;****************************************************...
test_c/asm/crt0.asm
kamaboko123/kanade32
1
52378
<gh_stars>1-10 .extern mips_main .global start start: nop main: addi $sp, $zero, 0x400 nop jal mips_main add $v1, $zero, $v0 nop j end end: nop j end nop
kawakudari.asm
taisukef/kawakudari-nes
3
52379
.inesprg 1 ; program bank cnt .ineschr 1 ; chr bank cnt .inesmir 1 ; mirror 0:horizontal 1:vertical .inesmap 0 ; mapper no VRAM_DATA equ $2007 ; vram data register VRAM_AD equ $2006 ; vram address register CTRL1 equ $4016 ; controller 1 SPRITE equ $0300 ; on RAM for OAM SPRITE_Y equ $0300...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_831.asm
ljhsiun2/medusa
9
52380
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_831.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rax push %rbp push %rbx lea addresses_D_ht+0x10dca, %rax nop inc %r9 mov (%rax), %r13 nop nop sub $35822, %r9 lea addresses_WT_ht+0...