max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
sw/programs/mem_test/main.asm
matejpolj/neorv32
0
160748
main.elf: file format elf32-littleriscv Disassembly of section .text: 00000000 <_start>: 0: 00000037 lui zero,0x0 00000004 <__crt0_pointer_init>: 4: 80002117 auipc sp,0x80002 8: ff810113 addi sp,sp,-8 # 80001ffc <__ctr0_io_space_begin+0x800021fc> c: 800...
programs/oeis/111/A111802.asm
jmorken/loda
1
176507
<reponame>jmorken/loda<filename>programs/oeis/111/A111802.asm ; A111802: n^2-n-1 for n>3; a(1)=1; a(2)=2; a(3)=3. ; 1,2,3,11,19,29,41,55,71,89,109,131,155,181,209,239,271,305,341,379,419,461,505,551,599,649,701,755,811,869,929,991,1055,1121,1189,1259,1331,1405,1481,1559,1639,1721,1805,1891,1979,2069,2161,2255,2351,2449...
examples/minimal/src/minimal.ads
persan/gdnative_ada
10
10393
<reponame>persan/gdnative_ada<filename>examples/minimal/src/minimal.ads with System; with GDNative.Thin; use GDNative.Thin; package Minimal is procedure GDNative_Intialize (p_options : access godot_gdnative_init_options) with Export => True, Convention => C, External_Name => "minimal_gdnative_init"; proced...
programs/oeis/228/A228361.asm
neoneye/loda
22
8528
<filename>programs/oeis/228/A228361.asm<gh_stars>10-100 ; A228361: The number of all possible covers of L-length line segment by 2-length line segments with allowed gaps < 2. ; 0,0,1,2,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,315...
programs/oeis/339/A339048.asm
neoneye/loda
22
5146
<filename>programs/oeis/339/A339048.asm ; A339048: a(n) = 2*n^2 + 9. ; 9,11,17,27,41,59,81,107,137,171,209,251,297,347,401,459,521,587,657,731,809,891,977,1067,1161,1259,1361,1467,1577,1691,1809,1931,2057,2187,2321,2459,2601,2747,2897,3051,3209,3371,3537,3707,3881 pow $0,2 mul $0,2 add $0,9
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w28.asm
prismotizm/gigaleak
0
160279
Name: ys_w28.asm Type: file Size: 22387 Last-Modified: '2016-05-13T04:51:43Z' SHA-1: 3BD7EAA78A150060440791826313F6333462AB4F Description: null
Resource_Control_Protocol/src/rcp-control.adb
Maxelweb/concurrency-sandbox
0
1364
<reponame>Maxelweb/concurrency-sandbox with Ada.Text_IO; package body RCP.Control is protected body Controller is entry Demand (Res : out Resource_T; Req : Request_T) when Free > 0 is -- we accept the request if we have spare resources to offer begin -- but we...
libsrc/_DEVELOPMENT/stdio/c/sccz80/obstack_printf.asm
jpoikela/z88dk
640
164013
; int obstack_printf(struct obstack *obstack, const char *format, ...) SECTION code_clib SECTION code_stdio PUBLIC obstack_printf EXTERN asm_obstack_printf defc obstack_printf = asm_obstack_printf
2021/15/program.adb
skrim/AdventOfCode
0
21885
<reponame>skrim/AdventOfCode with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure Program is type WorldData is array(0..499, 0..499) of Integer; InputFile: file_type; sline : unbounded_string; fname : unbounded_string; xp, yp : Integer; size, expa...
src/audio-riff-wav-formats-standard_channel_configurations.ads
Ada-Audio/wavefiles
10
29574
<reponame>Ada-Audio/wavefiles<filename>src/audio-riff-wav-formats-standard_channel_configurations.ads ------------------------------------------------------------------------------ -- -- -- AUDIO / RIFF / WAV ...
gcc-gcc-7_3_0-release/gcc/ada/prj-dect.adb
best08618/asylo
7
21062
<filename>gcc-gcc-7_3_0-release/gcc/ada/prj-dect.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_212.asm
ljhsiun2/medusa
9
81810
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_212.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1602e, %rcx nop nop nop xor %r8, %r8 mov $0x6162636465666768, %r14 movq %r14, %xmm7 vmov...
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_21829_2329.asm
ljhsiun2/medusa
9
89130
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x97d0, %r15 nop nop nop nop nop and %r14, %r14 mov (%r15), %si nop nop cmp %r9, %r9 lea addresses_D_ht+0x9348, %rdx nop nop cmp $1226, %rcx mov $0x6162636465666768, %rdi movq %...
Musics/Othersongs/source/Loading.asm
kosmonautdnb/TheLandsOfZador
0
410
<reponame>kosmonautdnb/TheLandsOfZador kp_song kp_reloc dc.w kp_song_registers dc.w kp_speed dc.w kp_grooveboxpos dc.w kp_grooveboxlen dc.w kp_groovebox dc.w kp_patternlen dc.w kp_patternmap_lo dc.w kp_patternmap_hi dc.w kp_insmap_lo dc.w kp_insmap_hi dc.w kp_volmap_lo dc.w kp_volmap_hi dc.w kp_sequence kp...
oeis/169/A169590.asm
neoneye/loda-programs
11
105080
<reponame>neoneye/loda-programs ; A169590: Triangle T(n,k) with : column n = A000034 if n even and column n = A000007 if n odd. ; Submitted by <NAME> ; 1,2,1,1,0,1,2,0,2,1,1,0,1,0,1,2,0,2,0,2,1,1,0,1,0,1,0,1,2,0,2,0,2,0,2,1,1,0,1,0,1,0,1,0,1,2,0,2,0,2,0,2,0,2,1,1,0,1,0,1,0,1,0,1,0,1,2,0,2,0,2,0,2,0,2,0,2,1,1,0,1,0,1,0,...
oeis/053/A053296.asm
neoneye/loda-programs
11
18297
<filename>oeis/053/A053296.asm ; A053296: Partial sums of A053295. ; Submitted by <NAME> ; 1,8,37,129,376,967,2267,4950,10220,20175,38403,70954,127921,226007,392688,672959,1140260,1914166,3189022,5280288,8699540,14275838,23352118,38102976,62048869,100888126,163843187,265838881,431026972,698489013,1131463777,1832277574,...
res/footer.asm
kedar-damle/OPaL
1
162462
;=== User code end ===; SECTION .bss bss0 RESB 255 ; reserve 255 bytes for user input SECTION .data char DB 0 ; Used for user input ;=== User variables ===;
languages/x86-64-assembly/exercises/concept/basics/basics.asm
biancapower/v3
0
167038
<reponame>biancapower/v3 section .text ; TODO: define the 'expected_minutes_in_oven' function ; TODO: define the 'remaining_minutes_in_oven' function ; TODO: define the 'preparation_time_in_minutes' function ; TODO: define the 'total_time_in_minutes' function
programs/oeis/033/A033824.asm
neoneye/loda
22
169757
<filename>programs/oeis/033/A033824.asm ; A033824: Finite sequence associated with M24. ; 24,16,12,10,8,8,6,6,4,4,4,2 pow $0,2 mul $0,10 mov $2,$0 add $2,$0 mov $0,9194 mov $1,9194 lpb $0 mov $0,$2 trn $0,1 sub $1,72 div $2,2 lpe sub $1,8402 div $1,36 add $1,4 mov $0,$1
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug4.adb
best08618/asylo
7
26769
<gh_stars>1-10 -- { dg-compile } -- { dg-options "-g" } with Debug4_Pkg; procedure Debug4 is package P is new Debug4_Pkg (Natural); begin null; end;
tests/macros/local_labels.asm
fengjixuchui/sjasmplus
220
165914
macro test @.kip3 ; prevent macro-local label and create regular local label instead kip0 .kip1 @.kip2 endm module main ; should produce labels: main.hoi, main.kip0, 0>kip1, main.kip0.kip2, main.hoi.kip3 hoi test endmodule
programs/oeis/296/A296357.asm
neoneye/loda
22
82801
<filename>programs/oeis/296/A296357.asm ; A296357: a(n) = ceiling of n/Pi. ; 1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,22,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27 add $0,1 seq $0,32615...
programs/oeis/245/A245497.asm
neoneye/loda
22
17869
<reponame>neoneye/loda ; A245497: a(n) = phi(n)^2/2, where phi(n) = A000010(n), the Euler totient function. ; 2,2,8,2,18,8,18,8,50,8,72,18,32,32,128,18,162,32,72,50,242,32,200,72,162,72,392,32,450,128,200,128,288,72,648,162,288,128,800,72,882,200,288,242,1058,128,882,200,512,288,1352,162,800,288,648,392,1682,128,1800,4...
libsrc/oz/ozserial/ozsnap.asm
grancier/z180
0
164994
<reponame>grancier/z180 ; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by <NAME> ; by <NAME> - Oct. 2003 ; ; Serial libraries ; ; ; ------ ; $Id: ozsnap.asm,v 1.3 2016/06/27 21:25:36 dom Exp $ ; SECTION code_clib PUBLIC ozsnap PUBLIC _ozsnap EXTERN ozactivepage ozsnap: _ozsnap: in a,(43h)...
programs/oeis/272/A272073.asm
neoneye/loda
22
240929
<filename>programs/oeis/272/A272073.asm ; A272073: Exponents of x in the numerator of cluster variables of rank 2 cluster algebras. ; 3,6,15,24,57,90,213,336,795,1254,2967,4680,11073,17466,41325,65184,154227,243270,575583,907896,2148105,3388314,8016837,12645360,29919243,47193126,111660135,176127144,416721297,657315450,...
data/maps/headers/Colosseum.asm
opiter09/ASM-Machina
1
246666
map_header Colosseum, COLOSSEUM, CLUB, 0 end_map_header
main.scpt
chris1111/Apple-Create-Install-Media
10
3458
# By chris1111 # # Copyright (c) 2021, chris1111. All Right Reserved # Credit: Apple # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # THE SOFTWARE IS P...
Algebra/Category/Groupoid.agda
esoeylemez/agda-simple
1
17141
<filename>Algebra/Category/Groupoid.agda -- Copyright: (c) 2016 <NAME> -- License: BSD3 -- Maintainer: <NAME> <<EMAIL>> module Algebra.Category.Groupoid where open import Algebra.Category.Category open import Core -- A groupoid is a category where all morphisms are isomorphisms. record Groupoid {c h r} : Set (...
tests/macro_examples/make_djnz_dot_assemble.asm
cizo2000/sjasmplus
220
8108
<gh_stars>100-1000 ;; while trying to compile one larger legacy code written with Zeus syntax on mind, ;; I run into lines "DJNZ .", which are basically the same thing as "DJNZ $" in sjasmplus ;; To avoid editing whole file and replacing those on each occurence, I managed to get ;; them fixed by defining this macro at ...
commands/apps/fantastical/create-todo-in-fantastical.applescript
daviddzhou/script-commands
3,305
4227
<reponame>daviddzhou/script-commands #!/usr/bin/osascript # Install Fantastical via the Mac App Store: https://apps.apple.com/us/app/fantastical-calendar-tasks/id975937182 # @raycast.title Create Task # @raycast.author <NAME> # @raycast.authorURL https://github.com/commai # @raycast.description Speed up setting remin...
data/maps/objects/SilphCo10F.asm
opiter09/ASM-Machina
1
174603
SilphCo10F_Object: db $2e ; border block def_warps warp 8, 0, 0, SILPH_CO_9F warp 10, 0, 0, SILPH_CO_11F warp 12, 0, 0, SILPH_CO_ELEVATOR warp 9, 11, 3, SILPH_CO_4F warp 13, 15, 5, SILPH_CO_4F warp 13, 7, 6, SILPH_CO_4F def_signs def_objects object SPRITE_ROCKET, 1, 9, STAY, RIGHT, 1, OPP_ROCKET, 39...
src/controller_functions_h.ads
JeremyGrosser/arm_cmsis_dsp
0
14598
pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with arm_math_types_h; with sys_ustdint_h; package controller_functions_h is CONTROLLER_Q31_SHIFT : constant := (32 - 9); -- ../CMSIS_5/CMSIS/DSP/Include/dsp/controller_functions.h:45 INPUT_SPACING : cons...
bootloader/loader.asm
TieNan2019/ImplementationOfA64-bitOS
0
6145
org 10000h jmp Label_Start ; 引入 FAT12 的文件结构 %include "fat12.inc" ; 内核起始于 0x100000 (1 MB) 处, 因为 1 MB 以下的物理地址 ; 并非全是可用空间, 所以选择一块平坦的区域 BaseOfKernelFile equ 0x00 OffsetOfKernelFile equ 0x100000 ; 0x7E00 是内核程序的临时转存空间, 由于 BIOS 只支持 1 MB 以下 ; 的物理空间寻址, 所以先将内核程序读入临时转存空间, 然后通过搬运到 ; 1 MB 以上的内存空间中。 BaseTmpOfKernelAdd...
oeis/156/A156164.asm
neoneye/loda-programs
11
2497
<gh_stars>10-100 ; A156164: Decimal expansion of 17 + 12*sqrt(2). ; Submitted by <NAME> ; 3,3,9,7,0,5,6,2,7,4,8,4,7,7,1,4,0,5,8,5,6,2,0,2,6,4,6,9,0,5,1,6,3,7,6,9,4,2,8,3,6,0,6,2,5,0,4,5,2,3,3,7,6,8,7,8,1,2,0,1,5,6,8,5,5,8,8,8,7,8,9,7,4,1,5,4,5,2,8,4,4,6,6,2,0,4,6,5,0,4,1,1,9,3,1,6,9,8,8,7 mov $2,7 mov $3,$0 mul $3,3 l...
oeis/127/A127533.asm
neoneye/loda-programs
11
11361
<gh_stars>10-100 ; A127533: Sum of jump-lengths of all binary trees with n edges. ; Submitted by <NAME>(s4) ; 0,0,0,2,17,100,506,2366,10556,45696,193800,810084,3350479,13748020,56071470,227613750,920540040,3711935040,14932102320,59951235420,240316859250,962056169256,3847193657076,15370712686252,61364157982952 mov $1,$...
lex/PMLParser.g4
zergos/pantra
0
3972
// Pantra component definition parser grammar PMLParser; options { tokenVocab=PMLLexer; } process : atom* ; atom : tag | macro | inlineMacro | text | rawBlock ; tag : tagBegin | tagEnd ; tagBegin : OPEN_BEGIN ...
programs/oeis/014/A014126.asm
neoneye/loda
22
167929
<gh_stars>10-100 ; A014126: Number of partitions of 2*n into at most 4 parts. ; 1,2,5,9,15,23,34,47,64,84,108,136,169,206,249,297,351,411,478,551,632,720,816,920,1033,1154,1285,1425,1575,1735,1906,2087,2280,2484,2700,2928,3169,3422,3689,3969,4263,4571,4894,5231,5584,5952,6336,6736,7153,7586,8037,8505,8991,9495,10018,10...
source/RASCAL-FileInternal.ads
bracke/Meaning
0
10006
<reponame>bracke/Meaning -------------------------------------------------------------------------------- -- -- -- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. -- -- ...
16bit with mul/16bit_Multiplication.asm
Shivaakriti/Basic_Assembly_Program
0
2033
<gh_stars>0 /* * MUL16BIT1.asm * * Created: 29-08-2016 19:30:40 * Author: Administrator */ .INCLUDE "M128DEF.INC" .CSEG .ORG 0x0100 LDI R16,$55 ;LOADING THE VALUES LDI R17,$55 ;IN R117,R16 LDI R18,$11 ;AND LDI R19,$55 ;R19,R18 MUL R19,R17 ;PERFORMING MULTIPLICATION HENCEFORTH MOV R20,R...
programs/oeis/081/A081250.asm
neoneye/loda
22
15980
<reponame>neoneye/loda ; A081250: Numbers k such that A081249(m)/m^2 has a local minimum for m = k. ; 1,3,11,33,101,303,911,2733,8201,24603,73811,221433,664301,1992903,5978711,17936133,53808401,161425203,484275611,1452826833,4358480501,13075441503,39226324511,117678973533,353036920601,1059110761803,3177332285411,953199...
src/collision.asm
Gegel85/SpaceShooterGB
3
8877
<reponame>Gegel85/SpaceShooterGB<gh_stars>1-10 ; Collision between spaceship and asteroid ; Params: ; None ; Return: ; None ; Registers: ; N/A checkCollisionSpaceshipAsteroid:: ld de, OBSTACLES_ADDR + 1 ld a, [NB_OBSTACLES] .loop: push af ld a, [de] inc de inc a inc a ld b, a add a, $C ld hl, PLAYER1_STRUCT +...
programs/oeis/101/A101605.asm
jmorken/loda
1
83093
<filename>programs/oeis/101/A101605.asm ; A101605: a(n) = 1 if n is a product of exactly 3 (not necessarily distinct) primes, otherwise 0. ; 0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,0,1,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0...
programs/oeis/181/A181402.asm
neoneye/loda
22
175567
; A181402: Total number of positive integers below 10^n requiring 7 positive cubes in their representation as sum of cubes. ; 1,10,73,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121 lpb $0 gcd $1,2 mov $0,$1 lpe add $1,7 pow $1,$0 div $1,2...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1417.asm
ljhsiun2/medusa
9
11309
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1d4a8, %rbp and $32142, %r12 mov (%rbp), %r15w nop and $3725, %rcx lea addresses_D_ht+0x94f8, %rsi lea addresses_UC_ht+0x1cc46, %rdi clflush (%rsi) nop nop nop nop add $1046...
Definition/Typed/Consequences/Reduction.agda
Vtec234/logrel-mltt
0
11584
<filename>Definition/Typed/Consequences/Reduction.agda {-# OPTIONS --without-K --safe #-} module Definition.Typed.Consequences.Reduction where open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Properties open import Definition.Typed.EqRelInstance open import Definition.Typed.Con...
bin/src/helper.adb
persan/spawn-manager
1
2305
<reponame>persan/spawn-manager with Ada.Text_IO; with Spawn_Manager; with Ada.Command_Line; procedure Helper is use Ada.Text_IO; begin if Spawn_Manager.Version /= $VERSION then Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); Put_Line ("Version Missmatch : Code=""" & Spawn_Manager.Version ...
Task/Numerical-integration/Ada/numerical-integration-3.ada
LaudateCorpus1/RosettaCodeData
1
12001
<filename>Task/Numerical-integration/Ada/numerical-integration-3.ada with Ada.Text_IO, Ada.Integer_Text_IO; with Integrate; procedure Numerical_Integration is type Scalar is digits 18; package Scalar_Text_IO is new Ada.Text_IO.Float_IO (Scalar); generic with function F (X : Scalar) return Scalar; ...
test/interaction/Issue4038.agda
KDr2/agda
0
8310
{-# OPTIONS --cubical-compatible --rewriting --local-confluence-check #-} open import Agda.Primitive using (Level; _⊔_; Setω; lzero; lsuc) infix 4 _≡_ data _≡_ {ℓ : Level} {A : Set ℓ} (a : A) : A → Set ℓ where refl : a ≡ a {-# BUILTIN REWRITE _≡_ #-} run : ∀ {ℓ} {A B : Set ℓ} → A ≡ B → A → B run refl x = x ap :...
test/asm/006.asm
thesephist/august
13
242498
; Hello World pyramid: loops, conditionals, calls _start: mov eax 1 loop: push eax ; load argument and call mov edi eax call print pop eax cmp eax len je exit inc eax jmp loop exit: mov eax 60 mov edi 0 syscall print: mov edx edi mov eax 0x1 mov edi 0x1 mov esi msg syscall mov eax 0x1 mov e...
libsrc/_DEVELOPMENT/string/c/sdcc_iy/ffs.asm
meesokim/z88dk
0
101812
<gh_stars>0 ; int ffs(int i) SECTION code_string PUBLIC _ffs EXTERN asm_ffs _ffs: pop af pop hl push hl push af jp asm_ffs
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_zerof.asm
jpoikela/z88dk
640
166654
<filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_zerof.asm<gh_stars>100-1000 ; float _zerof (float number) __z88dk_fastcall SECTION code_clib SECTION code_fp_math32 PUBLIC asm_zerof EXTERN m32_fszero_fastcall ; return a legal zero ; ; enter : stack = ret ; DEHL = sccz80_float n...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_2559.asm
ljhsiun2/medusa
9
179541
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rbp push %rbx push %rcx push %rdi lea addresses_WT_ht+0xaa97, %r10 nop nop nop and %r12, %r12 mov (%r10), %eax nop sub $27950, %rbx lea addresses_WT_ht+0xb488, %rdi nop nop nop nop nop and %rcx, %rcx...
programs/oeis/070/A070229.asm
jmorken/loda
1
6139
<filename>programs/oeis/070/A070229.asm ; A070229: Next m>n such that m is divisible by lpf(n), lpf=A006530 largest prime factor. ; 2,4,6,6,10,9,14,10,12,15,22,15,26,21,20,18,34,21,38,25,28,33,46,27,30,39,30,35,58,35,62,34,44,51,42,39,74,57,52,45,82,49,86,55,50,69,94,51,56,55,68,65,106,57,66,63,76,87,118,65,122,93,70,6...
programs/oeis/171/A171523.asm
neoneye/loda
22
100838
; A171523: a(n) = n*(n-th nonprime number). ; 1,8,18,32,45,60,84,112,135,160,198,240,273,308,360,400,442,486,532,600,672,726,782,840,900,988,1053,1120,1218,1320,1395,1472,1584,1666,1750,1836,1924,2052,2145,2240,2337,2436,2580,2728,2835,2944,3055,3168,3332 mov $1,$0 seq $1,18252 ; The nonprime numbers: 1 together with ...
programs/oeis/188/A188778.asm
karttu/loda
0
176214
<gh_stars>0 ; A188778: Number of 3-turn bishop's tours on an n X n board summed over all starting positions ; 0,0,28,152,488,1192,2468,4560,7760,12400,18860,27560,38968,53592,71988,94752,122528,156000,195900,243000,298120,362120,435908,520432,616688,725712,848588,986440,1140440,1311800,1501780,1711680,1942848,2196672,2...
Altair101/asm/programsUntested/pGalaxy80.asm
tigerfarm/arduino
2
83597
; ------------------------------------------------ ; ; Stacy, be a challenge to get this to compile using my assembler. ; ; I/O ports: ; SIOCTL EQU 10H ;88-2SIO CONTROL PORT ; IN SIOCTL ; SIODAT EQU 11H ;88-2SIO DATA PORT ; OUT SIODAT ; ; ------------------------------------------------ ; +---------------...
lib/Haskell/Prim/Double.agda
dxts/agda2hs
55
7451
<reponame>dxts/agda2hs module Haskell.Prim.Double where open import Agda.Builtin.Nat open import Agda.Builtin.Unit open import Agda.Builtin.Float public renaming (Float to Double) open import Agda.Builtin.FromNat open import Agda.Builtin.FromNeg instance iNumberDouble : Number Double iNumberDouble .Number.Constr...
super-snake.asm
a-layfolk/assembly-snake
1
160513
TITLE Program Snake .386 .model flat, stdcall option casemap:none includelib msvcrt.lib includelib user32.lib ExitProcess proto, :dword Sleep proto, :dword GetStdHandle proto, :dword SetConsoleCursorPosition proto :dword, :dword SetConsoleCursorInfo PROTO :dword, :dword SetConsoleTextAttribute proto :dword, :word G...
oeis/036/A036716.asm
neoneye/loda-programs
11
244285
<reponame>neoneye/loda-programs ; A036716: a(n)=number of Gaussian integers z=a+bi satisfying n-1/2<|z|<=n+1/2, a>=0, 0<=b<=a. ; Submitted by <NAME>(w4) ; 1,2,2,3,5,4,6,6,7,9,8,10,9,12,12,11,15,15,15,15,15,19,18,19,19,22,21,21,24,22,26,25,24,27,29,29,29,29,32,30,34,32,34,35,34,37,35,39,39,40,40,41,44,40,43,45,43,48,43,...
_build/dispatcher/jmp_ippsSHA224Final_9154af95.asm
zyktrcn/ippcp
1
82543
extern m7_ippsSHA224Final:function extern n8_ippsSHA224Final:function extern y8_ippsSHA224Final:function extern e9_ippsSHA224Final:function extern l9_ippsSHA224Final:function extern n0_ippsSHA224Final:function extern k0_ippsSHA224Final:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment ...
programs/dots.asm
mynameispyo/InpyoOS
0
19430
; ------------------------------------------------------------------ ; MichalOS Dots Test ; ------------------------------------------------------------------ BITS 16 %INCLUDE "osdev.inc" ORG 100h start: mov byte [0082h], 1 mov ax, 13h int 10h .loop: mov ax, 0 mov bx, 255 call os_get_random mov al, cl ...
source/lexer/program-scanners-on_accept.adb
optikos/oasis
0
28809
<filename>source/lexer/program-scanners-on_accept.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- separate (Program.Scanners) procedure On_Accept (Self : not null access Program.Scanned_Rule...
games/SOURCE/TEST.asm
Srynetix/chip8
0
26057
LD V5, 00 LD VA, 01 LD VB, 00 LD VD, 00 LD VE, 00
transformy/tables/outro/0005.asm
mborik/regression
3
29786
<filename>transformy/tables/outro/0005.asm xor a ld hl, basescradr + #082f ld (hl), a inc hl ld (hl), a inc hl ld (hl), a inc hl ld (hl), a inc hl ld (hl), a inc hl ld (hl), a inc hl ld (hl), a inc hl ld (hl), a ld d,a ld e,a ld (basescradr + #084e), de ld (basescradr + #086e),...
T1/T1/src/t1/Lua.g4
renatasarmet/compiladorLexicoSintatico
0
5891
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ grammar Lua; @members { public static String grupo= "<606723, 726556 , 726586 >"; } /* ANÁLISE LÉXICA */ /*PALAVRAS RESERVADAS*/ And : 'and' ; Or : 'or' ; Break : 'break' ; Do : 'do' ; Else : 'else' ; El...
programs/oeis/289/A289748.asm
karttu/loda
1
87133
<reponame>karttu/loda ; A289748: Thue-Morse constant converted to base -2. ; 1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,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,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,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 sub $0,1 cal $0,254377 ; Charact...
Lab1/Preliminary_Work/preLIMProblem3.asm
zeynepCankara/Computer_Organization_Labs
3
173078
<filename>Lab1/Preliminary_Work/preLIMProblem3.asm # <NAME> -- 21/02/2019 # preLIMProblem3.asm -- Implements the arithmetic expression (c - d) % 16 without using div ## Text Section ## .globl __start .text __start: # prompt the program task on screen li $v0, 4 la $a0, task syscall # prompt user to enter c l...
programs/oeis/249/A249674.asm
karttu/loda
1
102889
; A249674: a(n) = 30*n. ; 0,30,60,90,120,150,180,210,240,270,300,330,360,390,420,450,480,510,540,570,600,630,660,690,720,750,780,810,840,870,900,930,960,990,1020,1050,1080,1110,1140,1170,1200,1230,1260,1290,1320,1350,1380,1410,1440,1470,1500,1530,1560,1590,1620,1650,1680,1710,1740,1770,1800,1830,1860,1890,1920,1950,198...
Data/Num/Surjection.agda
banacorn/numeral
1
14678
<filename>Data/Num/Surjection.agda module Data.Num.Surjection where open import Data.Num.Core open import Data.Num.Continuous open import Data.Nat open import Data.Nat.Properties open import Data.Nat.Properties.Simple open import Data.Nat.Properties.Extra open import Data.Fin as Fin using (Fin; fromℕ≤; inject≤) ...
oeis/083/A083879.asm
neoneye/loda-programs
11
241886
; A083879: a(0)=1, a(1)=4, a(n) = 8*a(n-1) - 14*a(n-2), n >= 2. ; Submitted by <NAME> ; 1,4,18,88,452,2384,12744,68576,370192,2001472,10829088,58612096,317289536,1717746944,9299922048,50350919168,272608444672,1475954689024,7991119286784,43265588647936,234249039168512,1268274072276992 mov $1,3 lpb $0 sub $0,1 sub $...
source/nodes/program-nodes-abort_statements.ads
reznikmm/gela
0
23447
<filename>source/nodes/program-nodes-abort_statements.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Abort_Statements; with Pr...
s3d/music-original/Ending.asm
Cancer52/flamedriver
9
83041
Snd_Ending_Header: smpsHeaderStartSong 3 smpsHeaderVoice Snd_Ending_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $10 smpsHeaderDAC Snd_Ending_DAC ; The $D5 in the below line is an invalid transpose value and ; creates notes which are impossibly low. In Sonic 3D's driver, ; these impos...
src/paging.asm
MalcolmLorber/kernel
3
93212
<filename>src/paging.asm section .text global loadPageDirectory loadPageDirectory: push ebp mov ebp, esp mov eax, [esp+8] mov cr3, eax mov esp, ebp pop ebp ret global enablePaging enablePaging: push ebp mov ebp, esp mov eax, cr0 or eax, 0x80000000 mov cr0, eax mov esp, ebp pop ebp ret
libtool/src/gmp-6.1.2/mpn/ia64/hamdist.asm
kroggen/aergo
1,602
82253
dnl IA-64 mpn_hamdist -- mpn hamming distance. dnl Contributed to the GNU project by <NAME>. dnl Copyright 2003-2005 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: d...
programs/oeis/033/A033429.asm
neoneye/loda
22
167365
<filename>programs/oeis/033/A033429.asm ; A033429: a(n) = 5*n^2. ; 0,5,20,45,80,125,180,245,320,405,500,605,720,845,980,1125,1280,1445,1620,1805,2000,2205,2420,2645,2880,3125,3380,3645,3920,4205,4500,4805,5120,5445,5780,6125,6480,6845,7220,7605,8000,8405,8820,9245,9680,10125,10580,11045,11520,12005,12500,13005,13520,14...
src/fltk-widgets-inputs.ads
micahwelf/FLTK-Ada
1
30693
private with Interfaces.C.Strings, System; package FLTK.Widgets.Inputs is type Input is new Widget with private; type Input_Reference (Data : not null access Input'Class) is limited null record with Implicit_Dereference => Data; type Input_Kind is (Normal_Kind, Float_Kind, In...
src/Web/Semantic/DL/Category/Tensor.agda
agda/agda-web-semantic
9
4587
<reponame>agda/agda-web-semantic<gh_stars>1-10 open import Data.Product using ( _,_ ; proj₁ ; proj₂ ) open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ ) open import Relation.Binary.PropositionalEquality using ( refl ) open import Relation.Unary using ( _∈_ ) open import Web.Semantic.DL.ABox using ( ABox ; _,_ ; ⟨ABox⟩ ) ...
scripts/Create OSC triggers for selected.applescript
samschloegel/qlab-scripts
8
1221
<reponame>samschloegel/qlab-scripts<filename>scripts/Create OSC triggers for selected.applescript<gh_stars>1-10 -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts -- Built for QLab 4. v211121-01 set userPatch to 1 tell application id "com.figure53.QLab.4" to te...
tests/typing/bad/testfile-arith-1.adb
xuedong/mini-ada
0
21138
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Test is X : Integer; begin X := 1 + 'a'; end;
BackwardsCompatibility/BackwardsCompatibility_i386.asm
mariusbancila/dotnetinstaller
62
168041
; Allows projects to target Windows 2000 and XP ; https://stackoverflow.com/questions/2484511/can-i-use-visual-studio-2010s-c-compiler-with-visual-studio-2008s-c-runtim ; https://stackoverflow.com/questions/19516796/visual-studio-2012-win32-project-targeting-windows-2000/53548116#53548116 ; https://social.msdn.microsof...
reversearray.asm
juancstlm/Assembly-Programming
0
160922
<gh_stars>0 ; reversearray.asm reverses an array \ .386 .model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .data intarray DWORD 1,2,4,6,7,9 .code main proc mov esi, 0 ;index register mov edi,(LENGTHOF intarray-1)*4 mov ecx,(LENGTHOF intarray)/2 L1: mov eax, intarray[esi] mov ebx, inta...
oeis/130/A130291.asm
neoneye/loda-programs
11
11051
<gh_stars>10-100 ; A130291: Number of quadratic residues (including 0) modulo the n-th prime. ; Submitted by <NAME> ; 2,2,3,4,6,7,9,10,12,15,16,19,21,22,24,27,30,31,34,36,37,40,42,45,49,51,52,54,55,57,64,66,69,70,75,76,79,82,84,87,90,91,96,97,99,100,106,112,114,115,117,120,121,126,129,132,135,136,139,141,142,147,154,15...
oeis/125/A125833.asm
neoneye/loda-programs
11
7666
; A125833: Numbers whose base 5 representation is 333333.......3. ; 0,3,18,93,468,2343,11718,58593,292968,1464843,7324218,36621093,183105468,915527343,4577636718,22888183593,114440917968,572204589843,2861022949218,14305114746093,71525573730468,357627868652343,1788139343261718,8940696716308593,44703483581542968,22351741...
src/Ada/syscalls/ewok-syscalls-cfg-gpio.adb
wookey-project/ewok-legacy
0
5986
<filename>src/Ada/syscalls/ewok-syscalls-cfg-gpio.adb -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- ...
oeis/037/A037866.asm
neoneye/loda-programs
11
168440
<filename>oeis/037/A037866.asm ; A037866: a(n)=(number of digits <=3)-(number of digits >3) in base 7 representation of n. ; Submitted by <NAME> ; 1,1,1,-1,-1,-1,2,2,2,2,0,0,0,2,2,2,2,0,0,0,2,2,2,2,0,0,0,0,0,0,0,-2,-2,-2,0,0,0,0,-2,-2,-2,0,0,0,0,-2,-2,-2,3,3,3,3,1,1,1,3,3,3,3,1,1,1,3,3,3,3,1,1,1,3,3,3,3,1,1,1,1,1,1,1,-...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_17_292.asm
ljhsiun2/medusa
9
80573
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x133d3, %rbx nop nop nop cmp $34330, %r14 movb (%rbx), %r8b nop nop nop nop cmp $56728, %r10 lea addresses_normal_ht+0x15cd3, %rsi lea addresses_normal_ht+0x8db3, %rdi clflush ...
1's comp-16bit.asm
adey99/8085asmcodes
0
89194
// 1's COMPLEMENT OF A 16-BIT NUMBER // The 16bit number is stored in C050,C051 // The answer is stored in C052,C053 LXI H,C050 MOV A,M CMA STA C052 INX H MOV A,M CMA STA C053 HLT // EXAMPLE-> C050=85,C051=54 // Answer-> C052=7A,C053=AB # ORG C050 # DB 85H,54H
src/LibraBFT/Impl/Consensus/Properties/MetricsSafetyRules.agda
LaudateCorpus1/bft-consensus-agda
0
5113
open import LibraBFT.Impl.Consensus.MetricsSafetyRules open import LibraBFT.Impl.OBM.Logging.Logging open import LibraBFT.Impl.Properties.Util open import LibraBFT.ImplShared.Consensus.Types open import LibraBFT.ImplShared.Consensus.Types.EpochIndep open import LibraBFT.ImplShared.Util.Dijkstra.All open import Optics.A...
programs/oeis/021/A021066.asm
neoneye/loda
22
84043
<reponame>neoneye/loda<gh_stars>10-100 ; A021066: Decimal expansion of 1/62. ; 0,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2 add $0,4 mov $1,10 pow $1,$0 mul $1,5 div ...
Projects/Arbre_Genealogique/livrables/arbre_foret.ads
faicaltoubali/ENSEEIHT
0
12910
generic Capacite : integer; package Arbre_Foret is type T_Abr_Foret is private; type T_Tableau is private; Capacite_Tableau_Compagnon_Maximale : Exception; Compagnon_Existe : Exception; Epoux_Existe : Exception; Pere_Existe : Exception; Mere_Existe : Exception; Cle_Absente : Exception; procedure Initi...
examples/string.asm
AbdulrahmanAbumdas/emu8086
287
101154
; this example demonstrates the input and output string functions of emu8086.inc ; this code doesnt depend on MS-DOS or any other operating system's interrupts, therefore ; it can easily be used for developing an operating system or a boot record loader. name "string" ; this macro prints a string that is given as a ...
language/alloy/Monoid.als
pogin503/vbautil
0
2185
<gh_stars>0 -- モノイド module monoid1 -- 余代数形式の書き方 /* モノイドの指標 */ sig Mon { -- 乗法 mult : Mon->one Mon } one sig pt { -- 単位 unit : Mon } /* モノイドの公理 */ -- 結合律 fact assoc { all x, y, z : Mon | (x.mult[y]).mult[z] = x.mult[y.mult[z]] } -- 単位律 fact unit { all x : Mon | pt.unit.mult[x] = x and x.mult[...
libsrc/_DEVELOPMENT/sound/bit/c/sdcc_iy/bit_beep_di.asm
jpoikela/z88dk
640
176161
<filename>libsrc/_DEVELOPMENT/sound/bit/c/sdcc_iy/bit_beep_di.asm<gh_stars>100-1000 ; void bit_beep_di(uint16_t duration_ms, uint16_t frequency_hz) SECTION code_clib SECTION code_sound_bit PUBLIC _bit_beep_di EXTERN asm_bit_beep_di _bit_beep_di: pop af pop hl pop de push de push hl push af ...
08/FunctionCalls/StaticsTest/StaticsTest.asm
Savioor/nand2tetris2022-public
0
161652
<gh_stars>0 @256 D = A @SP M = D // call Sys.init 0 // get ip @RET_ADDR0 D = A // push data in this order: RET LCL ARG THIS THAT @SP M = M + 1 A = M - 1 M = D @LCL D = M @SP M = M + 1 A = M - 1 M = D @ARG D = M @SP M = M + 1 A = M - 1 M = D @THIS D = M @SP M = M + 1 A = M - 1 M = D @THAT D = M @SP M = M + 1 A = M - 1 M...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1898.asm
ljhsiun2/medusa
9
88610
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x806d, %r15 nop nop nop sub $42841, %r12 mov $0x6162636465666768, %r10 movq %r10, %xmm3 vmovups %ymm3, (%r15) nop nop nop sub $6915, %r12 lea addresses_UC_ht+0x1b825, %r8 nop ...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_907.asm
ljhsiun2/medusa
9
177257
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x14c8d, %rsi lea addresses_D_ht+0x11fd7, %rdi clflush (%rdi) nop and $42368, %rax mov $3, %rcx rep movsb nop nop nop nop mfence lea addresses_D_ht+0x1dbd7, %r9 nop nop nop nop add $...
nand2tetris/projects/04/examples/2.asm
mdmittriy/first-principles-living
0
171018
// Compute a sum of the first n integers // n = R0 // output = R1 @R1 M=0 (LOOP) @R0 D=M @END D;JEQ @R1 M=D+M @R0 M=M-1 @LOOP 0;JMP (END) @END 0;JMP
joern-cli/frontends/fuzzyc2cpg/src/main/antlr4/io/joern/fuzzyc2cpg/Common.g4
zu1kbackup/joern
415
5298
grammar Common; import ModuleLex; @header { import java.util.Stack; } @parser::members { public void skipToEndOfObject() { Stack<Object> CurlyStack = new Stack<>(); Object o = new Object(); int t = _input.LA(1); while (t != EOF && !(CurlyStack.empty() && t == CLOSING_CURLY)) {...
programs/oeis/317/A317326.asm
neoneye/loda
22
9456
<filename>programs/oeis/317/A317326.asm<gh_stars>10-100 ; A317326: Multiples of 26 and odd numbers interleaved. ; 0,1,26,3,52,5,78,7,104,9,130,11,156,13,182,15,208,17,234,19,260,21,286,23,312,25,338,27,364,29,390,31,416,33,442,35,468,37,494,39,520,41,546,43,572,45,598,47,624,49,650,51,676,53,702,55,728,57,754,59,780,61...
bb-runtimes/examples/monitor/net/netutils.adb
JCGobbi/Nucleo-STM32G474RE
0
24815
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- ...