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/298/A298125.asm
neoneye/loda
22
205912
; A298125: The hex numbers (A003215) together with 3. ; 1,3,7,19,37,61,91,127,169,217,271,331,397,469,547,631,721,817,919,1027,1141,1261,1387,1519,1657,1801,1951,2107,2269,2437,2611,2791,2977,3169,3367,3571,3781,3997,4219,4447,4681,4921,5167,5419,5677,5941,6211,6487,6769,7057,7351,7651,7957,8269,8587,8911,9241,9577,991...
source/MicroBenchX.Ipc/IpcTests/mul_avx512_int.asm
clayne/MicroBenchX
15
205913
[BITS 64] %include "parameters.inc" extern exit global mul_avx512_int section .text mul_avx512_int: push rbp mov rax, ITERATIONS_mul_avx512i lea rbx, [rel avx_iv] vmovdqa32 zmm0, [rbx] vmovdqa32 zmm1, [rbx] vmovdqa32 zmm2, [rbx] vmovdqa32 zmm3, [rbx] vmovdqa32 zmm4, [rbx] vmovdqa32 zmm5, [rbx] vmov...
oeis/155/A155144.asm
neoneye/loda-programs
11
205914
; A155144: a(n) = 9*a(n-1) + 9*a(n-2), n>2; a(0)=1, a(1)=8, a(2)=80. ; Submitted by <NAME> ; 1,8,80,792,7848,77760,770472,7634088,75641040,749476152,7426054728,73579777920,729052493832,7223690445768,71574686456400,709185392119512,7026840707183208,69624234893724480,689859680408169192,6835355237717043048,6772693426312691...
MySource/duniaproject.asm
AbdulrahmanAbumdas/emu8086
287
205915
.model small .stack 100h .data original db "elmo.txt",0 result db "result.txt",0 handler dw ? original_text db 250 dup('$') result_text db 250 dup('$') lowerMSG db 0dh,0ah,'PROGRAM FOR CONVERT UPPER & LOWER CASE ..$' upperMSG db 0dh,0ah,'Do you want to LOWER(1) or UPPER(2) CASE ? : $' ;lowerMSG db 10,13,' to conve...
oeis/041/A041114.asm
neoneye/loda-programs
11
205916
<filename>oeis/041/A041114.asm ; A041114: Numerators of continued fraction convergents to sqrt(66). ; Submitted by <NAME> ; 8,65,1048,8449,136232,1098305,17709112,142771201,2302048328,18559157825,299248573528,2412547746049,38900012510312,313612647828545,5056702377767032,40767231669964801,657332409097203848,529942650444...
Console_Cvars/CSS_Console_Cvars.asm
attilathedud/CSS_Hacks
2
205917
<filename>Console_Cvars/CSS_Console_Cvars.asm ; A POC demonstrating adding a convar to the CSS console and calling CSS console commands. ; Adding a cvar requires 2 steps: 1. Registering the cvar with the console, and 2. Adding the cvar to ; the internal linked-list of all cvars. ; ; Originally written 2010/06/02...
Code/redux.asm
InvisibleUp/SonicReduxSHC2017
1
205918
.intel_syntax noprefix .text #; Don't clear BoostBar RAM during Challenge races .org 0x41E040 .org 0x41E04D, 0x90 .org 0x41E354 .org 0x41E36E, 0x90 #; No idea what this is, but it overwrites the CPU players model tint .org 0x421100 ret #; Don't animate jets. I don't feel like finding which polygon goes to what. .or...
MushCore/kernel/interruptions.asm
MilesArtemius/OS
3
205919
<reponame>MilesArtemius/OS [bits 32] global idt_flush extern isr_handler extern irq_handler idt_flush: push ebp mov ebp, esp mov eax, [ebp+8] ; Get the pointer to the IDT, passed as a parameter. lidt [eax] ; Load the IDT pointer. sti mov esp, ebp pop ebp ret %macro ISR_NO_E...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_769.asm
ljhsiun2/medusa
9
205920
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x7078, %rbx clflush (%rbx) nop and %r9, %r9 mov (%rbx), %r10 nop nop nop nop and %r11, %r11 lea addresses_normal_ht+0x2cf4, %r10 n...
libsrc/adt/linkedlist/adt_ListSetCurr_callee.asm
andydansby/z88dk-mk2
1
205921
; void __CALLEE__ adt_ListSetCurr_callee(struct adt_List *list, struct adt_ListNode *n) ; 11.2006 aralbrec XLIB adt_ListSetCurr_callee XDEF ASMDISP_ADT_LISTSETCURR_CALLEE .adt_ListSetCurr_callee pop hl pop de ex (sp),hl .asmentry ; enter: hl = struct adt_List* ; de = struct adt_ListNode*, if MSB...
Codes/14 Unique Element.asm
Tanuj9043/assembly-language
0
205922
section .text global _start ;must be declared for linker (ld) _start: mov eax,25 ;number bytes to be summed mov ebx,0 ;EBX will store the sum mov ecx, x ;ECX will point to the current element to be summed top: xor ebx, [ecx] add ecx,1 ;move pointer to next element dec eax...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_227_40.asm
ljhsiun2/medusa
9
205923
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e3f0, %rsi lea addresses_normal_ht+0x18af0, %rdi nop and %rbx, %rbx mov $21, %rcx rep movsw nop nop nop nop nop inc %r12 lea addresses_normal_ht+0xc9b0, %r10 nop xor %r14, %r14 mov (%...
oeis/010/A010494.asm
neoneye/loda-programs
11
205924
; A010494: Decimal expansion of square root of 40. ; 6,3,2,4,5,5,5,3,2,0,3,3,6,7,5,8,6,6,3,9,9,7,7,8,7,0,8,8,8,6,5,4,3,7,0,6,7,4,3,9,1,1,0,2,7,8,6,5,0,4,3,3,6,5,3,7,1,5,0,0,9,7,0,5,5,8,5,1,8,8,8,7,7,2,7,8,4,7,6,4,4,2,6,8,8,4,9,6,2,1,6,7,5,8,6,0,0,5,9,0 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov $4,$0 add $4,2 mul $4,2 m...
v2.0/source/msdos/io.asm
neozeed/MS-DOS
7
205925
CODE SEGMENT BYTE PUBLIC 'CODE' ; ; (Reconstructed) IO.ASM for MSDOS ; ASSUME SS:DOSGROUP,CS:DOSGROUP public $STD_AUX_OUTPUT public $STD_PRINTER_OUTPUT public Tab extrn ESCCHAR:BYTE extrn PFLAG:BYTE extrn CARPOS:BYTE extrn STARTPOS:BYTE ...
iod/con2/q40/disp_size.asm
olifink/smsqe
0
205926
; Q40 set display size  2000 <NAME> section con xdef cn_disp_size xref cn_disp_clear include 'dev8_keys_q40' include 'dev8_keys_con' include 'dev8_mac_assert' ;+++ ; Set size and colour depth according to D6 and D7 ; ; d6 c p size requested (Q40 colour mode register value) ; d7 c p (word) colour d...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_467.asm
ljhsiun2/medusa
9
205927
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1cd79, %r11 nop nop inc %rsi mov (%r11), %cx nop nop nop nop and %r15, %r15 lea addresses_A_ht+0x9223, %r14 clflush (%r14) nop lfence movups (%r14), %xmm7 vpextrq $1, %xmm7, ...
programs/oeis/176/A176738.asm
neoneye/loda
22
205929
<filename>programs/oeis/176/A176738.asm<gh_stars>10-100 ; A176738: Expansion of 1 / ((1+x)*(1-x-4*x^2)). (5,4)-Padovan sequence. ; 1,0,5,4,25,40,141,300,865,2064,5525,13780,35881,91000,234525,598524,1536625,3930720,10077221,25800100,66108985,169309384,433745325,1110982860,2845964161,7289895600,18673752245,47833334644,1...
programs/oeis/295/A295822.asm
neoneye/loda
22
205930
<reponame>neoneye/loda ; A295822: Number of coprime pairs (a,b) with -n <= a <= n, -3 <= b <= 3. ; 2,16,24,32,40,52,56,68,76,84,92,104,108,120,128,136,144,156,160,172,180,188,196,208,212,224,232,240,248,260,264,276,284,292,300,312,316,328,336,344,352,364,368,380,388,396,404,416,420,432,440,448,456,468 seq $0,49637 ; C...
src/intel/tools/tests/gen6/rndd.asm
SoftReaper/Mesa-Renoir-deb
0
205931
<gh_stars>0 rndd(8) g18<1>.xF g1<0>.xF { align16 1Q }; rndd(8) g3<1>F g5<8,8,1>F { align1 1Q }; rndd(16) g8<1>F g6<8,8,1>F { align1 1H }; rndd(8) g6<1>.zF g22<4>.xF { alig...
oeis/126/A126785.asm
neoneye/loda-programs
11
205932
<filename>oeis/126/A126785.asm ; A126785: Numbers k such that 10*k + 11 is prime. ; Submitted by <NAME> ; 0,2,3,5,6,9,12,14,17,18,20,23,24,26,27,30,32,39,41,42,45,48,51,53,56,59,62,63,65,68,69,74,75,80,81,87,90,93,96,98,101,102,104,105,108,114,116,117,119,122,128,129,131,135,137,144,146,147,150,152,156,159,161,171,173,...
queue-fill.asm
DW0RKiN/Flood-fill
3
205934
; Queue flood fill algorithm for ZX Spectrum ; The main requirement is the smallest amount of memory used. ; Program size plus size of used the stack. ; ; http://www.retroprogramming.com/2015/07/z80-size-programming-challenge-5.html ; ; Compile: ; pasmo -d queue-fill.asm queue-fill.bin > test.asm; ls queue-fill.bin -l ...
src/features/keyboard.asm
FranchuFranchu/fran-os
1
205935
BITS 32 PS2_KEYBOARD_RESEND equ 0xFE PS2_KEYBOARD_ACK equ 0xFA PS2_KEYBOARD_PREFERRED_SCANCODE_SET equ 1 KEYBOARD_FLAG_LSHIFT equ 10b KEYBOARD_FLAG_LCTRL equ 1b KEYBOARD_TOGGLE_CAPSLOCK equ 1b %include "features/scancodes.inc" kernel_keyboard_driver_state db 0 ; 0 = must send scancode set command ; 1 = must sen...
oeis/013/A013989.asm
neoneye/loda-programs
11
205937
<filename>oeis/013/A013989.asm ; A013989: a(n) = (n+1)*(a(n-1)/n + a(n-2)), with a(0)=1, a(1)=2. ; Submitted by <NAME> ; 1,2,6,16,50,156,532,1856,6876,26200,104456,428352,1821976,7959056,35857200,165592576,785514512,3812387616,18948962656,96194028800,498931946016,2638959243712,14234346694976,78188253182976,437304764440...
asm_trial/sample2.asm
wf001/xbrain
2
205938
bits 64 global _start _start: push 0x0 mov rsi, rsp pop r13 mov rax, r13 mov r12, 0x1 mov rbx, 0x0 cmp r13, rbx jz zero jmp loop zero: add r13, 0x30 push r13 inc r14 jmp hex loop: cmp rax, rbx jz hex and r13, 0xf cmp r13, 0xa jae alfa j...
kernel/ide.asm
pixie-grasper/operating-system
1
205939
%ifndef IDE_ASM_ %define IDE_ASM_ ide: ; in: a = table id ; in/out: d = int:64 next entry number .init: pushs a, b, c, si, di, bp mov esi, eax mov rdi, rdx ; first, detect device mov ecx, 0x01f0 call .init.1 mov ecx, 0x0170 call .init.1 ; then, enable interrupts mov al, 0x00 mov dx, 0x03f6 ...
Microprocessor_Interfacing_CSE_2006/Arrays_Lab_3/fibonacci.asm
aadhityasw/VIT-Labs
2
205941
<reponame>aadhityasw/VIT-Labs<filename>Microprocessor_Interfacing_CSE_2006/Arrays_Lab_3/fibonacci.asm CODE SEGMENT ASSUME cs:code START: mov al,00H; mov cx,08h; mov si,10H; mov [si],al; add al,01h; add si,01h; mov [si],al; sub cx,02h; FIBO: mov al,[si-1]; add al,[si];...
oeis/084/A084351.asm
neoneye/loda-programs
11
205943
; A084351: Length of period of sequences r(k,n)=floor(sin(1)*k!)-n*floor(sin(1)*k!/n) when n is fixed. ; Submitted by <NAME>(s4) ; 1,4,12,4,20,12,28,8,36,20,44,12,52,28,60,16,68,36,76,20,84,44,92,24,100,52,108,28,116,60,124,32,132,68,140,36,148,76,156,40,164,84,172,44,180,92,188,48,196,100,204,52,212,108,220,56,228,116...
programs/oeis/108/A108576.asm
neoneye/loda
22
205944
<filename>programs/oeis/108/A108576.asm ; A108576: Number of 3 X 3 magic squares (with distinct positive entries) having all entries < n. ; 0,0,0,0,0,0,0,0,0,8,16,40,64,96,128,184,240,320,400,504,608,744,880,1056,1232,1440,1648,1904,2160,2464,2768,3120,3472,3880,4288,4760,5232,5760,6288,6888,7488,8160,8832,9576,10320,1...
WS3_ASM/Task_5.asm
OlegMalchenko/ACOS_WS_3
0
205945
<reponame>OlegMalchenko/ACOS_WS_3 # # performing logical and arithmetical bit shifts # .data please: .string "Please, input integer x: " arleft: .string "\nResults: (assuming integers, printing binaries)\n1.x Arithm.<< 3 <=> Log.<< 3 : " arright: .string "\n2.x Arithm.>> 3 : " logright: .string "\n3.x Log.>> 3 : "...
libsrc/_DEVELOPMENT/adt/p_stack/c/sccz80/p_stack_top.asm
jpoikela/z88dk
640
205946
; void *p_stack_top(p_stack_t *s) SECTION code_clib SECTION code_adt_p_stack PUBLIC p_stack_top EXTERN asm_p_stack_top defc p_stack_top = asm_p_stack_top ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_stack_top defc _p_stack_top = p_stack_top ENDIF
primatives/coffeexor.asm
WWelna/Pandora-OOC
0
205947
<gh_stars>0 ; Coffee ; ; Copyright (C) 2012, <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: ; ; Redistributions of source code must retain the above copyright ; notice, this list...
nrom-hello-world/src/imginit.asm
Gumball2415/nes-scribbles
0
205948
<reponame>Gumball2415/nes-scribbles<gh_stars>0 .include "defines.inc" .include "global.inc" .segment "BANK0" ; these subroutines have to do with palettes and nametables ; temp_16_1: address of nametable/palette data ; temp_8_0: which nametable address to use ; loads a palette at where temp_16_1 points .proc load_pale...
libsrc/debug/z80genuine.asm
jpoikela/z88dk
640
205950
<reponame>jpoikela/z88dk<gh_stars>100-1000 ; * ; * General Z80 debugging functions ; * ; * Stefano 25/6/2009 ; * ; * TRUE if Z80 undocumented flags behave like the real Z80. ; * extern int __LIB__ z80undoc(void); ; * ; * $Id: z80genuine.asm,v 1.3 2016-03-06 21:45:13 dom Exp $ ; * SECTION code_clib PUBLIC z80genuine...
c/a6nt-jump.asm
Toni-zgz/ChezScheme
56
205952
<reponame>Toni-zgz/ChezScheme ; We do not use Microsoft's implementation because its longjmp unwinds ; the stack to support C++ destructors, and the stack frames generated ; by Chez Scheme do not have the required information for this to work ; properly. ; See https://docs.microsoft.com/en-us/cpp/build/x64-calling-conv...
programs/oeis/202/A202606.asm
neoneye/loda
22
205953
<filename>programs/oeis/202/A202606.asm<gh_stars>10-100 ; A202606: Ceiling(((10^n - 1)^2/9 + 10^n)/18). ; 1,2,67,6217,617717,61732717,6172882717,617284382717,61728399382717,6172839549382717,617283951049382717,61728395066049382717,6172839506216049382717,617283950617716049382717,61728395061732716049382717,617283950617288...
programs/oeis/132/A132327.asm
karttu/loda
0
205954
<filename>programs/oeis/132/A132327.asm ; A132327: Product{k>=0, 1+floor(n/3^k)}. ; 1,2,3,8,10,12,21,24,27,80,88,96,130,140,150,192,204,216,399,420,441,528,552,576,675,702,729,2240,2320,2400,2728,2816,2904,3264,3360,3456,4810,4940,5070,5600,5740,5880,6450,6600,6750,8832,9024,9216,9996,10200 mov $2,$0 mov $0,1 lpb $2,1...
exercises/practice/difference-of-squares/difference_of_squares.asm
jonboland/x86-64-assembly
21
205955
<filename>exercises/practice/difference-of-squares/difference_of_squares.asm section .text global square_of_sum square_of_sum: ; Provide your implementation here ret global sum_of_squares sum_of_squares: ; Provide your implementation here ret global difference_of_squares difference_of_squares: ; P...
test/sample_ir2.asm
open-goal/opengoal-vscode
2
205956
<reponame>open-goal/opengoal-vscode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; .function points-in-air? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;stack: total 0x00, fp? 0 ra? 0 ep? 1 ;; v1-0: int a0-0: vector a1-0: vector ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_532_1204.asm
ljhsiun2/medusa
9
205957
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_532_1204.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6bd3, %r10 nop dec %rbp mov (%r10), %r11w nop add %r13, %r13 lea addr...
programs/oeis/159/A159477.asm
neoneye/loda
22
205958
<filename>programs/oeis/159/A159477.asm ; A159477: a(n) = smallest prime >= n, if 1 is counted as a prime. ; 1,2,3,5,5,7,7,11,11,11,11,13,13,17,17,17,17,19,19,23,23,23,23,29,29,29,29,29,29,31,31,37,37,37,37,37,37,41,41,41,41,43,43,47,47,47,47,53,53,53,53,53,53,59,59,59,59,59,59,61,61,67,67,67,67,67,67,71,71,71,71,73,73...
src/file/header.asm
fourstix/Elfos-utils
3
205959
<reponame>fourstix/Elfos-utils ; ------------------------------------------------------------------- ; Show the execution header information for a file ; ; Copyright 2021 by <NAME> ; ------------------------------------------------------------------- ; Based on software written by <NAME> ; Thanks to the author for maki...
pkgs/tools/yasm/src/modules/arch/x86/tests/segmov.asm
manggoguy/parsec-modified
2,151
205960
mov [0], ds mov word [0], ds mov ax, ds mov eax, ds mov ds, ax mov ds, eax mov ds, [0] mov ds, word [0] mov word ds, [0]
oeis/004/A004094.asm
neoneye/loda-programs
11
205961
<gh_stars>10-100 ; A004094: Powers of 2 written backwards. ; Submitted by <NAME>(s4) ; 1,2,4,8,61,23,46,821,652,215,4201,8402,6904,2918,48361,86723,63556,270131,441262,882425,6758401,2517902,4034914,8068838,61277761,23445533,46880176,827712431,654534862,219078635,4281473701,8463847412,6927694924,2954399858,48196897171,...
libsrc/_DEVELOPMENT/stdlib/z80/random/asm_random_uniform_cmwc_8.asm
meesokim/z88dk
0
205963
<reponame>meesokim/z88dk ; ============================================================= ; Jun 2012, May 2015 <NAME> ; ============================================================= ; modified by aralbrec ; * removed self-modifying code ; * seed passed in as parameter ; =================================================...
programs/oeis/049/A049773.asm
neoneye/loda
22
205964
; A049773: Triangular array T read by rows: if row n is r(1),...,r(m), then row n+1 is 2r(1)-1,...,2r(m)-1,2r(1),...,2r(m). ; 1,1,2,1,3,2,4,1,5,3,7,2,6,4,8,1,9,5,13,3,11,7,15,2,10,6,14,4,12,8,16,1,17,9,25,5,21,13,29,3,19,11,27,7,23,15,31,2,18,10,26,6,22,14,30,4,20,12,28,8,24,16,32,1,33,17,49,9,41,25,57,5,37,21,53,13,45...
src/x86/film_grain_ssse3.asm
cyanreg/rav1e
1
205965
<filename>src/x86/film_grain_ssse3.asm ; Copyright © 2019, VideoLAN and dav1d authors ; Copyright © 2019, Two Orioles, LLC ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of...
Menus/AttractMode.asm
TinfoilAsteroid/EliteNext
9
205966
<gh_stars>1-10 AttractDuration EQU $00F0 AttractCounterStart EQU $80 AttractTimer: DW AttractDuration AttractCounter: DB AttractCounterStart Attract_boiler_text DW $083D ATTR_LoadCommander DB "Load Commander (Y/N)",0 AttractMode: MMUSelectLayer1...
tests/testAssembler/testCases/prog1.asm
1sand0s/Lc3B-Assembler
0
205967
.ORIG #4096 ;A LEA R1, Y ;LDW R1, R1, #0 ;LDW R1, R1, #0 ADD R1, R1, #0 ;ADD R1, R1, x-10 ;x-10 is the negative of x10 ;BRN A ;HALT ;Y .FILL #263 ;.FILL #13 ;.FILL #6 .END
src/exit.asm
beckadamtheinventor/BOSshell5
2
205968
; application exit handling routines exit_full: call flash_code_copy exit_cleanup.run relocate exit_cleanup, ti.mpLcdCrsrImage + 500 call gfx_End call libload_unload call ti.ClrParserHook call ti.ClrAppChangeHook call ti.ClrScrn call ti.HomeUp res ti.useTokensInString,(iy + ti.clockFlags) res ti.onInterrupt...
libsrc/zx81/tape/musamy_save.asm
meesokim/z88dk
0
205969
<gh_stars>0 ; ; ZX81 Tape save routine ; ; ; Musamy Save ; ; Internal routine for Musamy style turbo tape ; Save data ! ...set custom speed in (SAVE_SPEED+1) ; ; ; $Id: musamy_save.asm,v 1.4 2015/01/19 01:33:26 pauloscustodio Exp $ ; ; ; speed extimations: ; 3 = 4800 bps ; 9 = 3600 bps ; 20 = 240...
src/test/ref/const-word-pointer.asm
jbrandwood/kickc
2
205970
<gh_stars>1-10 // Test a constant word pointers (pointing to a word placed on zeropage). // The result when running is "CML!" on the screen. // Commodore 64 PRG executable file .file [name="const-word-pointer.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [s...
MdePkg/Library/BaseLib/AArch64/DisableInterrupts.asm
KrzysztofKoch1/edk2
2,757
205972
;------------------------------------------------------------------------------ ; ; DisableInterrupts() for AArch64 ; ; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> ; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> ; Portions copyright (c) 2011 - 2013, ARM Ltd. Al...
programs/oeis/166/A166629.asm
neoneye/loda
22
205973
<reponame>neoneye/loda ; A166629: Totally multiplicative sequence with a(p) = 8p for prime p. ; 1,16,24,256,40,384,56,4096,576,640,88,6144,104,896,960,65536,136,9216,152,10240,1344,1408,184,98304,1600,1664,13824,14336,232,15360,248,1048576,2112,2176,2240,147456,296,2432,2496,163840,328,21504,344,22528,23040,2944,376,15...
programs/oeis/065/A065897.asm
neoneye/loda
22
205974
<reponame>neoneye/loda ; A065897: The a(n)-th composite number is twice the n-th prime. ; 1,2,5,7,13,16,22,25,31,41,43,52,59,62,69,78,87,91,101,107,111,120,127,137,149,155,159,166,170,177,199,206,215,218,235,239,248,259,266,277,286,289,306,309,316,319,339,359,366,369,375,386,389,406,416,426,438,441,452,459,462,479,501,...
opal/asm/base/ALPHA.asm
ctrlsys/sensys
14
205975
.set noreorder .set volatile .set noat .set nomacro .text .align 2 .align 4 .globl opal_atomic_mb .ent opal_atomic_mb $opal_atomic_mb..ng: opal_atomic_mb: .eflag 48 .frame $30,0,$26,0 .prologue 0 .set macro mb .set nomacro ret $31,($26),1 .end opal_atomic_mb .align 2 .align 4 .globl opal_atomic_rmb ...
programs/oeis/001/A001588.asm
jmorken/loda
1
205976
<gh_stars>1-10 ; A001588: a(n) = a(n-1) + a(n-2) - 1. ; 1,3,3,5,7,11,17,27,43,69,111,179,289,467,755,1221,1975,3195,5169,8363,13531,21893,35423,57315,92737,150051,242787,392837,635623,1028459,1664081,2692539,4356619,7049157,11405775,18454931,29860705,48315635,78176339,126491973,204668311,331160283,535828593,866988875,1...
Asm/3.1.asm
cquca/csco_book_codes
3
205977
.data prompt: .asciiz "\n Please Input a value for N=" result: .asciiz "The sum of the integers from 1 to N is" bye: .asciiz "\n **** Bye ****" .globl naub .text main: li $v0,4 la $a0,prompt syscall li $v0,5 syscall blez $v0,end li $t0,0 loop: add $t0,$t0,$v0 addi $v0,$v0,-1 benz $v0,loop li $v0,4 la $a,...
a/assembler_DCPU16.asm
venusing1998/hello-world
8,076
205979
;;;;;;;;;;;;;;;;;;; jsr init_devices jsr Hello_World set PC,end ;;;;;;;;;;;;;;;;;;; :dev_screen dat 0 :device_count dat 0 ;;;;;;;;;;;;;;;;;;; :find_devices hwn [device_count] set I,0 :find_devices_loop hwq i ife A,0xf615 set [dev_screen],1 add I,1 ifn I,device_count set PC,find_devices_loop set PC,pop :init_d...
z.asm
traidna/MUMPS-TI99-4A
0
205980
<gh_stars>0 ; z.asm z commands, two letters ; may have params or not Zee: push r11 clr r3 ; zero out r3 movb *r9+,r3 ; read char after z and advance past swpb r3 ; move to lsb bl @toupper ; convert to upper case swpb r3 ; put back in msb clr r2 ; clear r2 and ... ...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_fdim.asm
meesokim/z88dk
0
205981
; float fdim(float x, float y) SECTION code_fp_math48 PUBLIC cm48_sdccix_fdim EXTERN cm48_sdccixp_dread2, l0_cm48_sdccix_fdim_callee cm48_sdccix_fdim: call cm48_sdccixp_dread2 ; AC'= y ; AC = x jp l0_cm48_sdccix_fdim_callee
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_64/zx_01_output_char_64_oterm_msg_scroll.asm
meesokim/z88dk
0
205982
SECTION code_fcntl PUBLIC zx_01_output_char_64_oterm_msg_scroll EXTERN asm_zx_scroll_wc_up_noexx EXTERN zx_01_output_char_64_proc_stack_window_32 zx_01_output_char_64_oterm_msg_scroll: ; enter : c = number of rows to scroll ; can use: af, bc, de, hl ; ; Scroll the window upward 'L' character ...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_999.asm
ljhsiun2/medusa
9
205983
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18973, %r10 sub $26881, %rdi mov (%r10), %bx nop nop nop cmp $36940, %r13 lea addresses_WT_ht+0x16903, %rdx clflush (%rdx) nop nop nop and %r8, %r8 mov $0x61626...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_5249_5.asm
ljhsiun2/medusa
9
205984
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x15474, %rdi nop nop nop nop nop sub %r10, %r10 vmovups (%rdi), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r13 nop add %rdi, %rdi lea addresses_normal_ht+0x595c,...
programs/oeis/146/A146983.asm
neoneye/loda
22
205985
; A146983: a(n) = A002531(n)*A002531(n+1). ; 1,2,10,35,133,494,1846,6887,25705,95930,358018,1336139,4986541,18610022,69453550,259204175,967363153,3610248434,13473630586,50284273907,187663465045,700369586270,2613814880038,9754889933879,36405744855481,135868089488042,507066613096690,1892398362898715,7062526838498173,2635...
picoctf/EasyRsa/gmp-ecm/x86_64/mulredc1_12.asm
beninato8/ctfs
0
205986
# mp_limb_t mulredc1_12(mp_limb_t * z, const mp_limb_t x, const mp_limb_t * y, # const mp_limb_t *m, mp_limb_t inv_m); # # Linux: z: %rdi, x: %rsi, y: %rdx, m: %rcx, inv_m: %r8 # Needs %rbx, %rsp, %rbp, %r12-%r15 restored # Windows: z: %rcx, x: %rdx, y: %r8, m: %r9, inv_m: 28(%rsp) # ...
programs/oeis/025/A025685.asm
neoneye/loda
22
205987
<filename>programs/oeis/025/A025685.asm ; A025685: Exponent of 10 (value of j) in n-th number of form 3^i*10^j. ; 0,0,0,1,0,1,0,1,2,0,1,2,0,1,2,3,0,1,2,3,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9 mov $...
constobj.asm
ScottyPotty1/Dolphin-7-VM-Releases
0
205988
<reponame>ScottyPotty1/Dolphin-7-VM-Releases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Dolphin Smalltalk ; ; Implement Constant Object Space ; .586 OPTION CASEMAP:NONE OPTION NOLJMP OPTION PROC:PRIVATE INCLUDE IstAsm.Inc .LISTALL ;.LALL .data PUBLIC ?_Pointers@@3UVMPointers...
SavingRegistersToStack.asm
WilsenHernandez/MIPS-Tutorial
0
205989
<reponame>WilsenHernandez/MIPS-Tutorial<filename>SavingRegistersToStack.asm<gh_stars>0 .data newLine: .asciiz "\n" .text main: addi $s0, $zero, 10 jal increase jal print_value # End of Main li $v0, 10 syscall increase: # Saving $s0 value addi $sp, $sp, -8 sw $s0, 0($sp) sw $ra, 4($sp) ...
oeis/006/A006416.asm
neoneye/loda-programs
11
205990
; A006416: Number of loopless rooted planar maps with 3 faces and n vertices and no isthmuses. Also a(n)=T(4,n-3), array T as in A049600. ; 1,8,20,38,63,96,138,190,253,328,416,518,635,768,918,1086,1273,1480,1708,1958,2231,2528,2850,3198,3573,3976,4408,4870,5363,5888,6446,7038,7665,8328,9028,9766,10543,11360,12218,13118...
ASM/src/damage.asm
Edos512/OoT-RandomizerNoER
344
205992
CFG_DAMAGE_MULTIPLYER: .byte 0x00 EXTERN_DAMAGE_MULTIPLYER: .byte 0x00 .align 4 Apply_Damage_Multiplier: li t7, CFG_DAMAGE_MULTIPLYER lb t7, 0x00(t7) li t8, EXTERN_DAMAGE_MULTIPLYER lb t8, 0x00(t8) add t7, t7, t8 bltz t7, @@DivDamage li at, 3 blt t7, at, @@MulDamage no...
fill.asm
peckhamdata/cgl-6502
4
205993
fill_mem_char: .byte $00 fill_mem_size: .byte $00 fill_mem_from: .byte $00, $00 fill_mem: ldy fill_mem_size lda fill_mem_from sta $02 lda fill_mem_from+1 sta $03 lda fill_mem_char !loop: sta ($02),y dey bne !loop- rts
smsq/sbas/clrfrp.asm
olifink/smsqe
0
205996
<gh_stars>0 ; SBAS_CLRFRP - Clear FOR and REPeat loops in Command Line  1994 <NAME> section sbas xdef sb_clrfrp xref sb_clrval xref sb_setvar include 'dev8_keys_sbasic' include 'dev8_mac_assert' ;+++ ; SBASIC - Clear FOR and REPeat loops in command line ; ; d0/d1/d2/d3/a0/a1/a3/a4 smashed ; a6 c p pointe...
Working Disassembly/Levels/FBZ/Misc Object Data/Map - Platform Blocks.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
205997
<filename>Working Disassembly/Levels/FBZ/Misc Object Data/Map - Platform Blocks.asm<gh_stars>1-10 dc.w word_3C41E-Map_FBZPlatformBlocks dc.w word_3C426-Map_FBZPlatformBlocks dc.w word_3C434-Map_FBZPlatformBlocks dc.w word_3C448-Map_FBZPlatformBlocks word_3C41E: dc.w 1 ; DATA XREF: ROM:0003C416o dc.b $F0, ...
programs/oeis/005/A005171.asm
karttu/loda
1
205998
; A005171: 0 if n is prime else 1. ; 1,0,0,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1...
oeis/142/A142433.asm
neoneye/loda-programs
11
205999
; A142433: Primes congruent to 23 mod 49. ; Submitted by <NAME> ; 23,317,709,1297,1493,1787,2081,2179,2473,2767,2963,3061,3257,3943,4139,5021,5119,5413,5903,6197,6491,6883,7079,7177,8059,8353,8647,8941,9137,9431,10313,10607,11489,11587,11783,12763,12959,13841,14723,14821,15017,16193,16487,16879,17467,17761,17957,18251,...
asm/patches/custom_funcs.asm
yannl35133/sslib
0
206000
<filename>asm/patches/custom_funcs.asm .open "main.dol" .org @NextFreeSpace .global fix_freestanding_item_y_offset fix_freestanding_item_y_offset: ; r29 is the item ptr, r3 needs to NOT be modified lwz r0, 0x4(r29) ; params1 rlwinm r4,r0,12,28,31 ; extract subtype: (r0 >> 0x14) & 0xF cmpwi r4, 9 bne func_end rlwinm r4,...
cards/bn5/ModCards/136-C006 Duo.asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
206001
<filename>cards/bn5/ModCards/136-C006 Duo.asm .include "defaults_mod.asm" table_file_jp equ "exe5-utf8.tbl" table_file_en equ "bn5-utf8.tbl" game_code_len equ 3 game_code equ 0x4252424A // BRBJ game_code_2 equ 0x42524245 // BRBE game_code_3 equ 0x42524250 // BRBP card_type equ 1 card_id equ 106 card_no equ...
game-projects/Sonic2/Objects/SpecialStage/SSSonic/SSSonic.asm
wide-dot/thomson-to8-game-engine
11
206002
<filename>game-projects/Sonic2/Objects/SpecialStage/SSSonic/SSSonic.asm INCLUDE "./Engine/Macros.asm" SpecialSonic lda routine,u asla ldx #SpecialSonic_Routines jmp [a,x] SpecialSonic_Routines fdb Init fdb Move Init ldd #Ani_SSonicRunFlat ...
programs/oeis/051/A051669.asm
neoneye/loda
22
206004
<reponame>neoneye/loda ; A051669: 11*2^n - 4*n - 10. ; 1,8,26,66,150,322,670,1370,2774,5586,11214,22474,44998,90050,180158,360378,720822,1441714,2883502,5767082,11534246,23068578,46137246,92274586,184549270,369098642,738197390,1476394890,2952789894 mov $1,1 lpb $0 sub $0,1 add $1,5 mul $1,2 add $2,4 lpe sub $1...
Silicon/BroxtonSoC/BroxtonSiPkg/Cpu/Library/Private/PeiMpServiceLib/Ia32/MpFuncs.nasm
bcran/edk2-platforms
0
206005
<reponame>bcran/edk2-platforms ;; @file ; This is the assembly code for MP support. ; ; Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR> ; ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompani...
programs/oeis/202/A202462.asm
neoneye/loda
22
206006
<reponame>neoneye/loda ; A202462: a(n) = Sum_{j=1..n} Sum_{i=1..n} F(i,j), where F is the Fibonacci fusion array of A202453. ; 1,5,21,70,214,614,1703,4619,12363,32812,86636,228012,598893,1571089,4118305,10790194,28262594,74014290,193807315,507451415,1328617751,3478516440,9107117016,23843134680,62422772569,163425968669,...
boot/print_p.asm
aosmith/toy-os
10
206007
[bits 32] VIDEO_MEMORY equ 0xb8000 WHITE_ON_BLACK equ 0x0f print_p: pusha mov edx, VIDEO_MEMORY jmp print_p_loop print_p_loop: mov al, [ebx] mov ah, WHITE_ON_BLACK cmp byte al, 0 je print_p_done mov [edx], ax add ebx, 1 add edx, 2 jmp print_p_loop print_p_done: popa ret
libsrc/target/rex/DbReadText.asm
jpoikela/z88dk
640
206008
; ; Database Call for REX6000 ; ; DbReadText ; ; $Id: DbReadText.asm,v 1.4 2017-01-03 00:11:31 aralbrec Exp $ PUBLIC DbReadText PUBLIC _DbReadText .DbReadText ._DbReadText ld ix,2 add ix,sp ld l,(ix+0) ld h,(ix+1) push hl ld hl,$0001 push hl ld l,(ix+2) ld h,(ix+3) push hl ld hl,$0000 add hl,...
data/pokemon/base_stats/zangoose.asm
AtmaBuster/pokeplat-gen2
6
206011
<gh_stars>1-10 db 0 ; species ID placeholder db 73, 115, 60, 90, 60, 60 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 90 ; catch rate db 165 ; base exp db NO_ITEM, QUICK_CLAW ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/zangoose/front.dimensions" ...
Old Programmes/8085/Square Root/SQRT_8.asm
illuminati-inc-2020/school
0
206012
LDA 00A0H MVI C,01H MVI B,00H LOOP: CMP C JC END SUB C INR C INR C INR B JMP LOOP END: MOV A,B STA 00B0H HLT
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/sqrt.asm
witchcraft2001/z88dk
640
206013
SECTION code_fp_math16 PUBLIC sqrtf16 EXTERN asm_f16_sqrt defc sqrtf16 = asm_f16_sqrt ; SDCC bridge for Classic IF __CLASSIC PUBLIC _sqrtf16 EXTERN cm16_sdcc_sqrt defc _sqrtf16 = cm16_sdcc_sqrt ENDIF
compiler/examples/r-type-1.asm
stark-dev/dlx-processor
0
206014
.mode dbg .text sll r5,r2,r1 srl r6,r2,r1 sra r7,r3,r1 sra r8,r2,r1 add r9,r24,r1 addu r10,r3,r4 sub r11,r24,r1 subu r12,r2,r1 and r13,r3,r2 or r14,r3,r2 xor r15,r3,r2
programs/oeis/140/A140438.asm
karttu/loda
1
206015
; A140438: Number of letters in word for the number n in Tamil. ; 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2 mov $1,$0 div $1,10 add $1,1
data/pokemon/dex_entries/leafeon.asm
AtmaBuster/pokeplat-gen2
6
206016
db "VERDANT@" ; species name db "LEAFEON will sleep" next "in patches of" next "sunshine to" page "photosynthesize," next "making clean air" next "in the process.@"
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_171.asm
ljhsiun2/medusa
9
206017
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x630c, %r12 nop nop nop add %rbp, %rbp movb $0x61, (%r12) nop nop and %r13, %r13 lea addresses_UC_ht+0x9818, %r9 nop xor $43198, %r10 movl $...
sw/552tests/rand_simple/t_3_j.asm
JPShen-UWM/ThreadKraken
1
206018
// seed 3 j 22 // icount 0 nop // icount 1 nop // icount 2 nop // icount 3 nop // icount 4 nop // icount 5 nop // icount 6 nop // icount 7 nop // icount 8 nop // icount 9 nop // icount 10 nop // icount 11 j 8 // icount 12 nop // icount 13 nop // icount 14 nop // icount 15 nop // icount 16 j 12 // icount 17 nop // icoun...
src/draw/draw_rectangle.asm
daullmer/tic-tac-toe
1
206019
# Function to draw rectangle from position x1,y1 to x2,y2 with fill color c # a3: unsigned integer x1 -- left boundary of rectangle # a4: unsigned integer y1 -- top boundary of rectangle # a5: unsigned integer x2 -- right boundary of rectangle # a6: unsigned integer y2 -- bottom boundary of rectangle # a7: unsigned int...
libsrc/rex/syscall0.asm
meesokim/z88dk
0
206020
; ; System Call for REX6000 ; ; $Id: syscall0.asm,v 1.4 2015/01/19 01:33:06 pauloscustodio Exp $ PUBLIC syscall0 .syscall0 pop bc pop hl ;parameter push hl push bc ld ($c000),hl rst $10 ld hl,($c00e) ret
programs/oeis/033/A033133.asm
karttu/loda
1
206021
; A033133: Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. ; 1,7,42,253,1519,9114,54685,328111,1968666,11811997,70871983,425231898,2551391389,15308348335,91850090010,551100540061,3306603240367,19839619442202,119037716653213,714226299919279,4285357799515674,257121467970...
45/qb/ir/prsctl.asm
minblock/msdos
0
206022
TITLE prsctl.asm - Parser Control-Flow NonTerminal Functions ;========================================================================== ; ; Module: prsctl.asm - Parser Control-Flow NonTerminal Functions ; Subsystem: Parser ; System: Quick BASIC Interpreter ; Copyright <C> 1985, Microsoft Corporation ; ; NOTE...
Test/Z80/test_ld_xhl_n.asm
sparks-c16/zasm
43
206023
<gh_stars>10-100 #!/usr/local/bin/zasm -o original/ .org 100 ld hl,1000 ld (hl),1 ld (--hl),2 ld (hl++),3 ld (hl),a ld (--hl),a ld (hl++),a ld a,(hl) ld a,(--hl) ld a,(hl++) ; ld (hl--),4 ; ld (++hl),5 ; ld (-hl),2 ; ld (hl+),3 ; ld (hl-),4 ; ld (+hl),5 ld ix,1000 ld (ix),1 ; ld (--ix),2 ; ld (ix++),3 ...
chap15/ex48/avx2_min_max.asm
JamesType/optimization-manual
374
206024
<reponame>JamesType/optimization-manual ; ; 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 TO THIS SOFTWARE IN...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2055.asm
ljhsiun2/medusa
9
206025
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x9cfa, %rsi lea addresses_normal_ht+0xc93b, %rdi nop nop sub $46265, %rax mov $100, %rcx rep movsl nop nop nop and %r8, %r8 lea addresses_A_ht+0x94fa, %rsi lea addresses_WT_ht+...
src/shaders/h264/ildb/load_Cur_UV_8x8T.asm
tizenorg/platform.upstream.libva-intel-driver
0
206026
<gh_stars>0 /* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module name: load_Cur_UV_8x8T.asm // // L...
programs/oeis/329/A329991.asm
karttu/loda
1
206027
<reponame>karttu/loda ; A329991: Beatty sequence for 3^x, where 1/x + 1/3^x = 1. ; 2,4,7,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,49,52,54,57,59,62,64,66,69,71,74,76,79,81,84,86,89,91,94,96,99,101,104,106,109,111,114,116,119,121,124,126,128,131,133,136,138,141,143,146,148 mov $3,$0 div $3,25 mov $4,$0 sub $0,$3 ...