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
alloy4fun_models/trashltl/models/15/DuCLAamNQm8NStmTf.als
Kaixi26/org.alloytools.alloy
0
846
<filename>alloy4fun_models/trashltl/models/15/DuCLAamNQm8NStmTf.als<gh_stars>0 open main pred idDuCLAamNQm8NStmTf_prop16 { all f: File | always once f in Protected implies historically f in Protected } pred __repair { idDuCLAamNQm8NStmTf_prop16 } check __repair { idDuCLAamNQm8NStmTf_prop16 <=> prop16o }
PCA_LDA_GUI_Code/mikroC PRO for ARM/PCA_FLDA_GUI_driver.asm
umitkacar/STM32_MikroC
2
10631
<filename>PCA_LDA_GUI_Code/mikroC PRO for ARM/PCA_FLDA_GUI_driver.asm _Init_ADC: ;PCA_FLDA_GUI_driver.c,61 :: void Init_ADC() { SUB SP, SP, #4 STR LR, [SP, #0] ;PCA_FLDA_GUI_driver.c,62 :: ADC_Set_Input_Channel(_ADC_CHANNEL_8 | _ADC_CHANNEL_9); MOVW R0, #768 BL _ADC_Set_Input_Channel+0 ;PCA_FLDA_GUI_driver.c...
src/asf-applications.ads
jquorning/ada-asf
12
25252
<filename>src/asf-applications.ads<gh_stars>10-100 ----------------------------------------------------------------------- -- applications -- Ada Web Application -- Copyright (C) 2009, 2010, 2013, 2015, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
test_programs/ise.asm
mfkiwl/QNICE-FPGA-hyperRAM
53
12323
<reponame>mfkiwl/QNICE-FPGA-hyperRAM ; Test program for reproducing "The ISE vs. Vivado riddle" as described on ; GitHub here: https://github.com/sy2002/QNICE-FPGA/issues/4 ; ; What this program does: Reset the hardware cycle counter (which is increased ; at each clock cycle - as the time of making 50 MHz) and the hard...
src/apps/echo/echo.asm
tishion/PiscisOS
86
29010
use32 org 00h APP_HEADER: db 'PISCISAPP000' ;;00h Signature dd 0 ;;0ch Reserverd dd APP_START ;;10h Entry Point dd APP_ARGS ;;14h Arguments Buffer dd 0 ;;18h Reserved APP_ARGS: times (256) db 0 APP_START: mov edi, APP_ARGS mov eax, 04h int 50h mov eax, 11h int 50h
cards/bn4/ModCards/134-D028 Charge WideSwrd (0E).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
3841
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 58 card_no equ "058" card_sub equ "Mod Card 058" card_sub_x ...
src/api/agate-api.adb
Fabien-Chouteau/AGATE
3
16949
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, <NAME> -- -- -- -- Redistrib...
alloy4fun_models/trashltl/models/15/DDBBihAAY3LsCEf94.als
Kaixi26/org.alloytools.alloy
0
3923
<filename>alloy4fun_models/trashltl/models/15/DDBBihAAY3LsCEf94.als open main pred idDDBBihAAY3LsCEf94_prop16 { always (all f:File | f in Protected implies always (f in Protected') ) } pred __repair { idDDBBihAAY3LsCEf94_prop16 } check __repair { idDDBBihAAY3LsCEf94_prop16 <=> prop16o }
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_429.asm
ljhsiun2/medusa
9
80039
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x285, %r10 clflush (%r10) nop nop nop nop add %r8, %r8 mov (%r10), %rsi nop cmp $48637, %rbx lea addresses_WC_ht+0x16965, %rcx nop nop cmp $15790, %rdi movb $0x61, (%rcx) nop nop nop nop...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1806.asm
ljhsiun2/medusa
9
3532
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x14740, %rsi lea addresses_normal_ht+0x1cb40, %rdi clflush (%rdi) nop nop nop xor $48253, %r11 mov $103, %rcx rep movsq xor %rbx, %rbx lea addresses_D_ht+0xdd08, %rbp add %r10...
lib/aflexnat/parse_goto.ads
alvaromb/Compilemon
1
5471
package Parse_Goto is type Small_Integer is range -32_000 .. 32_000; type Goto_Entry is record Nonterm : Small_Integer; Newstate : Small_Integer; end record; --pragma suppress(index_check); subtype Row is Integer range -1 .. Integer'Last; type Goto_Parse_Table is array (Row r...
modules/libc/misc/conio.nasm
r-tty/radios
0
19309
;------------------------------------------------------------------------------- ; conio.nasm - some DOS-like terminal I/O functions. ;------------------------------------------------------------------------------- module libc.conio %include "lib/termios.ah" %include "lib/defs.ah" exportproc _getch, _putch, _kbhit ...
C64128Asm/8addwithcheck.asm
jacmoe/c64adventures
17
95643
<reponame>jacmoe/c64adventures<gh_stars>10-100 ; addition program with error-checking ; 10 SYS (32768) *=$0801 BYTE $0E, $08, $0A, $00, $9E, $20, $28, $33, $32, $37, $36, $38, $29, $00, $00, $00 *=$8000 add8bit lda #0 sta $02aa cld clc lda $...
programs/oeis/218/A218447.asm
neoneye/loda
22
8292
<filename>programs/oeis/218/A218447.asm ; A218447: a(n) = Sum_{k>=0} floor(n/(5*k + 4)). ; 0,0,0,0,1,1,1,1,2,3,3,3,4,4,5,5,6,6,7,8,9,9,9,9,11,11,11,12,14,15,15,15,16,16,17,17,19,19,20,21,22,22,23,23,25,26,26,26,28,29,29,29,30,30,32,32,34,35,36,37,38,38,38,39,41,41,41,41,43,44,45,45,48,48,49,49,51,51,52,53,54,55,55,55,5...
HoTT/Equivalence.agda
michaelforney/hott
0
1247
{-# OPTIONS --without-K #-} open import HoTT.Base open import HoTT.Identity open import HoTT.Homotopy module HoTT.Equivalence where open variables private variable C : 𝒰 i module _ (f : A → B) where qinv = Σ[ g ∶ (B → A) ] (g ∘ f ~ id) × (f ∘ g ~ id) -- Bi-invertible map linv = Σ[ g ∶ (B → A) ] g ∘ f ~ id ...
src/main/fragment/mos6502-common/vbuc1_ge_vbum1_then_la1.asm
jbrandwood/kickc
2
103365
lda #{c1} cmp {m1} bcs {la1}
electrum/src/main/resources/models/examples/case_studies/syncimpl.als
haslab/Electrum
29
4421
<filename>electrum/src/main/resources/models/examples/case_studies/syncimpl.als module examples/case_studies/syncimpl /* * Model of a file synchronizer reconciliation algorithm. * * Adapted from: * Reference: <NAME> and <NAME>, * "What is a File Synchronizer", Indiana University CSCI * Technical Report #50...
oeis/321/A321461.asm
neoneye/loda-programs
11
96958
<reponame>neoneye/loda-programs ; A321461: a(n) = -a(n-1) + 2*a(n-2) + a(n-3), a(0) = -1, a(1) = -2, a(2) = -4. ; Submitted by <NAME> ; -1,-2,-4,-1,-9,3,-22,19,-60,76,-177,269,-547,908,-1733,3002,-5560,9831,-17949,32051,-58118,104271,-188456,338880,-611521,1100825,-1984987,3575116,-6444265,11609510,-20922924,37697679,-...
ada/examples/regression/regression.adb
carter-e-veldhuizen/RACK
4
15499
<gh_stars>1-10 with Regression_Library; use Regression_Library; package body Regression is function "&" (Left, Right : String) return String is begin return Left; end "&"; package body Outer is function OuterFun (Input : Boolean) return Boolean is begin return Fal...
L/01/TypeDSL.agda
felixwellen/DSLsofMath
0
15010
-- A DSL example in the language Agda: "polynomial types" module TypeDSL where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Data.Nat data E : Set1 where Add : E -> E -> E Mul : E -> E -> E Zero : E One : E eval : E -> Set eval (Add x y) = (eval...
programs/oeis/087/A087946.asm
neoneye/loda
22
29332
; A087946: Expansion of (1-3x+x^2)/((1-2x)(1-4x+x^2)). ; 1,3,10,35,126,461,1702,6315,23494,87533,326382,1217483,4542526,16950573,63255670,236063915,880983606,3287837741,12270301822,45793238475,170902389934,637815796973,2380359749382,8883621103403 add $0,1 mov $1,2 pow $1,$0 lpb $1 mov $1,2 pow $1,$0 lpe seq $0,350...
oeis/286/A286874.asm
neoneye/loda-programs
11
12756
; A286874: Maximal number of binary vectors of length n such that the union (or bitwise OR) of any 2 distinct vectors does not contain any other vector. ; 1,2,2,3,4,5,6,7,8,12,13,17 mov $2,$0 lpb $0 mov $3,$2 dif $3,$0 div $3,3 sub $2,$3 cmp $3,$2 cmp $3,0 mul $3,$0 sub $0,1 mov $4,$2 cmp $4,0 ad...
Cats/Category/Setoids/Facts/Initial.agda
alessio-b-zak/cats
0
16675
module Cats.Category.Setoids.Facts.Initial where open import Data.Empty using (⊥) open import Level open import Cats.Category open import Cats.Category.Setoids using (Setoids ; ≈-intro) module Build {l} {l≈} where open Category (Setoids l l≈) Zero : Obj Zero = record { Carrier = Lift l ⊥ ; _≈_ ...
programs/oeis/062/A062378.asm
neoneye/loda
22
246881
<gh_stars>10-100 ; A062378: n divided by largest cubefree factor of n. ; 1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,2,1,1,3,1,1,1,1,8,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,1,1,1,1,1,3,1,2,1,1,1,1,1,1,1,16,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,4,9,1,1,1,1,1,1,2,1,1,1,1,1,1,1,8,1,1,1,1 seq $0,336551 ; a(n) = A003557(n) - 1. seq $0...
trabalho1/AnalisadorLA/src/la/linguagem/ANTLR/la.g4
LorhanSohaky/Compiladores2
0
3401
grammar la; @lexer::members { public static String grupo="740951 587087 586730 619884"; void erroLexico(String mensagem) { throw new ParseCancellationException(mensagem); } } programa: declaracoes 'algoritmo' corpo 'fim_algoritmo'; declaracoes: declaracao_local_ou_global*; declaracao_local_ou_global: ...
programs/oeis/218/A218461.asm
karttu/loda
0
13492
<reponame>karttu/loda<gh_stars>0 ; A218461: Floor( prime(prime(n))/ prime(n) ). ; 1,1,2,2,2,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,...
MK1_CPU/programs/factorial.asm
billionelectrons/8bit-cpu
274
97607
<reponame>billionelectrons/8bit-cpu<gh_stars>100-1000 ;factorial - recursive algorithm #include "lib/mk1.cpu" max_value = 5 + 1 init: ldi $a 0 main: cmp max_value jz end push $a jal factorial out pop $a addi 1 $a j main end: hlt ;--- factorial routine --- factorial: ;base case cmp 0 jz .re...
boot.asm
J-Tech-Foundation/rogue-os
0
167482
section .text global _start _start: ; we need some help! section .data ; template: ; mov edx,LENGTH ; mov ecx,MSG ; mov ebx,1 ; mov eax,4 ; int 0x80 ; end file: ; move eax,1 ; int 0x80
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_730.asm
ljhsiun2/medusa
9
84483
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x2379, %rcx nop nop nop nop nop add %r12, %r12 mov $0x6162636465666768, %r9 movq %r9, %xmm4 movups %xmm4, (%rcx) nop cmp $54783, %rbx lea addresses_UC_ht+0x19c39, %rsi lea addr...
programs/oeis/097/A097789.asm
neoneye/loda
22
261
<filename>programs/oeis/097/A097789.asm ; A097789: a(n)=4a(n-1)+C(n+4,4),n>0, a(0)=1. ; 1,9,51,239,1026,4230,17130,68850,275895,1104295,4418181,17674089,70698176,282795084,1131183396,4524737460,18098954685,72395824725,289583306215,1158333233715,4633332945486,18533331794594,74133327193326 lpb $0 mov $2,$0 sub $0,1 ...
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/abort.asm
meesokim/z88dk
0
12307
<gh_stars>0 ; _Noreturn void abort(void) SECTION code_stdlib PUBLIC _abort EXTERN asm_abort defc _abort = asm_abort
oeis/182/A182752.asm
neoneye/loda-programs
11
247869
<filename>oeis/182/A182752.asm<gh_stars>10-100 ; A182752: a(1) = 1, a(2) = 6, for n >= 3; a(n) = the smallest number greater than a(n-1) such that [[a(n-2) + a(n-1)] * [a(n-2) + a(n)] * [a(n-1) + a(n)]] / [a(n-2) * a(n-1) * a(n)] is an integer. ; Submitted by <NAME> ; 1,6,14,84,196,1176,2744,16464,38416,230496,537824,3...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1106.asm
ljhsiun2/medusa
9
166780
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1106.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x16a09, %rsi lea addresses_A_ht+0x11ed1, %rdi nop nop nop nop nop add ...
software/profi/net-tools/src/pqdos/wget/dos/msxdos.asm
andykarpov/karabas-pro
26
245213
<reponame>andykarpov/karabas-pro BDOS = 5 CLI_PARAMS_COUNT = #80 CLI_PARAMS = #81 include "files.asm" include "console.asm"
agda-stdlib/src/Tactic/RingSolver/Core/NatSet.agda
DreamLinuxer/popl21-artifact
5
10432
------------------------------------------------------------------------ -- The Agda standard library -- -- Simple implementation of sets of ℕ. -- -- Since ℕ is represented as unary numbers, simply having an ordered list of -- numbers to represent a set is quite inefficient. For instance, to see if -- 6 is in the set {...
libsrc/_DEVELOPMENT/target/hbios/driver/terminal/rc_01_input_hbios1/rc_01_input_hbios1_stdio_msg_flsh.asm
Frodevan/z88dk
640
87899
<reponame>Frodevan/z88dk SECTION code_driver SECTION code_driver_terminal_input PUBLIC rc_01_input_hbios1_stdio_msg_flsh EXTERN __BF_CIOINIT EXTERN asm_hbios EXTERN console_01_input_stdio_msg_flsh rc_01_input_hbios1_stdio_msg_flsh: ; get rid of any pending chars in the hbios1 buffer ld bc,__BF_CIOINIT<<8|0x0...
src/critical_section/atomic.adb
Fabien-Chouteau/atomic
3
1812
<filename>src/critical_section/atomic.adb with Atomic.Critical_Section; use Atomic.Critical_Section; with System; package body Atomic is ---------- -- Init -- ---------- function Init (Val : Boolean) return Flag is Ret : aliased Flag := 0; Unused : Boolean; begin if Val then ...
intellij/src/enjuicer/lang/antlr4/Lang.g4
jakobehmsen/enjuicer
0
145
<filename>intellij/src/enjuicer/lang/antlr4/Lang.g4 grammar Lang; program: statement*; statement: propertyAssign | assign | function | relation | relationCall; assign: ID ASSIGN_OP expression; function: ID DEFINE_OP parameters? expression; relation: ID DEFINE_OP parameters? (statement | OPEN_BRA statement+ CLOSE_BRA);...
PROGS/teclado.asm
carlos-santiago-2017/HC12-MicrocontrollerNotes
0
1138
<gh_stars>0 ORG $100 PORTA EQU $1000 PORTB EQU $1004 MASKA EQU $03 INICIO CLR PORTB LDS #FINPRO+10 SECDEC JSR RUTEC ; SECUENCIA DE LDAA BANTEC; DETECCION DE TECLA BEQ SECDEC;BANTEC=0 ->NO HAY TECLA OPRIMIDA PRUINC LDAA REGTEC CMPA #01 BE...
src/MLib/Finite/Properties.agda
bch29/agda-matrices
0
5338
open import MLib.Finite module MLib.Finite.Properties {c ℓ} (finiteSet : FiniteSet c ℓ) where open import MLib.Prelude import Data.Fin.Permutation as Perm import Relation.Binary as B open FE using (cong) open LeftInverse using () renaming (_∘_ to _ⁱ∘_) open Algebra using (IdempotentCommutativeMonoid) open Table hi...
programs/oeis/083/A083037.asm
neoneye/loda
22
27659
; A083037: a(n)=2*A083036(n)-n. Also -A123737(n). ; 1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,1,0,-1,0,-1,-2,-1,0,-1,0,1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,1,0,1,2,1,0,1,2,1,2,3,2,1,2,1,0,1,2,1,0,1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,1,0,-1,0,-1,-2,-1,0,-1,0,1,0,-1,0,1,0,1,2,1,0,1,0,-1,0,1,0,-1,0 mov $1,$0 seq $0,83036 ; Partial sums of A083035...
oeis/025/A025130.asm
neoneye/loda-programs
11
83947
; A025130: Expansion of 1/((1-x)(1-9x)(1-11x)(1-12x)). ; Submitted by <NAME> ; 1,33,718,12978,211099,3208611,46530856,652053876,8903593717,119147391909,1569038275714,20395728301494,262306431768655,3343671393938727,42305729458640092,531898781072416632 add $0,2 lpb $0 sub $0,1 add $2,2 mul $2,9 mul $3,12 add $...
programs/oeis/097/A097846.asm
neoneye/loda
22
90178
<reponame>neoneye/loda ; A097846: Differences between A097598 and A045918. ; 0,0,0,0,0,0,0,0,0,0,-99,0,99,198,297,396,495,594,693,792,-198,-99,0,99,198,297,396,495,594,693,-297 sub $1,$0 seq $0,4086 ; Read n backwards (referred to as R(n) in many sequences). add $1,$0 mul $1,11 mov $0,$1
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_7_1714.asm
ljhsiun2/medusa
9
9851
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rsi lea addresses_normal_ht+0xb94d, %r13 nop nop nop nop nop cmp $43045, %r10 mov $0x6162636465666768, %rsi movq %rsi, %xmm6 vmovups %ymm6, (%r13) nop nop nop nop sub %r11, %r11 pop %rsi pop %r13 pop %r11 pop %r10 ret .global s_faulty...
div.asm
alfreedom/Z80-ASM-Programs
0
178333
<gh_stars>0 ; Compiled with: Z80 Simulator IDE - Registered Copy v9.81 ; Microprocessor model: Z80 ; Clock frequency: 2.5MHz ; ; The address of 'a' (short) (global) is FEFFH (IX-1) a: .EQU 0FEFFH ; Begin LD IX,0FF00H LD SP,0FEFFH ; Begin of program ; 1: ; 2: Dim a As Short LD A,00H LD (IX-01H),A...
randomly-solved-programs/calling input & output procedures.asm
informramiz/Assembly-Language-Programs
0
85736
.MODEL SMALL .STACK 100H .DATA INPUT_MSG DB 'Enter a character: $' OUTPUT_MSG DB 0AH,0DH,'Entered character is: $' .CODE MAIN PROC ;making the DS to point to data segment MOV AX,@DATA MOV DS,AX CALL INPUT CALL OUTPUT EXIT: MOV AH,4CH INT 21H MAIN ENDP INPUT PROC ...
Applications/Terminal/window/tab/new.applescript
looking-for-a-job/applescript-examples
1
864
<reponame>looking-for-a-job/applescript-examples tell application "Terminal" activate tell application "System Events" tell process "Terminal" #keystroke "t" using {command down} keystroke "t" using {command down} # +SHIFT end tell end tell end tell
y2s2/csa/practicals/prac-3/extra/p3-extra8.asm
ouldevloper/university
8
99876
<filename>y2s2/csa/practicals/prac-3/extra/p3-extra8.asm ; Ask for input and let user know next char .MODEL SMALL .STACK 100 .DATA INP DB "Enter a character: $" NXT DB "The next character is $" CHAR DB ? NL DB 13, 10, "$" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ; Ask for input MOV...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca.log_21829_581.asm
ljhsiun2/medusa
9
85129
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xb33f, %rsi lea addresses_A_ht+0xca9f, %rdi clflush (%rsi) nop add $57792, %rax mov $75, %rcx rep movsl nop nop nop nop and $44006, %r12 lea addresses_WC_ht+0x1aa1f, %rsi lea addresses...
alloy4fun_models/trainstlt/models/1/a6JTsd8G2g9oZfXLM.als
Kaixi26/org.alloytools.alloy
0
1469
<gh_stars>0 open main pred ida6JTsd8G2g9oZfXLM_prop2 { eventually all s:Signal | s in Green } pred __repair { ida6JTsd8G2g9oZfXLM_prop2 } check __repair { ida6JTsd8G2g9oZfXLM_prop2 <=> prop2o }
src/CORE16/nmalloc.asm
masscry/dmc
86
94723
;_ nmalloc.asm Tue Aug 10, 1993 ; Windows support added by <NAME> Dec 1990, -D_WINDOWS ; OS2 support added by <NAME> May 1989, -D__OS2__ ; Copyright (C) 1985-1991 by <NAME> ; All rights reserved ; Written by <NAME> ; $Revision: 1.1.1.1 $ include macros.asm if LCODE extrn ___faterr:far else ...
bcdto7seg.asm
IchikawaYukko/AVRcountdownTimer
0
90816
<gh_stars>0 ;BCD to 7segment convert routine. .include "registers.inc" ;7segment data .equ SEG0=0b00000010 .equ SEG1=0b10011110 .equ SEG2=0b00100100 .equ SEG3=0b00001100 .equ SEG4=0b10011000 .equ SEG5=0b01001000 ;.equ SEG6=0b01000000 .equ SEG6=0b11000000 ;Yet Another 6 ;.equ SEG7=0b00011010 .equ SEG7=0b00011110 ;Yet ...
Library/CoProcessor/IntCommon/intCommonFixed.asm
steakknife/pcgeos
504
166362
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: intCommonFixed.asm AUTHOR: <NAME> REVISION HISTORY: Name Date Description ---- ---- ----------- jimmy 5/20/92 Initial ve...
whitenoise/main.asm
ArcadeTV/megadrive-samples
5
22961
<reponame>ArcadeTV/megadrive-samples ; Start of ROM ROM_Start: ;============================================================== ; INCLUDES ;============================================================== include "_includes/constants.asm" include "_includes/variables.asm" include "_includes/macros.asm" ;==========...
programs/oeis/109/A109338.asm
karttu/loda
1
20564
<filename>programs/oeis/109/A109338.asm ; A109338: Triangle read by rows: T(n,k) = number of inequivalent binary sequences of length n and weight k, where two sequences are said to be equivalent if they have the same set of phrases in their Ziv-Lempel encodings (the phrases can appear in a different order in the two se...
case-studies/performance/verification/alloy/ppc/tests/aclwsrr002.als
uwplse/memsynth
19
2163
<reponame>uwplse/memsynth module tests/aclwsrr002 open program open model /** PPC aclwsrr002 "DpdR Fre Rfe LwSyncsRR DpdR Fre Rfe LwSyncsRR" Cycle=DpdR Fre Rfe LwSyncsRR DpdR Fre Rfe LwSyncsRR Relax=ACLwSyncsRR Safe=Fre DpdR { 0:r2=x; 0:r6=y; 1:r2=y; 2:r2=y; 2:r6=x; 3:r2=x; } P0 | P1 | P2 ...
src/module/ModuleSpeedHack.asm
Dunkansdk/AoW
2
87858
<reponame>Dunkansdk/AoW<filename>src/module/ModuleSpeedHack.asm ;////////////////////////////////////////////////////////////////////// ;/// This file is subject to the terms and conditions defined in /// ;/// file 'LICENSE.txt', which is part of this source code package. /// ;///////////////////////////////////////...
electrum/src/main/resources/models/book/chapter2/addressBook1e.als
haslab/Electrum
29
1170
module tour/addressBook1e ----- Page 11 sig Name, Addr { } sig Book { addr: Name -> lone Addr } pred add [b, b1: Book, n: Name, a: Addr] { b1.addr = b.addr + n->a } // This command generates an instance similar to Fig 2.4 run add for 3 but 2 Book
data/wild/maps/Route7.asm
opiter09/ASM-Machina
1
166265
<filename>data/wild/maps/Route7.asm<gh_stars>1-10 Route7WildMons: def_grass_wildmons 15 ; encounter rate db 26, GLOOM db 25, MACHOP db 27, ARBOK db 28, MEOWTH db 25, GROWLITHE db 25, CHARMELEON db 27, FARFETCHD db 28, RATICATE db 28, PIDGEOTTO db 30, KADABRA end_grass_wildmons def_water_wildmons 0 ; encou...
src/main/antlr4/com/perobscurus/entities/Search.g4
christophercampbell/search-grammar
0
279
grammar Search; AND : '&'; OR : '|'; EQ : '='; NOTEQ : '!='; LPAREN: '('; RPAREN: ')'; STRINGLITERAL : '\'' (~'\'')* '\'' ; IDENTIFIER : [a-zA-Z_][a-zA-Z_0-9]* ; DOT: '.'; COMMENT : '//' .+? ('\n'|EOF) -> skip ; WS : [ \r\t\u000C\n]+ -> skip ; where_expr : logical_expr EOF; logical_expr : logical...
Task/First-class-functions/AppleScript/first-class-functions-2.applescript
LaudateCorpus1/RosettaCodeData
1
1317
on run set fs to {sin_, cos_, cube_} set afs to {asin_, acos_, croot_} -- Form a list of three composed function objects, -- and map testWithHalf() across the list to produce the results of -- application of each composed function (base function composed with inverse) to 0.5 script testWithHa...
oeis/021/A021317.asm
neoneye/loda-programs
11
170955
<reponame>neoneye/loda-programs ; A021317: Decimal expansion of 1/313. ; 0,0,3,1,9,4,8,8,8,1,7,8,9,1,3,7,3,8,0,1,9,1,6,9,3,2,9,0,7,3,4,8,2,4,2,8,1,1,5,0,1,5,9,7,4,4,4,0,8,9,4,5,6,8,6,9,0,0,9,5,8,4,6,6,4,5,3,6,7,4,1,2,1,4,0,5,7,5,0,7,9,8,7,2,2,0,4,4,7,2,8,4,3,4,5,0,4,7,9 seq $0,173833 ; 10^n - 3. div $0,313 mod $0,10
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_mast.ads
caqg/linux-home
0
25952
with ARM_Format, ARM_Contents; package ARM_Master is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the routines to parse the master file, and -- execute it. -- -- --------------------------------------- -- Copyright 2006, 2011, 2012, 2016 --...
src/applescript/media/show youtube.applescript
dnnsmnstrr/HydroTouch
3
244
set activeTab to my getActiveSafariTab() tell application "Safari" repeat with w in windows repeat with t in tabs of w tell t if URL starts with "https://www.youtube.com" then if activeTab = index of t then repeat with t in tabs of w tell t if URL starts with "https://www.youtube.com...
programs/oeis/166/A166761.asm
neoneye/loda
22
3305
<reponame>neoneye/loda<gh_stars>10-100 ; A166761: Number of nX3 1..2 arrays containing at least one of each value, and all equal values connected. ; 4,30,106,292,712,1618,3518,7432,15404,31526,63986,129164,259824,521498,1045254,2093232,4189716,8383278,16771066,33547380,67100824,134208610,268425166,536859352,1073728892,...
coords.ads
97kovacspeter/ADA
0
27482
with card_dir; use card_dir; package Coords is --variable(s) type Coord is Private; --1, function Get_X(C: Coord) return Integer; function Get_Y(C: Coord) return Integer; --2, procedure Set_X(C: in out Coord;I:Integer); procedure Set_Y(C: in out Coord;I:Integer); --3, function Get_Distance(C:Coord;C2:Coord)...
P6/data_P6_2/MDTest15.asm
alxzzhou/BUAA_CO_2020
1
160076
ori $ra,$ra,0xf mthi $0 mfhi $3 divu $4,$ra mflo $4 div $6,$ra sb $4,0($0) srav $5,$6,$6 mult $4,$1 addu $1,$2,$3 multu $0,$0 mthi $2 mfhi $5 addiu $4,$4,28099 ori $5,$4,13887 mtlo $1 addu $2,$2,$2 lb $2,9($0) multu $5,$2 mflo $4 ori $2,$6,59803 addiu $6,$1,12522 lui $6,24021 mthi $1 ori $4,$2,16738 multu $4,$2 addu $6...
libsrc/graphics/retrofit/clga_callee.asm
jpoikela/z88dk
640
26510
<reponame>jpoikela/z88dk ; ; Generic trick to adapt a classic function to the CALLEE mode ; ; ----- void __CALLEE__ clga(int x, int y, int x2, int y2) ; ; ; $Id: clga_callee.asm $ ; SECTION smc_clib PUBLIC clga_callee PUBLIC _clga_callee EXTERN clga .clga_callee ._clga_callee ld hl,retaddr ex (sp),hl ld (r...
2 Year/2015 Pattern/MPL/Assignment 11.asm
bhushanasati25/College
4
4606
<reponame>bhushanasati25/College ;Write 80387 ALP to plot Sine Wave, Cosine Wave and Sinc function. Access video memory directly for plotting. ;working .model small .stack 100 .data msg db 10,13,'this is cos wave$' x dd 0.0 xad dd 3.0 one80 dd 180.0 sixty dd 30.0 hundred dd 50.0 row db 00 col db 00 xcursor dd 00 ycu...
projects/04/mult/mult.asm
kingnak/nand2tetris
0
16865
<gh_stars>0 // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // Put your code here...
programs/oeis/186/A186149.asm
karttu/loda
1
24367
; A186149: Rank of n^2 when {(1/4)i^3: i>=1} and {j^2>: j>=1} are jointly ranked with (1/4)i^3 before j^2 when (1/4)i^3=j^2. Complement of A186148. ; 2,4,6,8,9,11,12,14,15,17,18,20,21,23,24,26,27,28,30,31,33,34,35,37,38,39,41,42,43,45,46,48,49,50,51,53,54,55,57,58,59,61,62,63,65,66,67,68,70,71,72,74,75,76,77,79,80,81...
programs/oeis/103/A103838.asm
karttu/loda
0
86330
; A103838: Complement of A001671. ; 2,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79 mov $2,3 lpb $0,1 add $1,$0 sub $0,1 trn $0,$2 add $1,4 s...
MSDOS/Virus.MSDOS.Unknown.arcvsmal.asm
fengjixuchui/Family
3
244516
<reponame>fengjixuchui/Family<gh_stars>1-10 .radix 16 .model tiny .code org 100h main: jmp start start: call get_pointer ;>>xref=<06106><< get_pointer: pop bp ; pop cs:ip o...
alloy4fun_models/trashltl/models/5/xDp77aXibiM3u9ddq.als
Kaixi26/org.alloytools.alloy
0
3065
<filename>alloy4fun_models/trashltl/models/5/xDp77aXibiM3u9ddq.als open main pred idxDp77aXibiM3u9ddq_prop6 { eventually (some f : Trash | always f in Trash) } pred __repair { idxDp77aXibiM3u9ddq_prop6 } check __repair { idxDp77aXibiM3u9ddq_prop6 <=> prop6o }
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_909.asm
ljhsiun2/medusa
9
15662
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rbx push %rdx lea addresses_A_ht+0x6762, %r9 nop nop sub %r15, %r15 mov $0x6162636465666768, %rdx movq %rdx, %xmm0 and $0xffffffffffffffc0, %r9 movntdq %xmm0, (%r9) nop nop nop nop add $6507, %rbx pop %rdx pop %rbx pop %r9 p...
tests/remainder/src/main.adb
TUM-EI-RCS/StratoX
12
30415
with Ada.Text_IO; use Ada.Text_IO; with Ada.Float_Text_IO; with Units; use Units; procedure main with SPARK_Mode is a : Angle_Type; w : Angle_Type; w2 : Angle_Type; amin : constant Angle_Type := -1.3 * Radian; amax : constant Angle_Type := 1.3 * Radian; L : constant Angle_Type := 2.0 * (amax - a...
input/sprt5Test2-B53.asm
needsguidance/Semref
1
102941
<reponame>needsguidance/Semref //sprt5Test2.asm //Probando alineamiento de instrucciones, //direccionamiento indirecto, R0 = 0 org 0 JMPADDR start var1 db 5 var2 db 0 var3 db 7 start: LOADIM #4,#2 //At 06 <- 0802 == 0000100000000010 LOADRIND R5,R6 //R5 <- 05 ADD R6,R6,R0 //R6 <- 2 ADD R6,...
tests/asm/64/sext.asm
ReneNyffenegger/udis86
710
166919
<reponame>ReneNyffenegger/udis86 [bits 64] ;; test sign extension adc al, -100 adc ax, -100 adc eax, -100 adc rax, -100 imul dx, bx, -100 imul edx, ebx, -100 imul rdx, r11, -100 push byte -1 push word -1 push dword -1000 push word -1000 push -1 push byte -...
base/mvdm/wow16/user/user3.asm
npocmaka/Windows-Server-2003
17
26246
<gh_stars>10-100 ; ; USER3.ASM ; More Win16 USER thunks ; ; History: ; ; Created 25-Jan-1991 by <NAME> (jeffpar) ; Added Win 31 thunks 22nd-March-1992 by <NAME> (ChandanC) ; Split off from USER2.ASM 4-Dec-92 by barryb ; ;-- TITLE USER3.ASM PAGE ,132 .286p .xlist ...
source/library/program-gnat_unit_naming.adb
reznikmm/gela
0
2821
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Strings.Wide_Wide_Fixed; with Ada.Wide_Wide_Characters.Handling; package body Program.GNAT_Unit_Naming is -------------------- -- Body_Text_Name -- ---...
Projetos/F-Assembly/src/nasm/div.nasm
LiuSeeker/Z01-Coldzera
1
4356
leaw $0, %A ;Mover o que ta em A[0] para D movw (%A), %D leaw $1, %A WHILE: leaw $1, %A ;Subtrai D - A[1] e salva em D subw %D, (%A), %D ;Incrementa 1 em %S incw %S leaw $WHILE, %A ;Volta se D for maior que zero jg %D nop leaw $2, %A ;Move A[2] -> S movw %S, (%A) ...
mobile/news/news.asm
Dev727/ancientplatinum
28
18056
; http://forums.glitchcity.info/index.php?topic=7509.msg206449#msg206449 db $cc, $6b, $1e ; unused Unreferenced_Function1f4003: ld a, $6 call GetSRAMBank ld hl, .news_data ld de, $a000 ld bc, $1000 call CopyBytes call CloseSRAM ret .news_data INCBIN "mobile/news/news_1.bin" Unreferenced_Function1f4dbe: ld...
smsq/uq/cstr.asm
olifink/smsqe
0
165465
; Compare strings, QL compatible  1990 <NAME> section uq xdef uq_cstr xdef uq_cstra xdef uq_cstrl xdef uq_otab xdef uq_otabn ucsl_entry exg a2,a3 ; end of a0 string in a3 move.l a3,d5 sub.l a0,d5 ; length of a0 string sub.l a2,d5 add.l a1,d5 ; a1 string shorter? ble.s ucsl_set ; ... no su...
Type/Category/IntensionalFunctionsCategory/HomFunctor.agda
Lolirofle/stuff-in-agda
6
8454
<filename>Type/Category/IntensionalFunctionsCategory/HomFunctor.agda module Type.Category.IntensionalFunctionsCategory.HomFunctor where import Functional as Fn open import Function.Proofs open import Logic.Predicate import Lvl open import Relator.Equals open import Relator.Equals.Proofs import Relator.E...
eBindings/dl/tests/dl-test_all_suit.ads
persan/zeromq-Ada
33
29834
with AUnit.Test_Suites; package Dl.Test_All_Suit is function Suite return AUnit.Test_Suites.Access_Test_Suite; -- Return the test suite end Dl.Test_All_Suit;
programs/oeis/034/A034379.asm
neoneye/loda
22
176057
<filename>programs/oeis/034/A034379.asm ; A034379: Expansion of 1/(1-x)^2/(1-x^2)/(1-x^3)/(1-x^5)/(1-x^8). ; 1,2,4,7,11,17,25,35,49,66,88,115,148,188,236,293,361,440,533,640,764,906,1068,1252,1461,1696,1961,2257,2588,2956,3365,3817,4317,4867,5472,6135,6861,7653,8517,9456,10477 mov $2,$0 add $2,1 mov $3,$0 lpb $2 mov...
libsrc/_DEVELOPMENT/sound/bit/c/sdcc_iy/bit_beep_raw_di_callee.asm
jpoikela/z88dk
640
247050
; void bit_beep_raw_di_callee(uint_16t num_cycles, uint16_t tone_period_T) SECTION code_clib SECTION code_sound_bit PUBLIC _bit_beep_raw_di_callee EXTERN asm_bit_beep_raw_di _bit_beep_raw_di_callee: pop af pop hl pop de push af jp asm_bit_beep_raw_di
pwnlib/shellcraft/templates/aarch64/linux/timer_delete.asm
zaratec/pwntools
5
13590
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="timerid"/> <%docstring> Invokes the syscall timer_delete. See 'man 2 timer_delete' for more information. Arguments: timerid(timer_t): timerid </%docstring> ${syscall('SYS_timer_delete', timerid)}
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_108_325.asm
ljhsiun2/medusa
9
162782
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_108_325.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x2d79, %r10 nop nop nop nop xor %r11, %r11 mov (%r10), %si nop nop nop nop...
src/test/ref/multiply-2.asm
jbrandwood/kickc
2
17886
// Test compile-time and run-time multiplication // var*const multiplication - converted to shift/add // Commodore 64 PRG executable file .file [name="multiply-2.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segm...
src/templates/ada/mdm-object.ads
afrl-rq/LmcpGen
6
8588
with AVTAS.LMCP.ByteBuffers; use AVTAS.LMCP.ByteBuffers; package -<full_series_name_dots>-.Object is type Object is abstract new AVTAS.LMCP.Object.Object with private; type Object_Acc is access all Object; type Object_Any is access all Object'Class; overriding function getSeriesVersion(this : Object) ret...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_74.asm
ljhsiun2/medusa
9
172996
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xbc4d, %rax nop xor $32382, %rcx mov (%rax), %r14w sub %rsi, %rsi lea addresses_normal_ht+0x148dd, %rax clflush (%rax) nop nop xor $37981, %r9 movb (%rax), %cl and $15003, %rax ...
oeis/152/A152187.asm
neoneye/loda-programs
11
93005
; A152187: a(n) = 3*a(n-1) + 5*a(n-2), with a(0)=1, a(1)=5. ; Submitted by <NAME> ; 1,5,20,85,355,1490,6245,26185,109780,460265,1929695,8090410,33919705,142211165,596232020,2499751885,10480415755,43940006690,184222098845,772366329985,3238209484180,13576460102465,56920427728295 mov $1,1 mov $3,1 lpb $0 sub $0,1 add...
programs/oeis/109/A109763.asm
neoneye/loda
22
168394
<reponame>neoneye/loda ; A109763: Primes repeated. ; 2,2,3,3,5,5,7,7,11,11,13,13,17,17,19,19,23,23,29,29,31,31,37,37,41,41,43,43,47,47,53,53,59,59,61,61,67,67,71,71,73,73,79,79,83,83,89,89,97,97,101,101,103,103,107,107,109,109,113,113,127,127,131,131 div $0,2 seq $0,6005 ; The odd prime numbers together with 1. max $0...
libsrc/_DEVELOPMENT/fcntl/z80/drivers/terminal/tty/asm_tty_state_get_3.asm
meesokim/z88dk
0
1599
<gh_stars>0 SECTION code_fcntl PUBLIC asm_tty_state_get_3 EXTERN l_inc_hl, asm_tty_state_get_2 EXTERN asm0_tty_state_param_store asm_tty_state_get_3: ; c = ascii char ; stack = & tty.action ; first store next state pop hl ld de,asm_tty_state_get_2 call asm0_tty_state_param_store ...
Cubical/HITs/Rationals/SigmaQ.agda
dan-iel-lee/cubical
0
10845
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.Rationals.SigmaQ where open import Cubical.HITs.Rationals.SigmaQ.Base public open import Cubical.HITs.Rationals.SigmaQ.Properties public
testbench/decpt_dtw_aes/mpi/empty.asm
Arka2009/LOCUS
8
89319
<reponame>Arka2009/LOCUS<filename>testbench/decpt_dtw_aes/mpi/empty.asm .arch armv5t .fpu softvfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "empty...
samples/demo_server.adb
My-Colaborations/ada-servlet
0
10518
<reponame>My-Colaborations/ada-servlet ----------------------------------------------------------------------- -- demo_server -- Demo server for Ada Server Faces -- Copyright (C) 2010, 2011, 2012, 2013, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
sharding-core/src/main/antlr4/imports/MySQLTCLStatement.g4
chuanandongxu/sharding-sphere
0
6922
grammar MySQLTCLStatement; import MySQLKeyword, Keyword, BaseRule, DataType, Symbol; /** * each statement has a url, * each base url : https://dev.mysql.com/doc/refman/8.0/en/. */ //set-transaction.html setTransaction : SET (GLOBAL | SESSION) TRANSACTION setTransactionCharacteristic (COMMA setTransaction...
oeis/021/A021187.asm
neoneye/loda-programs
11
9022
<filename>oeis/021/A021187.asm ; A021187: Decimal expansion of 1/183. ; Submitted by <NAME>iga ; 0,0,5,4,6,4,4,8,0,8,7,4,3,1,6,9,3,9,8,9,0,7,1,0,3,8,2,5,1,3,6,6,1,2,0,2,1,8,5,7,9,2,3,4,9,7,2,6,7,7,5,9,5,6,2,8,4,1,5,3,0,0,5,4,6,4,4,8,0,8,7,4,3,1,6,9,3,9,8,9,0,7,1,0,3,8,2,5,1,3,6,6,1,2,0,2,1,8,5 seq $0,42 ; Unary repres...