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
helloos/Kernel/kernel.vesa.graphice.asm
kbu1564/HelloOS
15
6762
; 그래픽 전용 라이브러리 함수 ; 2015-03-23 ; 비디오 화면 지우기 ; ebx : ColorCode ARGB _vga_clear_screen: push esi push eax push ecx mov ax, VGADescriptor mov es, ax xor esi, esi ; mov esi, dword [PhysicalBasePointer] xor eax, eax xor ecx, ecx mov ax, word [xResolution] mov cx, word [yResoluti...
Yamaha-CL-Automated-Backup-Tool.scpt
zerbzman/Yamaha-CL-Automated-Backup
1
3395
/* Yamaha CL Backup Console To File Description: This is used to automate backing up of a CL5 console. Author: <NAME> Created on: 20190121 Modified on: 20190214 Version: 1.2 // TODO: add pattern checking for ipaddress input // TODO: add support for duplicate save files // TODO: Multiple console support 1.2 notes - add...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1715.asm
ljhsiun2/medusa
9
19205
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x16761, %r11 nop nop cmp $31714, %r13 mov $0x6162636465666768, %r10 movq %r10, (%r11) nop nop nop nop nop sub %rdx, %rdx lea addresses_UC_ht+0x1d649, %rsi lea addresses_UC_ht+0x1a7e1, %...
src/fltk-widgets-clocks-updated.adb
micahwelf/FLTK-Ada
1
11239
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Clocks.Updated is procedure clock_set_draw_hook (W, D : in System.Address); pragma Import (C, clock_set_draw_hook, "clock_set_draw_hook"); pragma Inline (clock_set_draw_hook); procedure...
programs/oeis/146/A146762.asm
neoneye/loda
22
179017
; A146762: Numbers in A061039 ending with 0. ; 0,40,160,280,520,80,40,1360,1840,2200,2800,40,440,4480,5320,5920,6880,280,320,9400,10600,11440,12760,1520,560,16120,17680,18760,20440,800,2600,24640,26560,27880,29920,1160,1240,34960,37240,38800,41200,4760,560 mul $0,5 div $0,2 seq $0,144448 ; First bisection of A061039.
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_13586_1453.asm
ljhsiun2/medusa
9
95765
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1301, %rsi lea addresses_A_ht+0x2601, %rdi nop nop nop nop sub %r14, %r14 mov $56, %rcx rep movsq nop nop nop nop nop xor $41465, %r11 lea addresses_normal_ht+0x300d, %r14 nop nop nop...
notes/extra/bit_shift_left.asm
feliposz/nand2tetris
0
95937
// shift left operation // R0 = number to be shifted // R1 = bits to shift left // R2 = result // calculate jump to shift sequence (skip as needed) @R1 D=M @INVALID D;JLT // invalid if bits < 0 @16 D=A @R1 D=D-M // 16 - bits @INVALID D;JLT // invalid if bits > 16 A=D D...
test-resources/ExamplesFromRoy/md_example6.ads
hergin/ada2fuml
0
7366
<reponame>hergin/ada2fuml<gh_stars>0 with Globals_Example1; with Ada.Finalization; package Md_Example6 is type T is new Ada.Finalization.Controlled with record Attribute : Globals_Example1.Itype; end record; -- Ada Rules state that all tagged operations must be defined here function Do_It (The_T :...
tests/devices/amstradcpc/cpc6128_savecpcsna.asm
fengjixuchui/sjasmplus
220
102495
; this is trivial "does it even do something" check of SAVECPCSNA with a CPC6128 device ; there's nothing to verify after the test except sjasmplus did not error out DEVICE AMSTRADCPC6128 ORG 0x1200 start: ld b,$7F ld c,$8D ; disable ROMS, set mode 1 out (c),c ld c,$10...
src/gstreamer-rtsp-url.ads
persan/A-gst
1
10475
<filename>src/gstreamer-rtsp-url.ads private with GStreamer.GST_Low_Level.Gstreamer_0_10_Gst_Rtsp_Gstrtspurl_H; with Glib; with System; with Ada.Finalization; with GNAT.Sockets; package GStreamer.Rtsp.url is DEFAULT_PORT : constant := 554; type GstRTSPUrl (<>)is tagged private; function Get_Type return GLIB...
ejercicios2/prueba_eliminar_tercer_elemento_ordenada.adb
iyan22/AprendeAda
0
24632
<filename>ejercicios2/prueba_eliminar_tercer_elemento_ordenada.adb with Ada.Text_Io; use Ada.Text_Io; with vectores; use vectores; with eliminar_tercer_elemento_ordenada, escribir_vector; procedure prueba_eliminar_tercer_elemento_ordenada is -- este programa hace llamadas al subprograma eliminar_tercer_elemento ...
FormalAnalyzer/models/apps/DoubleTapModeChange.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
4497
<reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor module app_DoubleTapModeChange open IoTBottomUp as base open cap_userInput open cap_location open cap_switch one sig app_DoubleTapModeChange extends IoTApp { sendPushMessage : one cap_userInput, no_value : one cap_location_attr_mode_val, state : on...
src/wiki-attributes.ads
jquorning/ada-wiki
18
387
<filename>src/wiki-attributes.ads ----------------------------------------------------------------------- -- wiki-attributes -- Wiki document attributes -- Copyright (C) 2015, 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
qsort.ads
M1nified/Ada-Samples
0
3136
with System; use System; package Qsort is type vector is array (Integer range <>) of Integer; type vector_ptr is access vector; task type SortTask is entry PortIn(ValIn : in vector_ptr); entry PortOut(ValOut : out vector); end SortTask; type Sort_access is access SortTask; procedure Sort (List : in out vector_...
oeis/077/A077902.asm
neoneye/loda-programs
11
21129
; A077902: Expansion of (1-x)^(-1)/(1 + x - x^2 + x^3). ; Submitted by <NAME>(s2) ; 1,0,2,-2,5,-8,16,-28,53,-96,178,-326,601,-1104,2032,-3736,6873,-12640,23250,-42762,78653,-144664,266080,-489396,900141,-1655616,3045154,-5600910,10301681,-18947744,34850336,-64099760,117897841,-216847936,398845538,-733591314,1349284789,...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/check_displace_generation.adb
best08618/asylo
7
18610
<gh_stars>1-10 -- { dg-do run } procedure Check_Displace_Generation is package Stuff is type Base_1 is interface; function F_1 (X : Base_1) return Integer is abstract; type Base_2 is interface; function F_2 (X : Base_2) return Integer is abstract; type Concrete is new Base_1 and Bas...
src/somme_series.adb
zdimension/tdinfo302
0
19084
<filename>src/somme_series.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; procedure somme_series is function somme_entiers (n : Integer; impair : Boolean := False) return Integer is res : Integer := 0; begin ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1673.asm
ljhsiun2/medusa
9
98566
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0xb40e, %rsi lea addresses_WT_ht+0x18ac3, %rdi and %rax, %rax mov $10, %rcx rep movsw nop add $35599, %rdi lea addresses_D_ht+0xd5a5, %rbx nop nop xor...
semester-5/microprocessor/8mul.asm
saranshbht/bsc-codes
3
17257
<filename>semester-5/microprocessor/8mul.asm .model small .data first db 0ffh second db 0eeh msg db "Result: $", 10 .code .startup lea dx, msg mov ah, 09h int 21h mov al, first mul second mov cx, 4 mov bx, ax print: rol bx, 4 mov dl, bl and dl,...
test/Succeed/Issue4725.agda
KDr2/agda
0
13973
<reponame>KDr2/agda -- Andreas, 2022-06-14, issue #4725 reported by nad -- The termination checker needs to recognize -- dotted variable and record patterns as patterns -- for this example to pass. -- These should be harmless even with --cubical -- (dotted constructor patterns are not, see #4606). -- Keep fingers cros...
programs/oeis/095/A095266.asm
neoneye/loda
22
87372
; A095266: A sequence generated from the Narayana triangle considered as a matrix, or from Pascal's triangle. ; 1,42,303,1144,3105,6906,13447,23808,39249,61210,91311,131352,183313,249354,331815,433216,556257,703818,878959,1084920,1325121,1603162,1922823,2288064,2703025,3172026,3699567,4290328,4949169,5681130 mov $5,$0...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1761.asm
ljhsiun2/medusa
9
28850
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x6c14, %rcx clflush (%rcx) nop dec %rdx mov (%rcx), %eax nop nop nop nop nop xor %r11, %r11 lea addresses_normal_ht+0x4f14, %r12 nop nop and %rdi, %rdi movw $0x6162, (%r1...
solutions/61 - Lazy Pathways/size-18_speed-203.asm
michaelgundlach/7billionhumans
45
3965
-- 7 Billion Humans (2145) -- -- 61: Lazy Pathways -- -- Author: landfillbaby -- Size: 18 -- Speed: 203 a: mem4 = nearest datacube step mem4 mem2 = foreachdir nw,w,sw,n,s,ne,e,se: if mem2 == datacube and mem2 < mem1 or mem1 != datacube: mem1 = set mem2 endif if mem2 == 99: mem3 = set mem2 endif endfor mem...
src/test/resources/data/potests/test11.asm
cpcitor/mdlz80optimizer
36
175430
<gh_stars>10-100 ; Test case: ; - lines 3-6 should be optimized ld a,(var1) inc a ld (var1),a loop4: jp loop4 var1: db 0
lab_06/inter_1.asm
MrLIVB/BMSTU_MDPL
0
8359
.model tiny .code .186 org 100h start proc near mov ax, 351Ch int 21h mov word ptr old_int1Ch, bx mov word ptr old_int1Ch+2, es ;mov ax, 251Ch ;mov dx, offset int1Ch_handler ;int 21h call int1Ch_handler mov ah, 1 int 21h mov ax, 251Ch mov dx, word ptr old_int1Ch+2 ...
Cubical/ZCohomology/CohomologyRings/Unit.agda
thomas-lamiaux/cubical
0
179
<reponame>thomas-lamiaux/cubical {-# OPTIONS --safe --experimental-lossy-unification #-} module Cubical.ZCohomology.CohomologyRings.Unit where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.Isomorphism open import Cubical.Data.Nat renaming (_+_ to _+n_...
source/s-initia.adb
ytomino/drake
33
11287
<filename>source/s-initia.adb with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Storage_Pools.Overlaps; package body System.Initialization is pragma Suppress (All_Checks); type Object_Access is access all Object; for Object_Access'Storage_Pool use Storage_Pools.Over...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2318.asm
ljhsiun2/medusa
9
19183
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x14ff3, %r11 clflush (%r11) nop nop nop nop nop xor %rsi, %rsi vmovups (%r11), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $1, %xmm4, %r12 nop n...
src/Equivalence-relation.agda
nad/equality
3
13215
------------------------------------------------------------------------ -- Equivalence relations ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Equivalence-relation {e⁺} (eq : ∀ {a p} → Equality-with-J a p e⁺) where open Der...
tpantlr2-code/code/lexmagic/ModeTagsLexer.g4
cgonul/antlr-poc
10
6807
lexer grammar ModeTagsLexer; // Default mode rules (the SEA) OPEN : '<' -> mode(ISLAND) ; // switch to ISLAND mode TEXT : ~'<'+ ; // clump all text together mode ISLAND; CLOSE : '>' -> mode(DEFAULT_MODE) ; // back to SEA mode SLASH : '/' ; ID : [a-zA-Z]+ ; ...
oeis/271/A271995.asm
neoneye/loda-programs
11
22254
; A271995: The Pnictogen sequence: a(n) = A018227(n)-3. ; Submitted by <NAME>(s4) ; 7,15,33,51,83,115,165,215,287,359,457,555,683,811,973,1135,1335,1535,1777,2019,2307,2595,2933,3271,3663,4055,4505,4955,5467,5979,6557,7135,7783,8431,9153,9875,10675,11475,12357,13239,14207,15175,16233,17291,18443,19595,20845,22095,23447...
Cubical/Algebra/Semigroup/Construct/Left.agda
bijan2005/univalent-foundations
0
14162
{-# OPTIONS --cubical --no-import-sorts --safe #-} open import Cubical.Core.Everything open import Cubical.Foundations.HLevels module Cubical.Algebra.Semigroup.Construct.Left {ℓ} (Aˢ : hSet ℓ) where open import Cubical.Foundations.Prelude open import Cubical.Algebra.Semigroup import Cubical.Algebra.Magma.Construct....
programs/oeis/147/A147534.asm
neoneye/loda
22
93271
<gh_stars>10-100 ; A147534: a(n) is congruent to (1,1,2) mod 3. ; 1,1,2,4,4,5,7,7,8,10,10,11,13,13,14,16,16,17,19,19,20,22,22,23,25,25,26,28,28,29,31,31,32,34,34,35,37,37,38,40,40,41,43,43,44,46,46,47,49,49,50,52,52,53,55,55,56,58,58,59,61,61,62,64,64,65,67,67,68,70,70,71 mov $1,$0 gcd $1,3 div $1,3 add $0,$1
oeis/048/A048700.asm
neoneye/loda-programs
11
13323
<gh_stars>10-100 ; A048700: Binary palindromes of odd length (written in base 10). ; Submitted by <NAME> ; 1,5,7,17,21,27,31,65,73,85,93,99,107,119,127,257,273,297,313,325,341,365,381,387,403,427,443,455,471,495,511,1025,1057,1105,1137,1161,1193,1241,1273,1285,1317,1365,1397,1421,1453,1501,1533,1539,1571,1619,1651,1675...
programs/oeis/128/A128428.asm
neoneye/loda
22
14912
<gh_stars>10-100 ; A128428: Number of distinct prime factors of n^2+1. ; 1,1,2,1,2,1,2,2,2,1,2,2,3,1,2,1,3,2,2,1,3,2,3,1,2,1,3,2,2,2,3,2,3,2,2,1,3,2,2,1,2,2,3,2,2,2,4,2,2,2,2,2,3,1,3,1,3,2,2,2,2,2,3,2,2,1,3,2,2,2,2,3,4,1,3,2,3,2,2,2,3,2,4,1,2,2,3,2,3,1,3,2,3,1,2,2,3,3,3,2 add $0,1 pow $0,2 seq $0,1221 ; Number of dist...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_1_270.asm
ljhsiun2/medusa
9
5739
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_1_270.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1e779, %rsi lea addresses_normal_ht+0x13499, %rdi nop nop nop nop nop cmp...
4rth-Sem-Ise/Microprocessors -X86-/files.asm
mvnsia/4th_Sem_Ise
0
12087
<filename>4rth-Sem-Ise/Microprocessors -X86-/files.asm assume cs:code, ds:data disp macro str3 lea dx,str3 mov ah,0Dh int 21h mov ah,09h int 21h endm data segment fname2 db "shashi.txt" msg1 db "File created successfully $" ;pass your own message to verify fname1 db ...
game/logic/game_states/credits_screen.asm
pompshuffle/super-tilt-bro
2
81788
init_credits_screen: .( .( line_num = $0005 char_cursor_low = $0006 char_cursor_high = $0007 ; Copy menus tileset in CHR-RAM jsr set_menu_chr SWITCH_BANK(#DATA_BANK_NUMBER) ; Construct nt buffers for palettes (to avoid changing it mid-frame) lda #<palette_title sta tmpfield1 lda #>palette_title ...
oeis/040/A040156.asm
neoneye/loda-programs
11
4375
; A040156: Continued fraction for sqrt(170). ; Submitted by <NAME> ; 13,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26 min $0,1 add $0,1 mul $0,13
programs/oeis/032/A032607.asm
karttu/loda
0
100688
<gh_stars>0 ; A032607: Concatenation of n and n + 2 or {n,n+2}. ; 13,24,35,46,57,68,79,810,911,1012,1113,1214,1315,1416,1517,1618,1719,1820,1921,2022,2123,2224,2325,2426,2527,2628,2729,2830,2931,3032,3133,3234,3335,3436,3537,3638,3739,3840,3941,4042,4143,4244 mov $2,$0 add $2,1 mov $9,$0 lpb $2,1 mov $0,$9 sub $2,...
programs/oeis/154/A154811.asm
jmorken/loda
1
99686
<filename>programs/oeis/154/A154811.asm<gh_stars>1-10 ; A154811: a(n) = Fibonacci(2n+1) mod 9. ; 1,2,5,4,7,8,8,7,4,5,2,1,1,2,5,4,7,8,8,7,4,5,2,1,1,2,5,4,7,8,8,7,4,5,2,1,1,2,5,4,7,8,8,7,4,5,2,1,1,2,5,4,7,8,8,7,4,5,2,1,1,2,5,4,7,8,8,7,4,5,2,1 mov $1,1 lpb $0 sub $0,1 add $2,$1 add $1,$2 mod $1,9 lpe
agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-01-hc-sorted-list.agda
haroldcarr/learn-haskell-coq-ml-etc
36
917
{-# OPTIONS --allow-unsolved-metas #-} open import bool open import bool-thms2 open import eq open import maybe open import product open import product-thms open import bool-relations using (transitive ; total) module z05-01-hc-sorted-list (A : Set) -- type of elements (_≤A_ : A → A → 𝔹) ...
src/Ninu.Emulator.Tests/Cpu/TestFiles/nmi.6502.asm
jorgy343/Ninu
0
95859
<filename>src/Ninu.Emulator.Tests/Cpu/TestFiles/nmi.6502.asm<gh_stars>0 .include "..\..\..\Cpu\TestFiles\std.6502.asm" * = $0000 ; cycles ldx #$ab ; 01 - 02 ldx #$ab ; 03 - 04 inx ; 05 - 06 inx ; 07 - 08 iny ; 09 - 10 iny ; 11 - 12 brk ; 13 - 19 n...
x64/dll/add.asm
januwA/nasm-scaffold
0
19163
<filename>x64/dll/add.asm<gh_stars>0 global dllmain section .text dllmain: mov eax,1 ret add: push rbp mov rbp,rsp mov rax,rcx add rax,rdx mov rsp,rbp pop rbp ret
Task/Simple-windowed-application/Ada/simple-windowed-application.ada
LaudateCorpus1/RosettaCodeData
1
11891
with Gdk.Event; use Gdk.Event; with Gtk.Button; use Gtk.Button; with Gtk.Label; use Gtk.Label; with Gtk.Window; use Gtk.Window; with Gtk.Widget; use Gtk.Widget; with Gtk.Table; use Gtk.Table; with Gtk.Handlers; with Gtk.Main; procedure Simple_Windowed_Application is Window : Gtk_Window; Grid : Gtk_Ta...
programs/oeis/033/A033162.asm
jmorken/loda
1
169190
<reponame>jmorken/loda<gh_stars>1-10 ; A033162: Begins with (3, 4); avoids 3-term arithmetic progressions. ; 3,4,6,7,12,13,15,16,30,31,33,34,39,40,42,43,84,85,87,88,93,94,96,97,111,112,114,115,120,121,123,124,246,247,249,250,255,256,258,259,273,274,276,277,282,283,285,286,327,328,330,331,336,337,339,340,354,355,357,358...
src/rng.asm
akumanatt/2600-wordle
1
89102
; random number generator routines ; using 8-bit lag-2 MWC PRNG with multiplier of 224 .section rng_code rng .block init ; seed the initial value with (hopefully) uninitalized memory and I/O reads ldx #$2f - lda rng_state eor $70,x sta rng_state lda rng_state+1 eor $a0,x ...
models/tests/test51g.als
transclosure/Amalgam
4
911
module tests/test51 -- example created by <NAME> on behalf of Mr. X ------------ Points, Features, and Places ------------ -- A physical point on the ground, on a map, etc. A point -- may be contained in a place. sig Point { place: lone Place } -- A major geographic feature: a place or a road. abstract sig Featu...
oeis/102/A102754.asm
neoneye/loda-programs
11
13986
<reponame>neoneye/loda-programs<filename>oeis/102/A102754.asm ; A102754: Decimal expansion of (Pi^2)/2 -4. ; Submitted by <NAME> ; 9,3,4,8,0,2,2,0,0,5,4,4,6,7,9,3,0,9,4,1,7,2,4,5,4,9,9,9,3,8,0,7,5,5,6,7,6,5,6,8,4,9,7,0,3,6,2,0,3,9,5,3,1,3,2,0,6,6,7,4,6,8,8,1,1,0,0,2,2,4,1,1,2,0,9,6,0,2,6,2,1,5,0,0,8,8,6,7,0,1,8,5,9,2,7...
programs/oeis/137/A137445.asm
karttu/loda
0
92903
; A137445: a(n) = 2a(n-1)-2a(n-2), with a(0)=3 and a(1)=2. ; 3,2,-2,-8,-12,-8,8,32,48,32,-32,-128,-192,-128,128,512,768,512,-512,-2048,-3072,-2048,2048,8192,12288,8192,-8192,-32768,-49152,-32768,32768,131072,196608,131072,-131072,-524288,-786432,-524288,524288 mov $2,$0 mov $0,6 mov $1,6 lpb $2,1 mul $1,2 sub $1,1...
ADL/drivers/stm32f334/stm32-can.ads
JCGobbi/Nucleo-STM32F334R8
0
15986
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2018, AdaCore -- -- ...
alloy4fun_models/trainstlt/models/8/2KwGSuj5M7q5CJe47.als
Kaixi26/org.alloytools.alloy
0
5134
<filename>alloy4fun_models/trainstlt/models/8/2KwGSuj5M7q5CJe47.als open main pred id2KwGSuj5M7q5CJe47_prop9 { all t:Train | some tk:Entry | eventually (t->tk in pos and before no t.pos) } pred __repair { id2KwGSuj5M7q5CJe47_prop9 } check __repair { id2KwGSuj5M7q5CJe47_prop9 <=> prop9o }
xv6-l/mkdir.asm
xsuler/osPlayground
0
11243
_mkdir: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
non_regression/other_x86_linux_28.s.asm
LRGH/plasmasm
1
11081
<reponame>LRGH/plasmasm .file "(extract)plotport.c" .section .rodata .globl XX_LOWER .type XX_LOWER, @object XX_LOWER: .byte 46 .size XX_LOWER, 1 # ---------------------- .globl XX_UPPER .type XX_UPPER, @object XX_UPPER: .byte 39 .size XX_UPPER, 1 # ---------------------- .globl YY .type YY, @object Y...
src/data/scoreboard.asm
jonasbantunes/tictactoe-gb
0
80159
<reponame>jonasbantunes/tictactoe-gb scoreboard: ; db " " db "X: O: " db 0
libsrc/target/excali64/gencon/copy_font.asm
jpoikela/z88dk
640
243647
<reponame>jpoikela/z88dk<filename>libsrc/target/excali64/gencon/copy_font.asm<gh_stars>100-1000 SECTION code_graphics PUBLIC copy_font defc PCG_RAM = $4000 ; Copy a font into page 0 of the PCG memory ; Entry: bc =font ; l = start character ; h = number of characters copy_font: ld a,h push af ; Each c...
source/nodes/program-nodes-requeue_statements.ads
optikos/oasis
0
1605
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Requeue_Statements; with Program.Element_Visitors; package Pro...
array/a001.asm
czfshine/assembly-exercise
1
10598
<reponame>czfshine/assembly-exercise<filename>array/a001.asm ; 8086 assembly file ; by:czfshine ; date: 2018/04/03 13:43:26 ; The Main Data segment DATA SEGMENT M db 1,2,-3,4,-5,6,7,-8,9,-10,8,6,8,6,81,5,45,68,65,65; len equ $ -M p db len dup(?) lenp dw 0 n db len dup(?) lenn dw 0 DATA ENDS ST...
programs/oeis/217/A217400.asm
jmorken/loda
1
13685
; A217400: Numbers starting with 7. ; 7,70,71,72,73,74,75,76,77,78,79,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,76...
break-stub.applescript
tangledhelix/breaktime-workflow
2
3006
on alfred_script(q) -- A list of apps to quit when switching to this state set appsToQuit to {} -- A list of apps to close windows (not quit) when switching to this state set appsToCloseWindows to {} -- A list of apps to start when switching to this state set appsToLaunch to {"Slack", "Messag...
text/TextParser.applescript
GitSyncApp/applescripts
6
4389
--property TextParser : my ScriptLoader's load_script(alias ((path to scripts folder from user domain as text) & "text:TextParser.applescript")) (* * Returns an array of every word in the_text *) on every_word(the_text) return every word of the_text end every_word (* * Returns all paragraps in a text as a list * T...
CS21/asm/lcm.asm
rizarae/rizarae.github.io
0
91231
# Lab 4 # LCM # lab lab .text main: li $v0, 5 syscall # first int (a) move $t0, $v0 li $v0, 5 syscall # second int (b) move $t1, $v0 move $s0, $t0 move $s1, $t1 lcm: beq $t0, $t1, end bgt $t0, $t1, add_to_t1 add $t0, $t0, $s0 b lcm add_to_t1: add $t1, $t1, $s1 b lcm end: li $v0, 1 ...
2A/S7/SysConc/TP/TP6/lr-synchro-basique.ads
MOUDDENEHamza/ENSEEIHT
4
28593
<reponame>MOUDDENEHamza/ENSEEIHT package LR.Synchro.Basique is function Nom_Strategie return String; procedure Demander_Lecture; procedure Demander_Ecriture; procedure Terminer_Lecture; procedure Terminer_Ecriture; end LR.Synchro.Basique;
Source/display.adb
XMoose25X/Advanced-Dungeon-Assault
1
20814
with Ada.Text_IO, Ada.Integer_Text_IO; use Ada.Text_IO, Ada.Integer_Text_IO; package body display is function "=" (L, R : pixelType) return Boolean is begin null; --do compare return (L.char = R.char); end "="; procedure setPixel(X,Y : Integer; char : character; color : colorType := colorDefault) is beg...
src/LibraBFT/Impl/Consensus/EpochManager/Properties.agda
LaudateCorpus1/bft-consensus-agda
0
10857
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types open import LibraBFT.Concrete.System open imp...
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/chip/ys_chip6.asm
prismotizm/gigaleak
0
13673
<reponame>prismotizm/gigaleak<gh_stars>0 Name: ys_chip6.asm Type: file Size: 42891 Last-Modified: '2016-05-13T04:50:33Z' SHA-1: 3E967CE655D20BCD5489FC23DDF5805BA17A6CC5 Description: null
source/amf/uml/amf-uml-transitions.ads
svn2github/matreshka
24
7776
<filename>source/amf/uml/amf-uml-transitions.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_749.asm
ljhsiun2/medusa
9
11597
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x89ab, %rbp add %r13, %r13 and $0xffffffffffffffc0, %rbp vmovntdqa (%rbp), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $0, %xmm0, %rax nop nop nop nop nop and %rdx, %rdx lea ...
y2s2/csa/practicals/prac-5/warm-up-1.asm
ouldevloper/university
8
165708
; Write program, acepts digit, multiply itself, display result .MODEL SMALL .STACK 100 .DATA pr DB "Enter a digit: $" dig DB ? num1 DB ? num2 DB ? TEN DB 10 NL DB 13, 10, "$" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ; Accept digit MOV AH, 09H LEA DX, pr INT 21H ...
source/oasis/program-elements-element_iterator_specifications.ads
reznikmm/gela
0
14671
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Subtype_Indications; with ...
BFF.agda
jvoigtlaender/bidiragda
0
12561
module BFF where open import Data.Nat using (ℕ) open import Data.Fin using (Fin) open import Level using () renaming (zero to ℓ₀) import Category.Monad import Category.Functor open import Data.Maybe using (Maybe ; just ; nothing ; maybe′) open Category.Monad.RawMonad {Level.zero} Data.Maybe.monad using (_>>=_) open Ca...
src/day-12/adventofcode-day_12-main.adb
persan/advent-of-code-2020
0
17932
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_12.Main is begin Put_Line ("Day-12"); end Adventofcode.Day_12.Main;
misc/Lib/uptime_and_wifi.applescript
kinshuk4/evernote-automation
4
694
on run argv if (do shell script "uptime") contains "mins," then set uptime to do shell script "uptime | awk -F 'mins,' '{print $1}' | awk '{print $3}'" else set uptime to do shell script "uptime | awk -F ',' '{print $1}' | awk '{print $3}' | awk -F ':' '{hrs=$1; min=$2; print hrs*60 + min}'" end if if (upti...
tests/missions-test_data-tests-mission_container-test_data-tests.ads
thindil/steamsky
80
9643
<gh_stars>10-100 -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Missions.Test_Data.Tests.Mission_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATte...
programs/oeis/036/A036126.asm
karttu/loda
0
99291
; A036126: a(n) = 3^n mod 43. ; 1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22,23,26,35,19,14,42,40,34,16,5,15,2,6,18,11,33,13,39,31,7,21,20,17,8,24,29,1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22,23,26,35,19,14,42,40,34,16,5,15,2,6,18,11,33,13,39,31,7,21,20,17,8,24,29,1,3,9,27,38,28,41,37,25,32,10,30,4,12,36,22,23,26,35,1...
Task/Nautical-bell/AppleScript/nautical-bell.applescript
LaudateCorpus1/RosettaCodeData
1
4385
<reponame>LaudateCorpus1/RosettaCodeData repeat set {hours:h, minutes:m} to (current date) if {0, 30} contains m then set bells to (h mod 4) * 2 + (m div 30) if bells is 0 then set bells to 4 set pairs to bells div 2 repeat pairs times say "ding dong" using "Bells" end repeat ...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_12527_548.asm
ljhsiun2/medusa
9
166906
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xd8d7, %rbx nop nop sub %r11, %r11 movl $0x61626364, (%rbx) nop nop nop nop inc %r14 lea addresses_UC_ht+0x166d7, %rsi nop nop nop nop nop add %r9, %r9 mov (%rsi), %...
basic_associations/polymophic_pure_rdb_oriented.als
nowavailable/alloy_als_study
0
2229
sig UserProfile { portrait: disj one Photo } sig Album { photos: disj some Photo } /*{ #photos > 0 }*/ sig Photo { photoable_type: one PR_PhotoableTypeField // photable_id は定義しない。 } abstract sig PR_PhotoableTypeField { --photos_identify: one Photo } sig UserProfile_Photoable extends PR_PhotoableTypeFiel...
Assembler/tests/optimizations/branching.asm
karannewatia/SCALE-MAMBA
196
5912
popint r32 # 324 popint r33 # 325 ldint r37, 2 # 326 jmpeq r37, 0, 1 # 330 # Local_test-0-if-block-7 print_int r33 # 338 # Local_test-0-end-if-8 print_int r32 # 338
common.asm
m4t3uz/leaf-d
0
175288
; Copyright (C) 2021 <NAME> [bits 32] global WritePortByte global FlushTLB global ReadEIP global CopyPagePhysical WritePortByte: mov edx, [esp + 4] ; port mov eax, [esp + 8] ; value out dx, al ret FlushTLB: mov eax, cr3 mov cr3, eax ret ReadEIP: mov eax, [esp] ret CopyPagePhysical: push ebx ...
src/asis/a4g-a_elists.adb
My-Colaborations/dynamo
15
13830
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
oeis/137/A137429.asm
neoneye/loda-programs
11
94368
; A137429: a(n) = -2*a(n-1) - 2*a(n-2), with a(0)=1 and a(1)=-4. ; Submitted by <NAME>(s4) ; 1,-4,6,-4,-4,16,-24,16,16,-64,96,-64,-64,256,-384,256,256,-1024,1536,-1024,-1024,4096,-6144,4096,4096,-16384,24576,-16384,-16384,65536,-98304,65536,65536,-262144,393216,-262144,-262144,1048576,-1572864,1048576,1048576,-4194304,...
test/asset/agda-stdlib-1.0/Codata/Cofin.agda
omega12345/agda-mode
0
1607
------------------------------------------------------------------------ -- The Agda standard library -- -- "Finite" sets indexed on coinductive "natural" numbers ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module Codata.Cofin where open i...
programs/oeis/199/A199483.asm
karttu/loda
1
23404
; A199483: 6*7^n+1. ; 7,43,295,2059,14407,100843,705895,4941259,34588807,242121643,1694851495,11863960459,83047723207,581334062443,4069338437095,28485369059659,199397583417607,1395783083923243,9770481587462695,68393371112238859 mov $1,7 pow $1,$0 mul $1,6 add $1,1
libsrc/fcntl/msxdos2/fdtell.asm
jpoikela/z88dk
640
171577
SECTION code_clib PUBLIC fdtell PUBLIC _fdtell INCLUDE "target/msx/def/msxdos2.def" EXTERN MSXDOS EXTERN msxdos_error .fdtell ._fdtell pop af pop bc ;File handler push bc push af ld hl,0 ld de,0 ld a,1 ld c,_SEEK call MSXDOS ld (msxdos_error),a and a ret z ld hl,-1 ;return -1 ld d,h ld e...
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_uscib0_i2c_11.asm
tp-freeforall/breakfast
1
85017
;******************************************************************************* ; MSP430x24x Demo - USCI_B0 I2C Slave TX multiple bytes to MSP430 Master ; ; Description: This demo connects two MSP430's via the I2C bus. The slave ; transmits to the master. This is the slave code. The interrupt driven ; dat...
src/evaluate-matrices.adb
hgrodriguez/embedded-dashboard-console
0
25614
-- -- Copyright 2021 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- package body Evaluate.Matrices is -------------------------------------------------------------------------- -- Check functions for the input received -- Those functions set the global variables to the received value -- ...
spectranet/socklib/bind.asm
speccytools/spectranet-gdbserver
40
246583
<filename>spectranet/socklib/bind.asm ; CALLER linkage for bind() PUBLIC bind EXTERN bind_callee EXTERN ASMDISP_BIND_CALLEE ; int bind(int sockfd, const struct sockaddr *my_addr, socklen_t addrlen); .bind pop hl ; return addr pop bc ; addrlen pop ix ; my_addr pop af ; sockfd push af push ix push bc push hl...
45/runtime/herc/fvars.asm
minblock/msdos
0
9299
; TITLE FVARS - Global data for MSHERC. ;*** ;FVARS ; ; Copyright <C> 1987, 1988, Microsoft Corporation ; ;Purpose: ; Global data for MSHERC. ; ;****************************************************************************** include hgcdefs.inc code segment para public 'code' assume cs:cod...
programs/oeis/182/A182578.asm
neoneye/loda
22
163954
<reponame>neoneye/loda<gh_stars>10-100 ; A182578: Number of ones in Zeckendorf representation of n^n. ; 1,1,2,3,3,6,3,10,13,12,16,15,20,24,20,30,25,31,26,33,33,31,34,42,49,49,53,55,56,55,58,64,64,67,73,78,70,76,77,75,89,83,92,90,106,99,100,99,107,116,107,115,125,125,122,119,127,137,127,138,155,156,153,160,145,154,162,1...
alloy4fun_models/trashltl/models/17/dss3m2bvkhiqE9BYK.als
Kaixi26/org.alloytools.alloy
0
5217
open main pred iddss3m2bvkhiqE9BYK_prop18 { always all f : Protected | f in Trash => f not in Protected' } pred __repair { iddss3m2bvkhiqE9BYK_prop18 } check __repair { iddss3m2bvkhiqE9BYK_prop18 <=> prop18o }
src/rt/minit.asm
deviator/druntime
373
247115
<filename>src/rt/minit.asm ;_ minit.asm ; Module initialization support. ; ; Copyright: Copyright Digital Mars 2000 - 2010. ; License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). ; Authors: <NAME> ; ; Copyright Digital Mars 2000 - 2010. ; Distributed under the Boost Software License, Ve...
oeis/035/A035023.asm
neoneye/loda-programs
11
4478
; A035023: One ninth of 9-factorial numbers. ; 1,18,486,17496,787320,42515280,2678462640,192849310080,15620794116480,1405871470483200,139181275577836800,15031577762406374400,1758694598201545804800,221595519373394771404800,29915395115408294139648000,4307816896618794356109312000 add $0,1 mov $1,2 lpb $0 sub $0,1 add...
Ada/inc/Problem_37.ads
Tim-Tom/project-euler
0
3490
<reponame>Tim-Tom/project-euler<gh_stars>0 package Problem_37 is procedure Solve; end Problem_37;
oeis/002/A002283.asm
neoneye/loda-programs
11
5895
; A002283: a(n) = 10^n - 1. ; 0,9,99,999,9999,99999,999999,9999999,99999999,999999999,9999999999,99999999999,999999999999,9999999999999,99999999999999,999999999999999,9999999999999999,99999999999999999,999999999999999999,9999999999999999999,99999999999999999999,999999999999999999999,9999999999999999999999,9999999999999...
libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/c/sdcc/i2c_reset_fastcall.asm
Frodevan/z88dk
640
161493
SECTION code_driver EXTERN asm_i2c_reset PUBLIC _i2c_reset_fastcall ;------------------------------------------------------------------------------ ; Reset a PCA9665 device ; ; void i2c_reset( uint8_t __IO_I2C1_PORT_MSB or __IO_I2C2_PORT_MSB ) __z88dk_fastcall ._i2c_reset_fastcall ld a,l jp asm_i2c_rese...
oeis/098/A098531.asm
neoneye/loda-programs
11
177862
; A098531: Sum of fifth powers of first n Fibonacci numbers. ; 0,1,2,34,277,3402,36170,407463,4491564,49926988,553211363,6137270812,68054635036,754774491429,8370420537086,92830050637086,1029498223070793,11417322172518550,126619992693837974,1404237451180502875,15573231068749231000,172709782964518145976,19153808277631339...
src/Categories/Category/Construction/TwistedArrow.agda
Trebor-Huang/agda-categories
279
13327
<filename>src/Categories/Category/Construction/TwistedArrow.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category using (Category; module Definitions) -- Definition of the "Twisted Arrow" Category of a Category 𝒞 module Categories.Category.Construction.TwistedArrow {o ℓ e} (𝒞 : Category o ℓ e) wher...
ffight/lcs/container/1F.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
244701
<gh_stars>1-10 copyright zengfr site:http://github.com/zengfr/romhack 0518CC bmi $518ee [container+1F] 051914 move.b #$32, ($1f,A6) [container+ 3] 05191A move.w #$400, ($50,A6) [container+1F] 052328 bmi $5234a [container+1F] 05236C move.b #$32, ($1f,A6) [container+ 3] 052372 movea.l #$523f4, A1 [conta...
test/counter.asm
ghasshee/pen
0
104096
# Stack: [] 0x4 MSTORE(0x40, 0x60) 0x5 PUSH(0x20) 0x26 DUP1 0x27 PUSH(0x40) 0x29 DUP1 0x2A PUSH(MLOAD(POP(0x40))) 0x2B DUP1 0x2C SWAP3 0x2D PUSH(POP(0x20) + POP(@0x2A)) 0x2E SWAP1 0x2F MSTORE(POP(0x40), POP(@0x2D)) 0x30 DUP2 0x31 DUP1 0x34 DUP2 0x35 CODECOPY(POP(@0x2A), CODESIZE() - POP(0x20), POP(0x20)) 0x5C JUMPI(0x2...