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 |
|---|---|---|---|---|
loader.asm | Diversion2k22/x86_64-decOS-MSC-KIIT | 0 | 80994 | [BITS 16]
[ORG 0x7e00]
start:
mov [DriveId],dl
mov eax,0x80000000
cpuid
cmp eax,0x80000001
jb NotSupport
mov eax,0x80000001
cpuid
test edx,(1<<29)
jz NotSupport
test edx,(1<<26)
jz NotSupport
LoadKernel:
mov si,ReadPacket
mov word[si],0x10
... |
test/Succeed/ProjectionLikeAndModules.agda | cruhland/agda | 1,989 | 11829 | -- {-# OPTIONS -v tc.proj.like:10 #-}
-- {-# OPTIONS -v tc.conv:10 #-}
open import Common.Level
module ProjectionLikeAndModules (A : Set) (a : A) where
record ⊤ : Set where
constructor tt
data Wrap (W : Set) : Set where
wrap : W → Wrap W
data Bool : Set where
true false : Bool
-- postulate
-- `or' should be... |
src/main/antlr4/kernel/tools/generated/grammar1.g4 | ptal/repmus | 0 | 5390 | <reponame>ptal/repmus<gh_stars>0
/*
Pour utiliser une grammaire ANTLR 4:
- installer ANTLR4 SDK depuis Help -> Marketplace...
- vérifiez que dans Widnow -> Preferences -> ANTLR4 -> Tools,
"Generate parse tree listener" est bien sélectionné.
- cliquer sur le fichier .g4 avec : click droit -> Run As -> Generate ANTLR ... |
oeis/259/A259368.asm | neoneye/loda-programs | 11 | 245416 | <gh_stars>10-100
; A259368: Number of digits in n^n when written in binary.
; 1,3,5,9,12,16,20,25,29,34,39,44,49,54,59,65,70,76,81,87,93,99,105,111,117,123,129,135,141,148,154,161,167,173,180,187,193,200,207,213,220,227,234,241,248,255,262,269,276,283,290,297,304,311,318,326,333
seq $0,326299 ; a(n) = floor(n*log_2(n)... |
c_projects/project1/ch1-ch3/boot_sector_3.asm | darbinreyes/subparprogrammer | 0 | 103040 | <filename>c_projects/project1/ch1-ch3/boot_sector_3.asm
;
; A boot sector program that demos addressing.
;
mov ah, 0x0e ; scrolling teletype BIOS routine.
; 1st attempt
mov al, the_secret
int 0x10 ; Does this print 'D'?
; 2nd attempt
mov al, [the_secret]
int 0x10
; 3rd attempt
mov bx, the_secret
add bx, 0x7c00
mov ... |
2020_3/projeto1/autogen/Grammar.g4 | lbandeira/compilers-cin | 0 | 5193 | /* nome da gramática -- deve ser o mesmo nome do arquivo .g4 e começar com letra maiúscula*/
/*
Projeto 1 de Compiladores - CIn | UFPE
Autor: RJVW - <NAME> */
grammar Grammar;
/* parser */
/* regra raiz */
file : (variable_definition ';' | function_definition) +;
TYPE_INT:'int';
TYPE_FLOAT:'float';
identifier: IDE... |
session_01/01-storesum/storesum.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 240231 | <gh_stars>1-10
.text
.globl main
main:
addi $s1, $zero, 5
addi $s2, $zero, 7
add $s0, $s1, $s2 |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant4_pkg.ads | best08618/asylo | 7 | 17509 | with Ada.Command_Line; use Ada.Command_Line;
with System.Multiprocessors; use System.Multiprocessors;
package Constant4_Pkg is
Max_CPUs : constant CPU := (if Argument_Count < 2 then Number_Of_CPUs
else CPU'Value (Argument (2)));
subtype Worker_Id is CPU range 1 .. Max_CPUs;... |
programs/oeis/085/A085913.asm | neoneye/loda | 22 | 29601 | <reponame>neoneye/loda<gh_stars>10-100
; A085913: Group the natural numbers such that the product of the terms of the n-th group is divisible by n!. (1),(2),(3,4),(5,6,7,8),(9,10,11,12),(13,14,15,16,17,18),(19,20,21,22,23,24),... Sequence contains the first term of every group.
; 1,2,3,5,9,13,19,25,33,41,51,61,73,85,99... |
src/main/fragment/mos6502-common/vwum1=vwum1_bor_vbuaa.asm | jbrandwood/kickc | 2 | 92907 | ora {m1}
sta {m1} |
oeis/081/A081302.asm | neoneye/loda-programs | 11 | 169290 | ; A081302: Subdiagonal of square array A081297.
; Submitted by <NAME>
; 1,1,21,61,1891,9633,404713,2997541,159902271,1564345201,101406750589,1236882490845,94479649710811,1382731226210881,121677107761110993,2079381120597925237,207197254527662127511,4051708966720224576081,451009186349537222575141,993514114510354640862212... |
make_puzzle5.als | nishio/learning_alloy | 1 | 5084 | <reponame>nishio/learning_alloy
enum Person {A, B, C, D, E}
enum Bool {T, F}
enum BoolBool {TT, TF, FT, FF}
abstract sig Constrain{
by: one Person,
who: one Person
}{
by not in who
}
fact {
all disj: x, y: Constrain {
not {
x.by = y.by
x.who = y.who
(x in is_liar) <=> (y in is_liar)
}
}
}
sig is_li... |
programs/oeis/290/A290562.asm | neoneye/loda | 22 | 1096 | ; A290562: a(n) = n - cos(n*Pi/2).
; -1,1,3,3,3,5,7,7,7,9,11,11,11,13,15,15,15,17,19,19,19,21,23,23,23,25,27,27,27,29,31,31,31,33,35,35,35,37,39,39,39,41,43,43,43,45,47,47,47,49,51,51,51,53,55,55,55,57,59,59,59,61,63,63,63,65,67,67,67,69,71,71,71,73,75,75,75,77,79,79,79,81,83,83,83,85,87,87,87,89,91,91,91,93,95,95,95,9... |
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/same_component_name/foo.adb | aps337/unum-sdk | 31 | 11916 | <gh_stars>10-100
-- Copyright 2017-2019 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any late... |
oeis/014/A014720.asm | neoneye/loda-programs | 11 | 98011 | <filename>oeis/014/A014720.asm
; A014720: Squares of elements to right of central element in Pascal triangle (by row) that are not 1.
; Submitted by <NAME>
; 9,16,100,25,225,36,1225,441,49,3136,784,64,15876,7056,1296,81,44100,14400,2025,100,213444,108900,27225,3025,121,627264,245025,48400,4356,144,2944656,1656369,51122... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1733.asm | ljhsiun2/medusa | 9 | 105112 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1332a, %r12
nop
nop
nop
nop
xor %rbp, %rbp
movups (%r12), %xmm4
vpextrq $0, %xmm4, %rsi
nop
nop
add %r13, %r13
lea addresses_D_ht+0xbbaa, %rsi
nop
s... |
euler4.adb | kimtg/euler-ada | 7 | 3235 | with Ada.Text_IO, Ada.Strings.Fixed;
use Ada.Text_IO;
procedure Euler4 is
function Is_Palindrome(S : String) return Boolean is
begin
for I in S'First .. S'Last / 2 loop
if S(I) /= S(S'Last - I + 1) then
return False;
end if;
end loop;
return True;
end;
function ... |
FiltryGraficzne_Biblioteka/FiltryGraficzne.asm | DawidMyslak/assembler-graphic-filters | 1 | 81978 | <reponame>DawidMyslak/assembler-graphic-filters
; Autor: <NAME>
; grupa 5, sekcja 1
; Temat: Filtry graficzne
; - dolnoprzepustowy
; - gornoprzepustowy
; - krawedziowy
; - konturowy
.486
.model flat, stdcall
.code
FiltryGraficzne proc img: ptr, len: dword, wid: dword, img_dest: ptr, msk: ptr, msk_size: dwo... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_17568_1066.asm | ljhsiun2/medusa | 9 | 10632 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_17568_1066.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xf85c, %r12
nop
nop
nop
xor $16992, %r13
movb $0x61, (%r12)
nop
nop
cmp $8771, %rcx
lea address... |
thirdparty/adasdl/thin/adasdl/AdaSDL_mixer/playmus.adb | Lucretia/old_nehe_ada95 | 0 | 29308 |
--
-- PLAYMUS: Port to the Ada programming language of a test application for the
-- the SDL mixer library.
--
-- The original code was written in C by <NAME> http://www.libsdl.org.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Publi... |
oeis/243/A243947.asm | neoneye/loda-programs | 11 | 244276 | ; A243947: Expansion of g.f. sqrt( (1+x - sqrt(1-18*x+x^2)) / (10*x*(1-18*x+x^2)) ).
; Submitted by <NAME>(w2)
; 1,11,155,2365,37555,610897,10098997,168894355,2849270515,48395044705,826479148001,14177519463191,244109912494525,4216385987238575,73024851218517275,1267712063327871245,22052786911315216595,384321597582115655... |
programs/oeis/024/A024892.asm | neoneye/loda | 22 | 84669 | ; A024892: Numbers k such that 3*k+1 is prime.
; 2,4,6,10,12,14,20,22,24,26,32,34,36,42,46,50,52,54,60,64,66,70,74,76,80,90,92,94,102,104,110,112,116,122,124,126,132,136,140,144,146,152,154,162,166,174,180,182,190,192,200,202,204,206,210,214,220,224,230,236,242,244,246,250,252,256,262,270,274,276,284,286,292,294,302,30... |
courses/fundamentals_of_ada/labs/radar/030_basic_types/util/radar_internals.adb | AdaCore/training_material | 15 | 16057 | with Ada.Text_IO; use Ada.Text_IO;
package body Radar_Internals is
T : Natural := 0;
procedure Time_Step (Radar_Angle : Float; Time_To_Arrival : Float;
John_Connor_Status : String)
is
E_T_A_H : Integer
:= Integer (Float'Floor (Time_To_Arrival / 3600.0));
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1820.asm | ljhsiun2/medusa | 9 | 82644 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x10150, %rbp
xor %r12, %r12
mov (%rbp), %eax
nop
nop
nop
nop
nop
xor $58905, %rax
lea addresses_A_ht+0xc350, %rsi
lea addresses_A_ht+0x4a58, %rdi
nop
nop
nop
nop
nop
sub %... |
ada-python-test/obj/b__ada_module.ads | kylelk/ada-examples | 1 | 10821 | <filename>ada-python-test/obj/b__ada_module.ads
pragma Ada_95;
with System;
package ada_modulemain is
pragma Warnings (Off);
procedure ada_moduleinit;
pragma Export (C, ada_moduleinit, "ada_moduleinit");
procedure ada_modulefinal;
pragma Export (C, ada_modulefinal, "ada_modulefinal");
type Version_... |
src/sets/finite/hlevel.agda | pcapriotti/agda-base | 20 | 13321 | <reponame>pcapriotti/agda-base
{-# OPTIONS --without-K #-}
module sets.finite.level where
open import sum
open import function.isomorphism.core
open import hott.level.core
open import hott.level.closure
open import hott.level.sets
open import sets.finite.core
finite-h2 : ∀ {i}{A : Set i} → IsFinite A → h 2 A
finite-h... |
t_pageflt-v1.1.x86-32.asm | pageflt/r2wars-2018 | 0 | 13376 | ; r2wars 2018
; <NAME> (@t_pageflt)
mov eax, 0xc3c3c3c3
mov ebx, eax
mov ecx, eax
mov edx, eax
mov edi, 32
mov ebp, 0x3fc
mov edx, 1014
mov esp, edx
mov esi, 1015
mov [esi], 0x7ffc3960
mov [esi+4], 0xffd489fb
mov [esi+8], 0xe6
jmp esi
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1267.asm | ljhsiun2/medusa | 9 | 161617 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1267.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rcx
lea addresses_normal_ht+0xa470, %r10
nop
nop
xor $15897, %r12
vmovups (%r10), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rcx
nop
nop
no... |
HITs/PropositionalTruncation/Properties.agda | oisdk/agda-playground | 6 | 10374 | <filename>HITs/PropositionalTruncation/Properties.agda
{-# OPTIONS --cubical --safe --postfix-projections #-}
module HITs.PropositionalTruncation.Properties where
open import HITs.PropositionalTruncation
open import Prelude
open import Data.Empty.Properties using (isProp⊥)
refute-trunc : ¬ A → ¬ ∥ A ∥
refute-trunc =... |
Project-Einstein/src/E-Assembly/src/LCDlinha.nasm | FelixLuciano/Elements-of-Computing-Systems | 0 | 100131 | ; Arquivo: LCDQuadrado.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 28/3/2018
;
; Desenhe uma linha no LCD
leaw $65535, %A
movw %A, %D
leaw $18224, %A
movw %D, (%A)
leaw $65535, %A
movw %A, %D
leaw $18225, %A
movw %D, (%A)
leaw $65535, %A
movw %A, %D
leaw $18226, %A
movw %D, (%A)
leaw $65535, %A... |
Transynther/x86/_processed/US/_st_sm_/i7-7700_9_0x48_notsx.log_1_1243.asm | ljhsiun2/medusa | 9 | 12504 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb63d, %rbp
nop
nop
nop
nop
sub %rax, %rax
mov (%rbp), %dx
nop
add $54839, %rax
lea addresses_D_ht+0xcb9b, %r10
nop
nop
nop
nop
and %rdi, %rdi
movl $0x61626364, (%r10)
nop
nop... |
include/sched_h.ads | docandrew/troodon | 5 | 2915 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
limited with bits_types_struct_sched_param_h;
limited with bits_types_struct_timespec_h;
with stddef_h;
limited with bits_cpu_set_h;
package sched_h is
-- unsupported macro: sched_priority sched_priority
-- un... |
oeis/062/A062838.asm | neoneye/loda-programs | 11 | 86415 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A062838: Cubes of squarefree numbers.
; Submitted by <NAME>(s1)
; 1,8,27,125,216,343,1000,1331,2197,2744,3375,4913,6859,9261,10648,12167,17576,24389,27000,29791,35937,39304,42875,50653,54872,59319,68921,74088,79507,97336,103823,132651,148877,166375,185193,195112,205379,... |
P6/data_P6_2/ALUTest136.asm | alxzzhou/BUAA_CO_2020 | 1 | 96881 | srl $0,$3,4
nor $1,$4,$3
srl $4,$4,7
xor $6,$6,$3
lw $5,12($0)
addu $3,$5,$3
lb $3,11($0)
xori $1,$5,46242
srlv $4,$3,$3
addiu $1,$6,-28248
sra $3,$3,9
sw $4,8($0)
lh $3,4($0)
sll $3,$4,25
addiu $5,$5,4415
subu $0,$5,$3
lh $5,12($0)
srav $5,$1,$3
addu $4,$3,$3
addu $3,$4,$3
lhu $3,6($0)
sltiu $4,$5,-17349
sra $0,$5,4
o... |
programs/oeis/102/A102680.asm | neoneye/loda | 22 | 245029 | <filename>programs/oeis/102/A102680.asm
; A102680: Number of digits >= 7 in the decimal representations of all integers from 0 to n.
; 0,0,0,0,0,0,0,1,2,3,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,6,7,8,9,9,9,9,9,9,9,9,10,11,12,12,12,12,12,12,12,12,13,14,15,15,15,15,15,15,15,15,16,17,18,18,18,18,18,18,18,18,19,20,21,22,23,24,25,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_909.asm | ljhsiun2/medusa | 9 | 21602 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x130a5, %rsi
lea addresses_A_ht+0x1a8b5, %rdi
dec %r11
mov $45, %rcx
rep movsw
and $58235, %r15
lea addresses_A_ht+0x1b5a5, %r10
clflush (%r10)
nop
nop
and %r14, %r14
movl $0... |
list/filterList.applescript | adriannier/applescript-functions | 7 | 4590 | <reponame>adriannier/applescript-functions<filename>list/filterList.applescript
log filterList({"Alpha", "Bravo", "Charlie"}, "Alpha")
log filterList({"Alpha", "Bravo", "Charlie"}, "*l*")
log filterList({"Alpha", "Bravo", "Charlie"}, "b*")
log filterList({"Alpha", "Bravo", "Charlie"}, "*e")
log filterList({"Alpha", "Br... |
projects/08/FunctionCalls/NestedCall/NestedCall.asm | danibachar/Nand2Tetris | 0 | 26957 | @256
D=A
@SP
M=D
// call function: Sys.init with 0 arguments
@LABEL1
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
D=M
@5
D=D-A
@0
D=D-A
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(LABEL1)
// function: name Sys.... |
LAB 5/signedNumber.asm | Mawlong/Computer-Organization-and-Architecture | 0 | 6846 | <filename>LAB 5/signedNumber.asm
#signed numbers
#refer to unsigned program
.data
.text
.globl main
main:
li $t1, 1
li $t2, 2
slt $t0, $t1, $t2
li $t2, 0xF1000000 #when MSB is F it is -ve
li $t3, 0x00000001
slt $t0, $t3, $t2 # but since slt w/o u therefore signed
li $v0, 10
sysca... |
oeis/173/A173177.asm | neoneye/loda-programs | 11 | 105521 | ; A173177: Numbers k such that 2k+3 is a prime of the form 3*A034936(m) + 4.
; Submitted by <NAME>
; 2,5,8,14,17,20,29,32,35,38,47,50,53,62,68,74,77,80,89,95,98,104,110,113,119,134,137,140,152,155,164,167,173,182,185,188,197,203,209,215,218,227,230,242,248,260,269,272,284,287,299
mov $2,$0
pow $2,2
lpb $2
add $4,6
... |
oeis/004/A004996.asm | neoneye/loda-programs | 11 | 160425 | ; A004996: a(n) = 6^n/n! * Product_{k=0..n-1} (6*k - 1).
; Submitted by <NAME>
; 1,-6,-90,-1980,-50490,-1393524,-40412196,-1212365880,-37280250810,-1168114525380,-37146041907084,-1195427166827976,-38851382921909220,-1273129932671794440,-42013287778169216520,-1394841154235217988464,-46552823522600400364986,-156088878869... |
programs/oeis/061/A061742.asm | neoneye/loda | 22 | 87004 | ; A061742: a(n) is the square of the product of first n primes.
; 1,4,36,900,44100,5336100,901800900,260620460100,94083986096100,49770428644836900,41856930490307832900,40224510201185827416900,55067354465423397733736100,92568222856376731590410384100,171158644061440576710668800200900,378089444731722233953867379643788100
... |
oeis/018/A018918.asm | neoneye/loda-programs | 11 | 243480 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A018918: Define the generalized Pisot sequence T(a(0),a(1)) by: a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n). This is T(3,6).
; Submitted by <NAME>
; 3,6,11,20,36,64,113,199,350,615,1080,1896,3328,5841,10251,17990,31571,55404,97228,170624,299425,... |
lib/ti86_crt0.asm | RC2014Z80/z88dk | 8 | 27724 | <filename>lib/ti86_crt0.asm
; Stub for the TI 86 calculator
;
; <NAME> - Dec 2000
;
; $Id: ti86_crt0.asm,v 1.34 2016-07-11 05:58:34 stefano Exp $
;
; startup =
; n - Primary shell(s); compatible shell(s)
; (Primary shell merely means it's the smallest implementation
; for that shell, that uses full capab... |
data/mapHeaders/saffronhouse1.asm | adhi-thirumala/EvoYellow | 16 | 241287 | SaffronHouse1_h:
db HOUSE ; tileset
db SAFFRON_HOUSE_1_HEIGHT, SAFFRON_HOUSE_1_WIDTH ; dimensions (y, x)
dw SaffronHouse1Blocks, SaffronHouse1TextPointers, SaffronHouse1Script ; blocks, texts, scripts
db $00 ; connections
dw SaffronHouse1Object ; objects
|
tlsf/src/proof/relation/tlsf-proof-relation.adb | vasil-sd/ada-tlsf | 3 | 5901 | pragma Ada_2012;
package body TLSF.Proof.Relation is
function Relate(Container : R;
From, To : Element_Type)
return R
is
Len : constant Count_Type := Length(Container);
A : constant Arrow := (From, To);
begin
if Contains(Container, A) then
retu... |
api/api014.asm | yosswi414/HariboteOS_USB | 0 | 89784 | [BITS 32]
GLOBAL api_closewin
[SECTION .text]
api_closewin: ; void api_closewin(int win);
PUSH EBX
MOV EDX, 14
MOV EBX, [ESP+8] ; win
INT 0x40
POP EBX
RET
|
oeis/157/A157651.asm | neoneye/loda-programs | 11 | 15130 | <filename>oeis/157/A157651.asm
; A157651: a(n) = 100*n^2 - 49*n + 6.
; 57,308,759,1410,2261,3312,4563,6014,7665,9516,11567,13818,16269,18920,21771,24822,28073,31524,35175,39026,43077,47328,51779,56430,61281,66332,71583,77034,82685,88536,94587,100838,107289,113940,120791,127842,135093,142544,150195,158046,166097,174348,... |
src/02/time.asm | unlimitedbacon/kernel | 251 | 171000 | <reponame>unlimitedbacon/kernel
;; clockSupported [Time]
;; Returns whether the clock is supported.
;; Outputs:
;; A: Preserved on success; error code on failure
;; Z: Set when the clock is supported; reset otherwise
clockSupported:
#ifdef CLOCK
cp a ; set Z
#else
or 1 ; reset Z
ld a, errUnsupported... |
newFile.asm | epostIt/Assembler | 0 | 26099 | .EQU cool 12345
@cool
.EQU oh_cool 7645
@oh_cool
.EQU cool 12345
@cool
.EQU cool 12345
@cool
.EQU cool 12345
@cool
.EQU cool 12345
@cool
.EQU cool 12345
@cool
.EQU cool 12345
@cool
.EQU cool 11111
.EQU cool 12345
@cool
.EQU cool 11111
.EQU cool 12345
@cool
.EQU cool 11111
.EQU cool 12345
@cool
.EQU cool 11111
.EQU... |
arch/ARM/Nordic/drivers/nrf51-rtc.adb | bosepchuk/Ada_Drivers_Library | 6 | 5327 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
src/main/antlr/UimaTokenRegex.g4 | nantesnlp/uima-tokens-regex | 4 | 5072 | <filename>src/main/antlr/UimaTokenRegex.g4<gh_stars>1-10
/*******************************************************************************
* Copyright 2015-2017 - CNRS (Centre National de Recherche Scientifique)
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array1.ads | best08618/asylo | 7 | 363 | with SYSTEM;
WITH array2; use array2;
package array1 is
procedure Foo (R : RIC_TYPE);
procedure Start_Timer (Q : SYSTEM.ADDRESS);
end array1;
|
src/mandel_utf.adb | shintakezou/adaplayground | 0 | 28047 | -- this is taken from https://ideone.com/a1ky4l, which comes from
-- here http://cowlark.com/2014-04-27-ada/index.html (<NAME>)
--
-- I've polished it, adapted in style, removed some comments,
-- changed other things, … but mostly it's his code.
--
with
Ada.Numerics.Elementary_Functions,
Ada.Numerics.Generic_Comp... |
adium/ASUnitTests/CantSetWindowMinimizable.applescript | sin-ivan/AdiumPipeEvent | 0 | 174 | global HandyAdiumScripts
on run
tell application "Adium"
set m to (get minimizable of window 1)
try
set minimizable of window 1 to false
--should never get here
set minimizable of window 1 to m --restore
error
on error number num
if num is -2700 then error
end try
end tell
end run |
L6/L6.asm | Bardin08/CA_Labs | 0 | 171931 | TITLE ЛР_6
;------------------------------------------------------------------------------
; Дисципліна: Архітектура комп'ютера
; НТУУ "КПІ"
; Факультет: ФІОТ
; Курс: 1
; Група: ІТ-01
;------------------------------------------------------------------------------
; Автор: <NAME>
; Дата: 07/04/2021
;--------------------... |
agda/OList.agda | bgbianchi/sorting | 6 | 555 | <gh_stars>1-10
module OList {A : Set}(_≤_ : A → A → Set) where
open import Data.List
open import Bound.Lower A
open import Bound.Lower.Order _≤_
data OList : Bound → Set where
onil : {b : Bound}
→ OList b
:< : {b : Bound}{x : A}
→ LeB b (val x)
→ OList (... |
programs/oeis/073/A073784.asm | jmorken/loda | 1 | 243526 | <filename>programs/oeis/073/A073784.asm
; A073784: Number of primes between successive composite numbers.
; 1,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,0,1,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,0
m... |
Cubical/Algebra/Ring/DirectProd.agda | thomas-lamiaux/cubical | 0 | 8917 | <filename>Cubical/Algebra/Ring/DirectProd.agda
{-# OPTIONS --safe #-}
module Cubical.Algebra.Ring.DirectProd where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import... |
oeis/217/A217579.asm | neoneye/loda-programs | 11 | 104901 | ; A217579: a(1) = 1; for n > 1, a(n) = max(d*lpf(d) : d|n, d > 1), where lpf is the least prime factor function (A020639).
; Submitted by <NAME>
; 1,4,9,8,25,12,49,16,27,25,121,24,169,49,45,32,289,36,361,40,63,121,529,48,125,169,81,56,841,60,961,64,121,289,175,72,1369,361,169,80,1681,84,1849,121,135,529,2209,96,343,125... |
source/streams/a-ssiona.ads | ytomino/drake | 33 | 14790 | pragma License (Unrestricted);
-- implementation unit
with Ada.Streams.Naked_Stream_IO;
with System.Native_IO;
package Ada.Streams.Stream_IO.Naked is
pragma Preelaborate;
-- handle
procedure Open (
File : in out File_Type;
Mode : File_Mode;
Handle : System.Native_IO.Handle_Type;
Nam... |
theorems/homotopy/EM1HSpaceAssoc.agda | AntoineAllioux/HoTT-Agda | 294 | 306 | <reponame>AntoineAllioux/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.HSpace
open import homotopy.EM1HSpace
open import homotopy.EilenbergMacLane1 using (EM₁-level₁)
open import lib.types.TwoSemiCategory
open import lib.two-semi-categories.FundamentalCategory
module homotopy... |
asm/codes/hijack/reset_lag_counter.asm | brikr/practice-rom-patcher | 2 | 88806 | // Lag Frame Counter Reset on L
scope LagFrameCounterReset: {
lui t0, 0x8034
lb at, 0x9C31 (t0)
addiu v0, r0, 0x0020
bne at, v0, End // D0339C31 0020
nop
sw r0, 0x9F28 (t0) // 81339F28 0000 & 81339F2A 0000
End:
}
// Automatically Reset Counter at Star Select
scope LagFrameCounterAutoReset: {
lui t0, ... |
oeis/115/A115147.asm | neoneye/loda-programs | 11 | 15972 | <filename>oeis/115/A115147.asm
; A115147: Eighth convolution of A115140.
; Submitted by <NAME>
; 1,-8,20,-16,2,0,0,0,-1,-8,-44,-208,-910,-3808,-15504,-62016,-245157,-961400,-3749460,-14567280,-56448210,-218349120,-843621600,-3257112960,-12570420330,-48507033744,-187187399448,-722477682080,-2789279908316,-10772391370048... |
include/sf-graphics-texture.ads | Fabien-Chouteau/ASFML | 0 | 18158 | <gh_stars>0
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2018 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the... |
smsq/atari/kbd/lang.asm | olifink/smsqe | 0 | 178374 | ; base area SMSQ ATARI ST Keyboard Tables
section header
xref kbdu_tab
xref kbde_tab
xref kbdd_tab
xref kbdf_tab
xref kbdn_tab
xref kbdk_tab
xref kbes_tab
xref kbd_nsid
xref kbdf_nsid
xref smsq_end
include 'dev8_keys_qdos_sms'
include 'dev8_keys_ldm'
header_base
dc.l kbd_base-header_base ; length ... |
include/sf.ads | Fabien-Chouteau/ASFML | 0 | 6956 | <filename>include/sf.ads
--//////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held li... |
programs/oeis/269/A269110.asm | neoneye/loda | 22 | 172080 | ; A269110: Numbers of unit circles packed in a triangle of smallest area admitting an equilateral triangle solution.
; 1,3,5,6,9,10,14,15,20,21
lpb $0
mov $1,$0
bin $0,10051
seq $1,101881 ; Write two numbers, skip one, write two, skip two, write two, skip three ... and so on.
lpe
add $1,1
mov $0,$1
|
src/svd/sam_svd-supc.ads | Fabien-Chouteau/samd51-hal | 1 | 6239 | pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.SUPC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt Enable Clear
type SUPC_INTE... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_250.asm | ljhsiun2/medusa | 9 | 244272 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xda16, %rsi
lea addresses_UC_ht+0x1911a, %rdi
add $25119, %r10
mov $92, %rcx
rep movsb
add $28325, %r8
lea addresses_WC_ht+0x19a9a, %r15
nop
dec %rax
mov $0x61626364656667... |
oeis/082/A082580.asm | neoneye/loda-programs | 11 | 97030 | <reponame>neoneye/loda-programs
; A082580: A sum of Lah numbers and binomial coefficients.
; Submitted by <NAME>
; 1,2,10,68,574,5732,65724,847800,12120966,189890588,3230531356,59246895512,1164225730540,24387062160008,542155626123544,12743158072837680,315624979700257350,8213507146488950700
mov $1,1
mov $2,1
mov $3,$0
... |
g-regpat.ads | ytomino/gnat4drake | 0 | 20025 | <filename>g-regpat.ads
pragma License (Unrestricted);
package GNAT.Regpat is
pragma Preelaborate;
-- Constants
Expression_Error : exception;
type Regexp_Bit is (
Case_Insensitive_Bit,
Single_Line_Bit,
Multiple_Lines_Bit);
-- representation
type Regexp_Flags is array (Regexp_... |
Binding_Zstandard/zstandard-functions-streaming_decompression.adb | jrmarino/zstd-ada | 13 | 22074 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package body Zstandard.Functions.Streaming_Decompression is
------------------
-- Initialize --
------------------
procedure Initialize
(mechanism : out Decompressor;
input_stream ... |
third_party/antlr_grammars_v4/turing/turing.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 2 | 3920 | /*
BSD License
Copyright (c) 2020, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
loader/windows/src/x64/demote.asm | CrackerCat/hypervisor | 0 | 167479 | <filename>loader/windows/src/x64/demote.asm
; @copyright
; Copyright (C) 2020 Assured Information Security, Inc.
;
; @copyright
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restric... |
MIPS/Homework Assignments/Page160-Question1.asm | Enkrona/CompOrg44-345 | 0 | 166120 | <reponame>Enkrona/CompOrg44-345
.text
main:
la $a0, prompt #prompting user to input number 1
jal PromptInt
move $s0, $v0 # storing the result in $s0 for num1
la $a0, prompt2 # prompting user for number 2
jal PromptInt
move $s1, $v0 # storing the result in $s1 for num2
la $a0, prompt3 # prompting user t... |
programs/oeis/053/A053137.asm | karttu/loda | 1 | 170808 | <gh_stars>1-10
; A053137: Binomial coefficients C(2*n+8,8).
; 1,45,495,3003,12870,43758,125970,319770,735471,1562275,3108105,5852925,10518300,18156204,30260340,48903492,76904685,118030185,177232627,260932815,377348994,536878650,752538150,1040465790,1420494075,1916797311,2558620845,3381098545,4426165368,5743572120,73920... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_168.asm | ljhsiun2/medusa | 9 | 170262 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xbe55, %rdi
nop
nop
add %r8, %r8
movl $0x61626364, (%rdi)
nop
nop
nop
nop
and %r14, %r14
lea addresses_A_ht+0xc949, %rsi
dec %r9
and $0xffffffffffffffc0, %rs... |
Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0.log_21829_1401.asm | ljhsiun2/medusa | 9 | 244984 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x41f5, %rsi
lea addresses_WC_ht+0xe207, %rdi
nop
nop
and %r8, %r8
mov $106, %rcx
rep movsq
cmp %r13, %r13
lea addresses_WC_ht+0x1a813, %rcx
inc %r9
mov $0x6162636465666768, %rsi
movq %rsi... |
source/amf/uml/amf-standard_profile_l2-entities-collections.ads | svn2github/matreshka | 24 | 13533 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/hud.asm | tewtal/lttphack | 0 | 102847 | pushpc
; HUD
;
; Takes care of drawing the following:
; - Link's hearts and container
; - Enemy's hearts
; ----------------
; FLOOR INDICATOR
; ----------------
; FloorIndicator quick RTL
;
; This can mess with the HUD, removing parts of it
; just replacing the STA with LDA so we can keep vanilla lag
org $0AFD48
LDA... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_3_1593.asm | ljhsiun2/medusa | 9 | 174498 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
mov $0x131, %r14
and $1091, %rsi
movl $0x51525354, (%r14)
nop
nop
add %rbp, %rbp
// Store
mov $0x5c3b1e0000000af5, %rbp
nop
nop
nop
nop
sub $34673, ... |
theorems/cw/CW.agda | timjb/HoTT-Agda | 294 | 14295 | <reponame>timjb/HoTT-Agda<filename>theorems/cw/CW.agda
{-# OPTIONS --without-K --rewriting #-}
{-
Adapted from Ulrik's work in Lean (released under Apache License 2.0)
https://github.com/leanprover/lean/blob/master/hott/homotopy/cellcomplex.hlean
-}
open import HoTT renaming (pt to pt⊙)
open import homotopy.Disjo... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_/i3-7100_9_0x84_notsx.log_21829_3090.asm | ljhsiun2/medusa | 9 | 18092 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x7c6, %rdx
nop
nop
cmp %r13, %r13
vmovups (%rdx), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r8
nop
nop
nop
nop
dec %rdi
lea addresses_A_ht+0x14ac6, %rsi
lea ... |
src/main/antlr/MrParser.g4 | interair/mr-lang | 0 | 2955 | <reponame>interair/mr-lang
parser grammar MrParser;
options { tokenVocab=MrLexer; }
mrFile : lines=line+ ;
line : statement (NEWLINE | EOF) ;
statement : varDeclaration # varDeclarationStatement
| assignment # assignmentStatement
| print # printStatement
| map ... |
tools/command.asm | ssbostan/zagros | 21 | 88566 |
; ======================== ZagrOS =======================
; Zagros Open Source Operating System
; <NAME> (<EMAIL>)
; Bostandoust.IR
; ======================== ZagrOS =======================
; ==================== tools_command ====================
tools_command:
push si
call endl
mov ... |
src/main/fragment/mos6502-common/vdum1=vdum2_band_vdum3.asm | jbrandwood/kickc | 2 | 240526 | <gh_stars>1-10
lda {m2}
and {m3}
sta {m1}
lda {m2}+1
and {m3}+1
sta {m1}+1
lda {m2}+2
and {m3}+2
sta {m1}+2
lda {m2}+3
and {m3}+3
sta {m1}+3 |
third_party/antlr_grammars_v4/xsd-regex/regexParser.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 6186 | /*
* [The "BSD license"]
* Copyright (c) 2019 PANTHEON.tech
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
... |
src/gnat/uintp.adb | My-Colaborations/dynamo | 15 | 4083 | <filename>src/gnat/uintp.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test/Fail/Issue4450.agda | cruhland/agda | 1,989 | 5087 | -- Andreas, 2020-02-18, issue #4450 raised by Nisse
--
-- ETA pragma should be considered unsafe, since type-checking may loop.
{-# OPTIONS --safe --guardedness #-}
open import Agda.Builtin.Equality
record R : Set where
coinductive
field
force : R
open R
{-# ETA R #-}
foo : R
foo .force .force = foo
-- test ... |
src/el-functions-default.ads | jquorning/ada-el | 6 | 12525 | -----------------------------------------------------------------------
-- el-functions-default -- Default function mapper
-- Copyright (C) 2009, 2010, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... |
dino/lcs/123p/1E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 4207 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
0018CE add.w ($1e,A6), D0 [123p+ 18, enemy+18, item+18]
0018D2 move.w D0, ($18,A6) [123p+ 1E, enemy+1E, item+1E]
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
00539C move.w (A0), ($1e,A6) [123p+ 1... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-productions.ads | caqg/linux-home | 0 | 16344 | <reponame>caqg/linux-home<gh_stars>0
-- Abstract :
--
-- Type and operations for building grammar productions.
--
-- Copyright (C) 2018 - 2019 Free Software Foundation, Inc.
--
-- This file is part of the WisiToken package.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it ... |
src/base64.ads | AntonMeep/base64 | 0 | 13821 | pragma Ada_2012;
package Base64 with
Pure,
Preelaborate
is
end Base64;
|
src/Categories/Category/Finite/Fin/Instance/Triangle.agda | MirceaS/agda-categories | 0 | 3967 | <gh_stars>0
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Finite.Fin.Instance.Triangle where
open import Data.Nat using (ℕ)
open import Data.Fin
open import Data.Fin.Patterns
open import Relation.Binary.PropositionalEquality as ≡
open import Categories.Category.Finite.Fin
open import Categories.Categ... |
bf-interpreter-console.asm | skiwi2/AssemblyBrainfuckInterpreter | 10 | 161248 | extern _malloc, _calloc, _printf, _fdopen, _fprintf, _scanf, _getchar, _putchar
%define STDERR 2
%define NEWLINE_CODE 10
%define BF_MEMORY_CELL_AMOUNT 30000
%define BF_PROGRAM_END 255
%define JUMP_PAST_CODE 91
%define JUMP_BACK_CODE 93
section .data
format_... |
grammars/verilogPreprocLexer.g4 | THofstee/hdlConvertor | 0 | 7561 | lexer grammar verilogPreprocLexer;
channels { CH_LINE_ESCAPE, CH_LINE_COMMENT, CH_COMMENT}
@lexer::members {
bool define_in_body = false;
bool define_in_def_val = false;
int define_parentesis_count = 0;
int token_id_parentesis_count = 0;
}
fragment CRLF : '\r'? '\n';
fragment LETTER: [a-zA-Z] ;
fragment ID_FIRST: ... |
bb-runtimes/arm/sam/samg55/svd/i-sam-sysc.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 23168 | <reponame>JCGobbi/Nucleo-STM32G474RE
--
-- Copyright (C) 2017, AdaCore
--
-- This spec has been automatically generated from ATSAMG55J19.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.SAM.SYSC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- ... |
data/mapObjects/mtmoon1.asm | adhi-thirumala/EvoYellow | 16 | 4465 | MtMoon1Object:
db $3 ; border block
db $5 ; warps
db $23, $e, $1, $ff
db $23, $f, $1, $ff
db $5, $5, $0, MT_MOON_2
db $b, $11, $2, MT_MOON_2
db $f, $19, $3, MT_MOON_2
db $1 ; signs
db $17, $f, $e ; MtMoon1Text14
db $d ; objects e number of
object SPRITE_HIKER, $5, $6, STAY, DOWN, $1, OPP_HIKER, $1
object... |
Ada/problem_21/problem_21.ads | PyllrNL/Project_Euler_Solutions | 0 | 10958 | <reponame>PyllrNL/Project_Euler_Solutions
with Test_Solution; use Test_Solution;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Elementary_Functions;
package problem_21 is
type Int64 is range -2**63 .. 2**63 - 1;
function Solution_1 return Int64;
procedure Test_Solution_1;
function Get_Soluti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.