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 |
|---|---|---|---|---|
programs/oeis/173/A173523.asm | neoneye/loda | 22 | 242696 | <reponame>neoneye/loda
; A173523: 1+A053735(n-1), where A053735 is the sum-of-digits function in base 3.
; 1,2,3,2,3,4,3,4,5,2,3,4,3,4,5,4,5,6,3,4,5,4,5,6,5,6,7,2,3,4,3,4,5,4,5,6,3,4,5,4,5,6,5,6,7,4,5,6,5,6,7,6,7,8,3,4,5,4,5,6,5,6,7,4,5,6,5,6,7,6,7,8,5,6,7,6,7,8,7,8,9,2,3,4,3,4,5,4,5,6,3,4,5,4,5,6,5,6,7,4
mov $2,$0
lp... |
Labs/Lab6/lab06_ex1.asm | ptr2578/CS61 | 1 | 244962 | ;=================================================
; Name: <NAME>
; Email: <EMAIL>
; GitHub username: ptr2578
;
; Lab: lab 6
; Lab section: B21
; TA: <NAME>
;=================================================
.ORIG x3000
;--------------
; Instructions
;--------------
LD R1, ARRAY_PTR ; Load address of Array into R1
AD... |
TotalRecognisers/Simple/Expression.agda | nad/parser-combinators | 1 | 822 | ------------------------------------------------------------------------
-- Example: Right recursive expression grammar
------------------------------------------------------------------------
module TotalRecognisers.Simple.Expression where
open import Codata.Musical.Notation
open import Data.Bool
open import Data.Ch... |
Cubical/Algebra/CommMonoid/Instances/FreeComMonoid.agda | thomas-lamiaux/cubical | 1 | 13502 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommMonoid.Instances.FreeComMonoid where
open import Cubical.Foundations.Prelude
open import Cubical.HITs.FreeComMonoids
open import Cubical.Algebra.CommMonoid.Base
private variable
ℓ : Level
FCMCommMonoid : {A : Type ℓ} → CommMonoid ℓ
FCMCommMonoid {A = A} = makeComm... |
fastmodel-parser/src/main/antlr4/imports/BusinessCategoryParser.g4 | alibaba/fast-modeling-language | 9 | 3695 | parser grammar BusinessCategoryParser;
businessCategoryStatements:
createBusinessCategoryStatement
| renameBusinessCategory
| setBusinessCategoryAliasedName
| setBusinessCategoryComment
| setBusinessCategoryProperties
| unSetBusinessCategoryProperties
| dropBusinessCategoryStatement
;
crea... |
programs/oeis/047/A047565.asm | neoneye/loda | 22 | 14553 | ; A047565: Numbers that are congruent to {0, 1, 3, 4, 5, 6, 7} mod 8.
; 0,1,3,4,5,6,7,8,9,11,12,13,14,15,16,17,19,20,21,22,23,24,25,27,28,29,30,31,32,33,35,36,37,38,39,40,41,43,44,45,46,47,48,49,51,52,53,54,55,56,57,59,60,61,62,63,64,65,67,68,69,70,71,72,73,75,76,77,78,79,80,81,83,84,85,86,87,88,89,91,92,93,94,95,96,97... |
MP/Assignment_6/Assignment_6.asm | pratt3000/PICT_SE-Labs | 3 | 15213 | <filename>MP/Assignment_6/Assignment_6.asm
;--------------------------------------------Messages----------------------------------------------
SECTION .data
msg1: db "GDTR: "
len1: equ $-msg1
msg2: db "LDTR: "
len2: equ $-msg2
msg3: db "IDTR: "
len3: equ $-msg3
newl: db "", 10
lenn: equ $-newl
mswmsg db "Cont... |
src/Categories/Category/BicartesianClosed.agda | Trebor-Huang/agda-categories | 279 | 1041 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core using (Category)
module Categories.Category.BicartesianClosed {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Categories.Category.CartesianClosed 𝒞
open import Categories.Category.Cocartesian 𝒞
record BicartesianClosed : Se... |
programs/oeis/076/A076074.asm | jmorken/loda | 1 | 14984 | <reponame>jmorken/loda
; A076074: Initial members of groups in A076077.
; 2,1,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277
mov $2,$0
cmp $2,0
mov $3,$0
add $0,... |
lib/target/svi/classic/rom.asm | dp304/z88dk | 0 | 28597 | <gh_stars>0
;
; ROM Startup for SVI
;
defc CRT_ORG_BSS = 0x8000
defc CRT_ORG_CODE = 0x0000
EXTERN im1_vectors
EXTERN asm_interrupt_handler
defc TAR__clib_exit_stack_size = 0
defc TAR__register_sp = 0xffff
INCLUDE "crt/classic/crt_rules.inc"
org CRT_ORG_CODE
if... |
oeis/058/A058200.asm | neoneye/loda-programs | 11 | 166005 | ; A058200: Coefficients of the highest power of r in a sequence of parametric solutions for the Diophantine equation x^3+y^3+z^3=1.
; Submitted by <NAME>(s3)
; 9,9,3888,1679616,725594112,313456656384,135413275557888,58498535041007616,25271367137715290112,10917230603493005328384,4716243620708978301861888,203741724414627... |
0x10-variadic_functions/100-hello_holberton.asm | untalinfo/holbertonschool-low_level_programming | 0 | 10017 | section .data
message db "Hello, Holberton", 10
section .text
global main
main:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, 17
syscall
mov rax, 60
mov rdi, 0
syscall
|
c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/fft/CFFT_f32_mag.asm | ramok/Themis_ForHPSDR | 0 | 29106 | <filename>c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/fft/CFFT_f32_mag.asm<gh_stars>0
;;#############################################################################
;;! \file source/fft/CFFT_f32_mag.asm
;;!
;;! \brief Complex FFT magnitude calculations
;;! \author <NAME>
;;! \date 11/20/14
;;
;; DESCRIP... |
oeis/315/A315210.asm | neoneye/loda-programs | 11 | 18199 | <gh_stars>10-100
; A315210: Coordination sequence Gal.6.327.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,6,10,14,20,25,29,34,40,44,48,54,60,64,68,74,79,83,88,94,98,102,108,114,118,122,128,133,137,142,148,... |
src/natives/bring-to-front/mac/bring-to-front.applescript | DeltaEvo/testcafe-browser-tools | 0 | 421 | <reponame>DeltaEvo/testcafe-browser-tools<filename>src/natives/bring-to-front/mac/bring-to-front.applescript<gh_stars>0
on run (argv)
if (count of argv) is not equal to 2 then
error "Incorrect arguments"
end if
set windowId to (item 1 of argv as integer)
set bundleId to (item 2 of argv as string)
tell applic... |
SVParser.g4 | hlt0f4h/SVParser | 0 | 1438 | <reponame>hlt0f4h/SVParser
/*
* IEEE 1800-2017 SystemVerilog
* Parser Rule
*
* [#02] 2022-04-19
*
* https://github.com/hlt0f4h/SVParser
*/
parser grammar SVParser;
options {
tokenVocab=SVLexer;
}
// A.1.2 SystemVerilog source text
source_text
: ( timeunits_declaration )? ( descriptio... |
libsrc/target/altair8800/stdio/getk.asm | ahjelm/z88dk | 640 | 80606 | <gh_stars>100-1000
SECTION code_clib
PUBLIC getk
PUBLIC _getk
EXTERN fgetc_cons
getk:
_getk:
ld hl,0
in a,(0)
and 1
ret nz
in a,(1)
and 127
ld l,a
ret
|
pkgs/tools/yasm/src/modules/arch/x86/tests/pushf.asm | manggoguy/parsec-modified | 2,151 | 99443 | <gh_stars>1000+
[bits 16]
pushf
pushfw
pushfd
;pushfq
popf
popfw
popfd
;popfq
[bits 32]
pushf
pushfw
pushfd
;pushfq
popf
popfw
popfd
;popfq
[bits 64]
pushf
pushfw
;pushfd
pushfq
popf
popfw
;popfd
popfq
|
lib/target/srr/classic/sorcerer_crt0.asm | dikdom/z88dk | 1 | 83240 | <filename>lib/target/srr/classic/sorcerer_crt0.asm
;
; Startup for Sorcerer Exidy
;
; $Id: sorcerer_crt0.asm,v 1.15 2016-07-15 21:03:25 dom Exp $
MODULE sorcerer_crt0
defc crt0 = 1
INCLUDE "zcc_opt.def"
EXTERN _main ;main() is always external to crt0
PUBLIC cleanup ;jp'd... |
runtime/ravenscar-sfp-stm32f427/math/s-gearop.ads | TUM-EI-RCS/StratoX | 12 | 67 | <reponame>TUM-EI-RCS/StratoX<filename>runtime/ravenscar-sfp-stm32f427/math/s-gearop.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS ... |
programs/oeis/188/A188043.asm | neoneye/loda | 22 | 179221 | ; A188043: Positions of 1 in A188041; complement of A188042.
; 5,10,15,17,22,27,29,34,39,44,46,51,56,58,63,68,73,75,80,85,87,92,97,99,104,109,114,116,121,126,128,133,138,143,145,150,155,157,162,167,169,174,179,184,186,191,196,198,203,208,213,215,220,225,227,232,237,242,244,249,254,256,261,266,268,273,278,283,285,290,29... |
TotalParserCombinators/Congruence/Sound.agda | nad/parser-combinators | 1 | 10183 | <filename>TotalParserCombinators/Congruence/Sound.agda
------------------------------------------------------------------------
-- The parser equivalence proof language is sound
------------------------------------------------------------------------
module TotalParserCombinators.Congruence.Sound where
open import Ca... |
tools-src/gnu/gcc/gcc/ada/lib-writ.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 8761 | <filename>tools-src/gnu/gcc/gcc/ada/lib-writ.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
lib/Explore/Experimental/Isos.agda | crypto-agda/explore | 2 | 6338 | <filename>lib/Explore/Experimental/Isos.agda
{-# OPTIONS --without-K #-}
module Explore.Explorable.Isos where
open import Function
open import Data.Product
open import Data.Nat
open import Data.Vec renaming (sum to vsum)
open import Function.Related.TypeIsomorphisms.NP
import Relation.Binary.PropositionalEquality.NP a... |
src/asis/asis-extensions-flat_kinds.adb | My-Colaborations/dynamo | 15 | 19356 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
programs/oeis/316/A316626.asm | neoneye/loda | 22 | 174184 | ; A316626: a(1)=a(2)=a(3)=1; a(n) = a(n-2*a(n-1))+a(n-1-2*a(n-2)) for n > 3.
; 1,1,1,2,2,2,2,3,3,3,4,4,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,8,8,8,9,9,9,10,10,10,10,11,11,11,12,12,12,12,12,13,13,13,14,14,14,14,15,15,15,16,16,16,16,16,16,16,17,17,17,18,18,18,18,19,19,19,20,20,20,20,20,21,21,21,22,22,22,22,23,23,23,24,24,24,24... |
modules/web/js/ballerina-old/parser/gen/NEL.g4 | dnwick/editor | 0 | 6505 | /*
* Copyright (c) 2005-2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... |
oeis/083/A083346.asm | neoneye/loda-programs | 11 | 99769 | ; A083346: Denominator of r(n) = Sum(e/p: n=Product(p^e)).
; Submitted by <NAME>(w2)
; 1,2,3,1,5,6,7,2,3,10,11,3,13,14,15,1,17,6,19,5,21,22,23,6,5,26,1,7,29,30,31,2,33,34,35,3,37,38,39,10,41,42,43,11,15,46,47,3,7,10,51,13,53,2,55,14,57,58,59,15,61,62,21,1,65,66,67,17,69,70,71,6,73,74,15,19,77,78,79,5,3,82,83,21,85,86,8... |
programs/oeis/283/A283049.asm | neoneye/loda | 22 | 241675 | <gh_stars>10-100
; A283049: Numbers of configurations of A'Campo forests with co-dimension 1 and degree n>0.
; 0,4,48,480,4560,42504,393120,3624768,33390720,307618740,2835722032,26162863584,241614915360,2233533229200,20667453710400,191422799835264,1774573628661504,16465220088660432,152894968403313600,142085683134915520... |
day27/harib24f/api/api004.asm | itiB/hariboteOS_30days | 1 | 81617 | [CPU 486]
[BITS 32]
GLOBAL api_openwin
section .text
api_openwin: ; int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title)
PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX, 5
MOV EBX, [ESP + 16] ; buf
MOV ESI, [ESP + 20] ; xsiz
MOV ED... |
day08/src/vm.adb | jwarwick/aoc_2020 | 3 | 10694 | with Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
package body VM is
package TIO renames Ada.Text_IO;
function instruction_index_hash(key : in Instruction_Index) return Hash_Type is
begin
return Hash_Type(key);
end instruction_index_has... |
alloy4fun_models/trashltl/models/8/jzKk4v27ybrTJDkZB.als | Kaixi26/org.alloytools.alloy | 0 | 4356 | <gh_stars>0
open main
pred idjzKk4v27ybrTJDkZB_prop9 {
all f: File | always f not in Trash implies once f in Protected
}
pred __repair { idjzKk4v27ybrTJDkZB_prop9 }
check __repair { idjzKk4v27ybrTJDkZB_prop9 <=> prop9o } |
oeis/309/A309726.asm | neoneye/loda-programs | 11 | 166632 | <reponame>neoneye/loda-programs
; A309726: Numbers n such that n^2 - 12 is prime.
; Submitted by <NAME>
; 5,7,11,13,17,19,25,29,35,41,49,53,59,61,79,85,91,95,97,103,107,113,119,121,137,139,145,149,163,169,173,179,181,185,191,205,209,227,233,235,245,251,253,257,277,283,293,295,319,325,335,337,341,347,349,355,365,367,379... |
src/main/antlr/Karaffe.g4 | nokok/Karaffe | 9 | 6972 | grammar Karaffe;
sourceFile
: classDef* EOF
;
classDef
: CLASS Identifier nl? typeDefBody? nl?
;
typeDefBody
: LBRACE nl? statement* RBRACE nl?
;
statement
: entryPointBlock nl?
| initBlock nl?
| varDef nl?
| assign nl?
| expr nl?
;
entryPointBlock
: ENTRYPOINT LBRACE nl? statement* RBRAC... |
Cubical/Algebra/CommRing/FiberedProduct.agda | lpw25/cubical | 0 | 9511 | <reponame>lpw25/cubical
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.FiberedProduct where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.Algebra.Ring
open import Cubical.Algebra.Comm... |
tests/typing/bad/testfile-arith-4.adb | xuedong/mini-ada | 0 | 18471 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is X : Integer; begin X := 1 rem 'a'; end;
|
examples/dump_tree/dump_elements.ads | optikos/oasis | 0 | 10926 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements;
package Dump_Elements is
procedure Print (Element : Program.Elements.Element_Access);
end Dump_Elements;
|
src/DATA/tile1.asm | Kannagi/PC-Engine-Demo | 2 | 169333 |
.db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.db $9f,$65,$ff,$c7,$9f,$6f... |
lemmas-ground.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 6080 | <reponame>hazelgrove/hazelnut-dynamics-agda
open import Prelude
open import core
module lemmas-ground where
-- not ground types aren't hole to hole
ground-arr-not-hole : ∀{τ} →
(τ ground → ⊥) →
(τ ≠ (⦇-⦈ ==> ⦇-⦈))
ground-arr-not-hole notg refl = notg GHole
-- not gr... |
euler1.adb | kimtg/euler-ada | 7 | 26053 | with Ada.Text_IO;
procedure euler1 is
sum: Integer := 0;
begin
for i in 1 .. 999 loop
if i mod 3 = 0 or else i mod 5 = 0 then
sum := sum + i;
end if;
end loop;
Ada.Text_IO.Put_Line(Integer'Image(sum));
end euler1; |
Dot6502MiniConsole/SamplePrograms/calculator.asm | terjew/Dot6502 | 4 | 240737 | <reponame>terjew/Dot6502
; Calculator for 6502asm.com, Version 1.02, 2015.JUL.08 by <NAME>
; It is slow in the 6502 emulator by JavaScript.
; The left top flash point is a busy indicator.
; The calculator supports keys: 'C', 'c', '0', '1', ..., '9', '+', '-' and '='.
main: cld
jsr d... |
programs/oeis/269/A269608.asm | jmorken/loda | 1 | 160789 | ; A269608: Number of length-5 0..n arrays with no repeated value differing from the previous repeated value by one or less.
; 10,154,804,2692,7030,15630,31024,56584,96642,156610,243100,364044,528814,748342,1035240,1403920,1870714,2453994,3174292,4054420,5119590,6397534,7918624,9715992,11825650,14286610,17141004,2043420... |
asg/asm/rdkafka_msgset_writer.asm | asgkafka/librdkafka | 0 | 20002 | *PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:35:48 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DD4E2C7E2C5E36DE6D9C9E3C5D9'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS X'7C998492818692816D... |
alloy4fun_models/trainstlt/models/3/iDvZ52TmQy3CjwtMq.als | Kaixi26/org.alloytools.alloy | 0 | 2222 | open main
pred idiDvZ52TmQy3CjwtMq_prop4 {
always ~pos.pos in iden
}
pred __repair { idiDvZ52TmQy3CjwtMq_prop4 }
check __repair { idiDvZ52TmQy3CjwtMq_prop4 <=> prop4o } |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_2768.asm | ljhsiun2/medusa | 9 | 13018 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x16452, %rsi
lea addresses_UC_ht+0xcda2, %rdi
nop
nop
nop
sub $34397, %rdx
mov $28, %rcx
rep movsl
nop
nop
nop
cmp $146, %rsi
lea addresses_WT_ht+0x1d... |
agda/MutRec.agda | anqurvanillapy/fpl | 1 | 1622 | <reponame>anqurvanillapy/fpl
-- Mutual Recursion.
module MutRec where
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
data Odd : Set
data Even : Set where
e0 : Even
eS : Odd → Even
data Odd where
oS : Even → Odd
addEO : Even → Odd → Odd
addOO : Odd → Odd → Even
addOO (oS m) n = eS (addE... |
Translation methods/3. Translator/grammar/pascal.g4 | egormkn/Study-courses | 1 | 3090 | <filename>Translation methods/3. Translator/grammar/pascal.g4
grammar pascal;
program returns [String code] @init {$code = "";}
// |------------| |-------------------| |--------------|
: programHeading programVarDeclaration mainRunningScope {
$code += $programHeading.header + "\n";
$code += $programVarDe... |
console_win32_snake.asm | mov-rax-rbx/snake | 1 | 15693 | extern ExitProcess
extern WriteConsoleA
extern ReadConsoleInputA
extern SetConsoleTitleA
extern SetConsoleCursorInfo
extern SetConsoleWindowInfo
extern SetCurrentConsoleFontEx
extern SetConsoleCursorPosition
extern SetConsoleScreenBufferSize
extern GetStdHandle
extern GetCurrentConsoleFontEx
extern GetTickCount
extern ... |
prototyping/Luau/RuntimeError/ToString.agda | FreakingBarbarians/luau | 1 | 7355 | <filename>prototyping/Luau/RuntimeError/ToString.agda
module Luau.RuntimeError.ToString where
open import FFI.Data.String using (String; _++_)
open import Luau.RuntimeError using (RuntimeErrorᴮ; RuntimeErrorᴱ; local; return; NilIsNotAFunction; UnboundVariable; SEGV; app; block)
open import Luau.Addr.ToString using (ad... |
Assignment3/init/src/main/mp/parser/MP.g4 | jimcbl/ppl_hcmut_assignment | 1 | 1050 | grammar MP;
@lexer::header {
from lexererr import *
}
options{
language=Python3;
}
program : decl+ EOF;
decl: funcdecl | procdecl;
procdecl: PROCEDURE ID LB RB SEMI body;
funcdecl: FUNCTION ID LB RB COLON mtype SEMI body;
body: BEGIN stmt? END ;
stmt: funcall SEMI;
funcall: ID LB exp? RB ;
exp: INTLIT ;
... |
examples/cart/carttest.asm | mahlemiut/cpcbuilder | 4 | 104062 | ; Cartridge test demo
org 0
; initialise the CRTC
ld hl,crtc
ld bc,&bc00
crtc_loop:
out (c),c
ld a,(hl)
inc b
out (c),a
dec b
inc c
inc hl
ld a,c
cp 16
jr nz,crtc_loop
; set to mode 0
ld bc,&7f80
out (c),c
; copy in screen data
ld bc,&df01
out (c),c
ld bc,&4000
ld de,&4000
ld hl,&c000
ldir
... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/sqrt.asm | jpoikela/z88dk | 640 | 86135 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC sqrt
EXTERN cm48_sccz80_sqrt
defc sqrt = cm48_sccz80_sqrt
|
src/PJ/picdrive/tiff/unhufman.asm | AnimatorPro/Animator-Pro | 119 | 21732 | <gh_stars>100-1000
; Set your editor tabsize to 8 for this file!
;****************************************************************************
; UNHUFMAN.ASM - Decompress TIFF type-2 data (modified one-d Huffman format).
; (386 protected mode version).
;************************************************************... |
programs/oeis/004/A004960.asm | neoneye/loda | 22 | 244865 | <gh_stars>10-100
; A004960: a(n) = ceiling(n*phi^5), where phi is the golden ratio, A001622.
; 0,12,23,34,45,56,67,78,89,100,111,122,134,145,156,167,178,189,200,211,222,233,244,256,267,278,289,300,311,322,333,344,355,366,378,389,400,411,422,433,444,455,466,477
mov $1,$0
add $0,1
mul $1,$0
mul $0,11
lpb $1
sub $1,$0
... |
Engine/Sound/PlayPCM.asm | wide-dot/thomson-to8-game-engine | 11 | 166593 | * ---------------------------------------------------------------------------
* PlayPCM
* ------------
* Subroutine to play a PCM sample at 16kHz
* This will freeze anything running
* DAC Init from Mission: Liftoff (merci Prehisto ;-))
*
* input REG : [y] Pcm_ index to play
* reset REG : [d] [x] [y]
* -----------------... |
programs/oeis/158/A158068.asm | neoneye/loda | 22 | 95270 | ; A158068: Period 6: repeat [1, 2, 2, 1, 5, 5].
; 1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1,5,5,1,2,2,1
dif $0,2
mod $0,3
pow $0,2
add $0,1
|
c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_DisInt.asm | ramok/Themis_ForHPSDR | 0 | 87391 | ;// TI File $Revision: /main/2 $
;// Checkin $Date: January 4, 2011 10:10:15 $
;//###########################################################################
;//
;// FILE: F2806x_DisInt.asm
;//
;// TITLE: Disable and Restore INTM and DBGM
;//
;// Function Prototypes:
;//
;// Uint16 DSP28x_DisableInt();
;// ... |
Lab Work/5th-semester/assembly-language/book/CH-07/7_8.asm | akazad13/bsc-academic-work | 0 | 102838 | .MODEL SMALL
.STACK 100H
.DATA
MSG1 DB 'TYPE A CHARACTER: $'
MSG2 DB 0AH,'THE ASCII CODE OF ';
CHAR DB ?,' $'
MSG3 DB 'IN BINARY IS $'
MSG4 DB 0AH,'THE NUMBER OF 1 BITS IS $'
CNT DB 0
.CODE
MAIN PROC
; initializing data segment
MOV AX,@DATA
MOV DS,AX
LEA DX,MSG1 ; getting offset of 1st message
MOV AH,9 ;... |
asm/x86_64/syscall.asm | sweetporkbones/scratchpad | 9 | 161962 | section .text
global _start
_start:
mov rdi, 42 ; this code has the answer!
mov rax, 60 ; exit
syscall
|
alice2/brads_alice2_archive/asm/sanity2.asm | lkesteloot/alice | 63 | 168997 | ORG 0
MAIN
; write 0 to 0x8000
; write 0xCAFE to 0x8000
; must read back 0xCAFE
LD BC, 0H
LD (8000H), BC
LD BC, 0cafeH
LD (8000H), BC
LD HL, (8000H)
SCF
CCF
SBC HL, BC
JP Z, YES
JP NO
YES
LD A, 0FFH
FASTLOOP
OUT (0), A
JP FASTLOOP
NO
LD A, 00H
SLOWLOOP
OUT ... |
out/mkdir.asm | harveydong/learning-xv6 | 0 | 100848 |
.fs/mkdir: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %rbp
int i;
if(argc < 2){
1: 83 ff 01 cmp $0x1,%edi
#include "stat.h"
#include "user.h"
i... |
oeis/134/A134013.asm | neoneye/loda-programs | 11 | 12023 | ; A134013: Expansion of q * phi(q) * psi(q^8) in powers of q where phi(), psi() are Ramanujan theta functions.
; Submitted by <NAME>
; 1,2,0,0,2,0,0,0,1,4,0,0,2,0,0,0,2,2,0,0,0,0,0,0,3,4,0,0,2,0,0,0,0,4,0,0,2,0,0,0,2,0,0,0,2,0,0,0,1,6,0,0,2,0,0,0,0,4,0,0,2,0,0,0,4,0,0,0,0,0,0,0,2,4,0,0,0,0,0,0,1,4,0,0,4,0,0,0,2,4,0,0,0... |
src/main/fragment/mos6502-common/_deref_pwsz1=_deref_pwsz1_rol_1.asm | jbrandwood/kickc | 2 | 91741 | <reponame>jbrandwood/kickc<filename>src/main/fragment/mos6502-common/_deref_pwsz1=_deref_pwsz1_rol_1.asm
ldy #0
lda ({z1}),y
asl
sta ({z1}),y
iny
lda ({z1}),y
rol
sta ({z1}),y |
oeis/093/A093119.asm | neoneye/loda-programs | 11 | 166147 | <filename>oeis/093/A093119.asm
; A093119: Number of convex polyominoes with a 3 X n+1 minimal bounding rectangle.
; 13,68,222,555,1171,2198,3788,6117,9385,13816,19658,27183,36687,48490,62936,80393,101253,125932,154870,188531,227403,271998,322852,380525,445601,518688,600418,691447,792455,904146,1027248,1162513,1310717,1... |
oeis/295/A295861.asm | neoneye/loda-programs | 11 | 88451 | <filename>oeis/295/A295861.asm
; A295861: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = -2, a(1) = -1, a(2) = 0, a(3) = 1.
; Submitted by <NAME>
; -2,-1,0,1,7,12,31,51,106,173,327,532,955,1551,2698,4377,7459,12092,20319,32923,54778,88725,146575,237348,390067,631511,1033866,1673569,2732011,4421964,7203127,... |
source/resolver/program-resolvers-name_in_region.adb | reznikmm/gela | 0 | 25495 | <filename>source/resolver/program-resolvers-name_in_region.adb
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Cross_Reference_Updaters;
with Program.Elements.Identifiers;
with Program.Node_Symbols;
with Pr... |
oeis/022/A022115.asm | neoneye/loda-programs | 11 | 168006 | <filename>oeis/022/A022115.asm
; A022115: Fibonacci sequence beginning 2, 11.
; Submitted by <NAME>(s4)
; 2,11,13,24,37,61,98,159,257,416,673,1089,1762,2851,4613,7464,12077,19541,31618,51159,82777,133936,216713,350649,567362,918011,1485373,2403384,3888757,6292141,10180898,16473039,26653937,43126976,69780913,112907889,1... |
work/ff3_info_window.asm | ypyp-pprn-mnmn/ff3_hack | 4 | 7167 | <reponame>ypyp-pprn-mnmn/ff3_hack<filename>work/ff3_info_window.asm
; ff3_info_window
;
;description:
; replaces code for information window (larger window on the bottom right)
;
;version:
; 0.01 (2006-10-24)
;
;====================================================================================================... |
src/Categories/Category/WithFamilies.agda | bblfish/agda-categories | 5 | 3477 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.WithFamilies where
-- Category With Families (as model of dependent type theory)
-- see https://ncatlab.org/nlab/show/categorical+model+of+dependent+types#categories_with_families
-- for more details.
open import Level
open import Relation.Binary.Propositi... |
Definition/LogicalRelation/Substitution/Reducibility.agda | CoqHott/logrel-mltt | 2 | 5064 | <reponame>CoqHott/logrel-mltt
{-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Reducibility {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open im... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Lex/NonStrict.agda | omega12345/agda-mode | 0 | 2206 | <filename>test/asset/agda-stdlib-1.0/Data/List/Relation/Lex/NonStrict.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Lex.NonStrict directly.
----------------------------------------------... |
examples/AccP.agda | andreasabel/miniagda | 85 | 6993 | module Acc where
data Acc ( A : Set ) ( Lt : A -> A -> Set) : A -> Set where
acc : ( b : A )
-> ( ( a : A ) -> Lt a b -> Acc A Lt a )
-> ( Acc A Lt b )
data Nat : Set where
zero : Nat
succ : Nat -> Nat
data Lt : Nat -> Nat -> Set where
ltzero : ( x : Nat ) -> Lt zero (succ x)
ltsucc... |
programs/oeis/089/A089279.asm | jmorken/loda | 1 | 17648 | <gh_stars>1-10
; A089279: a(n) = 2 + sum(k=1 to n) [(-1)^k A001511(k)].
; 1,3,2,5,4,6,5,9,8,10,9,12,11,13,12,17,16,18,17,20,19,21,20,24,23,25,24,27,26,28,27,33,32,34,33,36,35,37,36,40,39,41,40,43,42,44,43,48,47,49,48,51,50,52,51,55,54,56,55,58,57,59,58,65,64,66,65,68,67,69,68,72
mov $2,$0
add $0,1
pow $2,2
mod $2,4
mo... |
CPU/cpu_test/test_storage/sltiu.asm | SilenceX12138/MIPS-Microsystems | 55 | 98096 | .text
li $t1,-1
li $t2,1
li $t3,-3
li $t4,3
sltiu $s1,$t1,-3
sltiu $s2,$t1,3
sltiu $s3,$t2,-3
sltiu $s4,$t2,3 |
test/Fail/SafeFlagPostulate.agda | cruhland/agda | 1,989 | 1418 | <gh_stars>1000+
{-# OPTIONS --safe #-}
module SafeFlagPostulate where
data Empty : Set where
postulate inhabitant : Empty
|
src/main/fragment/mos6502-common/vboaa=vbsaa_gt_vbsc1.asm | jbrandwood/kickc | 2 | 164881 | <reponame>jbrandwood/kickc
sec
sbc #{c1}
beq !a+
bvs !+
eor #$80
!:
asl
lda #0
rol
!a: |
lib/chibiakumas/SrcALL/V1_BitmapMemory.asm | gilbertfrancois/msx | 0 | 176874 | ifdef BuildCPC
read "\SrcCPC\CPC_V1_BitmapMemory.asm"
endif
ifdef BuildZXS
read "\SrcZX\ZX_V1_BitmapMemory.asm"
endif
ifndef BuildMSX_MSX1
ifdef BuildMSX
read "\SrcMSX\MSX_V1_BitmapMemory.asm"
endif
else
ifdef BuildMSX
read "\SrcMSX\MSX1_V1_BitmapMemory.asm"
endif
endif
ifdef Bu... |
oeis/239/A239062.asm | neoneye/loda-programs | 11 | 15344 | ; A239062: Number of integers x, 1 <= x <= n, such that x^x == 0 (mod n).
; Submitted by <NAME>
; 1,1,1,2,1,1,1,3,3,1,1,2,1,1,1,7,1,3,1,2,1,1,1,4,5,1,9,2,1,1,1,15,1,1,1,6,1,1,1,4,1,1,1,2,3,1,1,8,7,5,1,2,1,9,1,4,1,1,1,2,1,1,3,31,1,1,1,2,1,1,1,12,1,1,5,2,1,1,1,8,26,1,1,2,1,1,1,4,1,3,1,2,1,1,1,16,1,7,3,10
add $0,1
mov $2... |
programs/oeis/055/A055112.asm | karttu/loda | 1 | 85539 | <reponame>karttu/loda
; A055112: a(n) = n*(n+1)*(2*n+1).
; 0,6,30,84,180,330,546,840,1224,1710,2310,3036,3900,4914,6090,7440,8976,10710,12654,14820,17220,19866,22770,25944,29400,33150,37206,41580,46284,51330,56730,62496,68640,75174,82110,89460,97236,105450,114114,123240,132840,142926,153510,164604,176220,188370,201066,... |
test/asset/agda-stdlib-1.0/Algebra/Structures.agda | omega12345/agda-mode | 0 | 6128 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some algebraic structures (not packed up with sets, operations,
-- etc.)
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relat... |
code/vendor/openssl/asm/crypto/bn/rsaz-avx2.asm | thorium-cfx/fivem | 5,411 | 26400 | OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
PUBLIC rsaz_1024_sqr_avx2
ALIGN 64
rsaz_1024_sqr_avx2 PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_rsaz_1024_sqr_avx2::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
mov r8,QWORD PTR[40+rsp]
lea rax,... |
BigNum/Mod/ModArith/bnModInv.asm | FloydZ/Crypto-Hash | 11 | 7110 | <reponame>FloydZ/Crypto-Hash
.686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
bnModInv proc uses ebx edi esi bnX:DWORD, bnN:DWORD, bnR:DWORD
LOCAL t0,t1
; invoke bnGCD,bnX,bnN,bnR
; mov eax,bnR
; .if BN_IS_ONE(eax);
invoke bnCreatei,1
mov t1,eax
bnCreateX ebx,edi,esi,t0
... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadTiles.asm | jpoikela/z88dk | 640 | 83542 | ; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_loadTiles
EXTERN asm_sms... |
_build/dispatcher/jmp_ippsHashMethod_SHA1_91dcc9de.asm | zyktrcn/ippcp | 1 | 23326 | <gh_stars>1-10
extern m7_ippsHashMethod_SHA1:function
extern n8_ippsHashMethod_SHA1:function
extern y8_ippsHashMethod_SHA1:function
extern e9_ippsHashMethod_SHA1:function
extern l9_ippsHashMethod_SHA1:function
extern n0_ippsHashMethod_SHA1:function
extern k0_ippsHashMethod_SHA1:function
extern ippcpJumpIndexForMergedLi... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_852.asm | ljhsiun2/medusa | 9 | 25735 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1236d, %r10
nop
nop
nop
nop
dec %r13
vmovups (%r10), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r12
nop
nop
nop
nop
nop
inc %r13
lea addresses_WT_h... |
test/Succeed/Issue2549.agda | KDr2/agda | 0 | 13532 | <reponame>KDr2/agda
{-# OPTIONS --cubical-compatible --rewriting --confluence-check #-}
postulate
_↦_ : {A : Set} → A → A → Set
{-# BUILTIN REWRITE _↦_ #-}
data _==_ {A : Set} (a : A) : A → Set where
idp : a == a
PathOver : {A : Set} (B : A → Set)
{x y : A} (p : x == y) (u : B x) (v : B y) → Set
PathOver B idp... |
antlr/tslTokens.g4 | GillesBIANNIC/tsl | 57 | 3803 | <reponame>GillesBIANNIC/tsl
lexer grammar tslTokens; // note "TSL tokens"
// TSL native types and tokens
DURATIONVAL: INT_LIT ([wdhms]|'ms'|'us'|'ns'|'ps')
| '-' INT_LIT ([wdhms]|'ms'|'us'|'ns'|'ps')
;
NUMBER: INT_LIT
| FLOAT_LIT
| '-' INT_LIT
| '-' FLOAT_LIT
;
STRING: RAW_STRING_LIT
|... |
programs/oeis/029/A029938.asm | neoneye/loda | 22 | 2837 | ; A029938: (p-5)(p-7)/24, where p=prime(n).
; 0,0,1,2,5,7,12,22,26,40,51,57,70,92,117,126,155,176,187,222,247,287,345,376,392,425,442,477,610,651,715,737,852,876,950,1027,1080,1162,1247,1276,1426,1457,1520,1552,1751,1962,2035,2072,2147,2262,2301,2501,2625,2752,2882,2926,3060,3151,3197,3432,3775,3876,3927,4030,4401,4565... |
lib/chibiakumas/SrcMSX/MSX1_V1_VdpMemory.asm | gilbertfrancois/msx | 0 | 3036 | <filename>lib/chibiakumas/SrcMSX/MSX1_V1_VdpMemory.asm
GetColMemPos: ;Get a BC (XY) color memory pos, 32 chars per line, 8 bytes of color per char,
; this command uses Y as a bitmap line number (0-192), not a tile number (0-24)
push bc
ld a,c
and %11111000
rrca
rrca
rrca
or &20 ;Colors st... |
def_monitor.adb | lumalisan/EspeblancaYLos7PPs | 0 | 6878 | with Ada.Text_IO;
use Ada.Text_IO;
package body def_monitor is
protected body Monitor is
entry menjar when (assegut = true and servit = true) is
begin
Put_Line("--------------> {Nombre Enano} Menjant!!!");
assegut := false;
servit := false;
end menjar;
entry put_honey when (jar < MAX) is
begin
... |
TestRoms/LinkTest/GBHeader.asm | Pegmode/GB2Twitter | 4 | 21492 | <reponame>Pegmode/GB2Twitter
;Generic GB ROM Header
;Based off of header from DevEd
SECTION "Reset $00",HOME[$00]
Reset00: ret
SECTION "Reset $08",HOME[$08]
Reset08: ret
SECTION "Reset $10",HOME[$10]
Reset10: ret
SECTION "Reset $18",HOME[$18]
Reset18: ret
SECTION "Reset $20",HOME[$20]
Reset20: ret
SECTION "Reset... |
dist/re-danker.asm | mitre-cyber-academy/2017-Binary-200 | 0 | 104799 | <reponame>mitre-cyber-academy/2017-Binary-200
# Can U reverse spim-er 3017?
# R U a memel0rd lik le l00per kn0wn as kierk
# l4st ye4r we le4rned th4t sEcUrItY tHr0uGh 0bScUrItY is a bad meme
# th1s ye4r you will never get my fl4g.. well not never but not before the competition ends..
# U also m1ght run 0ut 0f memory b... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1123.asm | ljhsiun2/medusa | 9 | 247285 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1537c, %r11
nop
nop
nop
nop
and %r9, %r9
mov (%r11), %ax
nop
nop
nop
nop
and $36393, %r15
lea addresses_normal_ht+0x906c, %rcx
nop
nop
add %r13, %r13
vmovups (%rcx), %ymm4
ve... |
src/giza-widget-background.adb | Fabien-Chouteau/Giza | 7 | 26844 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_read_callee.asm | Frodevan/z88dk | 640 | 86907 |
SECTION code_fp_math16
PUBLIC cm16_sdcc_readr_callee
PUBLIC cm16_sdcc_read1_callee
.cm16_sdcc_readr_callee
; sdcc half_t primitive
; Read right sdcc half_t from the stack
;
; enter : stack = sdcc_half right, sdcc_half left, ret1, ret0
;
; exit : sdcc_half left, ret1
; HL = sdcc_... |
src/gen/cups-bits_pthreadtypes_h.ads | persan/a-cups | 0 | 5006 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
with System;
private package CUPS.bits_pthreadtypes_h is
-- Copyright (C) 2002-2016 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Library is free software;... |
tests/stack_and_math/stack_and_print.asm | UPB-FILS-ALF/devoir-1-tests | 0 | 99350 | push 300
push 200
stack
print
|
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/df_test_tool5_win.asm | ArthasZhang007/15418FinalProject | 0 | 8860 | ;
; Copyright (C) 2007-2012 Intel Corporation.
; SPDX-License-Identifier: MIT
;
PUBLIC TestDfByMovsd
.686
.model flat, c
extern source:word
extern dest:word
.code
TestDfByMovsd PROC
push esi
push edi
lea esi, source
add esi, 4
lea edi, dest
add edi, 4
... |
ver0/2_pro/3priority/pmtest3.asm | RongbinZhuang/simpleOS | 0 | 7179 | <gh_stars>0
;pmtest3.asm
;nasm pmtest3.asm -o pmtest3.com
%include "pm.inc" ;常量,宏
org 0100h
jmp LABEL_BEGIN
[section .gdt]
;GDT
; 段基址, 段界限 , 属性
LABEL_GDT: Descriptor 0, 0, 0
; 空描述符
LABEL_DESC_NORMAL: Descriptor 0, 0ffffh, D... |
programs/oeis/022/A022847.asm | karttu/loda | 0 | 160050 | ; A022847: Integer nearest n*sqrt(3).
; 0,2,3,5,7,9,10,12,14,16,17,19,21,23,24,26,28,29,31,33,35,36,38,40,42,43,45,47,48,50,52,54,55,57,59,61,62,64,66,68,69,71,73,74,76,78,80,81,83,85,87,88,90,92,94,95,97,99,100,102,104,106,107,109,111,113,114,116,118,120,121,123,125,126,128,130,132,133,135,137,139,140,142,144,145,147,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.