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 |
|---|---|---|---|---|
ADL/Assemble/Insert/0/SHR_insert_head.asm | MaxMorning/LinkedListVisualization | 3 | 2393 | <reponame>MaxMorning/LinkedListVisualization
aLine 0
nNew newNodePtr, {0:D}
gNewVPtr temp
gMoveNext temp, Root
aLine 1
gBne temp, null, 3
aLine 2
gMove Rear, newNodePtr
aLine 4
nMoveAbs newNodePtr, 1380, 435.455
pSetNext newNodePtr, temp
aLine 5
pSetNext Root, newNodePtr
aLine 6
aStd
gDelete newNodePtr
gDelete tem... |
code/library/src/main/antlr/org/fbme/lib/st/parser/ST.g4 | CyberFlameGO/fbme | 5 | 937 | grammar ST;
@header {
package org.fbme.lib.st.parser;
}
statementList
: (statements+=statement ';')*
;
statement
: variable ':=' expression #assigmentStatement
| 'IF' condition=expression
'THEN' thenClause=statementList
elsifClauses+=elsifClause*
( 'ELSE' els... |
basic_extender/romcopy.asm | lincolngill/c64_assembler_egs | 0 | 165616 | <filename>basic_extender/romcopy.asm
//.disk [filename="romcopy.d64", name="EXTENDER", id="21"]
//{
// [name="ROMCP", type="prg", segments="ROMCOPY"]
//}
//.file [name="romcopy.prg", segments="ROMCOPY"]
// .segment ROMCOPY []
//BasicUpstart2(main)
* = $033C "ROM Copy" // 828 Tape buffer
.label firstpg... |
agda/Text/Greek/SBLGNT/2John.agda | scott-fleischman/GreekGrammar | 44 | 8630 | <gh_stars>10-100
module Text.Greek.SBLGNT.2John where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΙΩΑΝΝΟΥ-Β : List (Word)
ΙΩΑΝΝΟΥ-Β =
word (Ὁ ∷ []) "2John.1.1"
∷ word (π ∷ ρ ∷ ε ∷ σ ∷ β ∷ ύ ∷ τ ∷ ε ∷ ρ ∷ ο ∷ ς ∷ []) "2John.1.1"
∷ word ... |
Cubical/Algebra/Module/Base.agda | thomas-lamiaux/cubical | 0 | 9174 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Module.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.SIP
open i... |
zombie.asm | vlnvv/xv6-os | 0 | 19417 |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... |
core/src/main/antlr/Exp.g4 | arabasso/bassolve | 0 | 6233 | grammar Exp;
@header {
package sk.host.arabasso.bassolve.core.parser;
}
compileUnit
: equation EOF
;
equation
: left=expression op=(EQ|NEQ|LT|GT|LTE|GTE) right=expression # equationExpression
| expression # expressionNext
;
expression
: o... |
user/ls.asm | Pallavi-Pamulapati/Modified-xv6 | 0 | 241683 |
user/_ls: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <fmtname>:
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 sd s1,24(sp)
8: e84a sd s2,16(sp)
a: e44e ... |
programs/oeis/132/A132761.asm | karttu/loda | 1 | 96617 | ; A132761: a(n) = n*(n+17).
; 0,18,38,60,84,110,138,168,200,234,270,308,348,390,434,480,528,578,630,684,740,798,858,920,984,1050,1118,1188,1260,1334,1410,1488,1568,1650,1734,1820,1908,1998,2090,2184,2280,2378,2478,2580,2684,2790,2898,3008,3120,3234,3350,3468,3588,3710,3834,3960,4088,4218,4350,4484,4620,4758,4898,5040,5... |
oeis/215/A215415.asm | neoneye/loda-programs | 11 | 177088 | ; A215415: a(2*n) = n, a(4*n+1) = 2*n-1, a(4*n+3) = 2*n+3.
; Submitted by <NAME>
; 0,-1,1,3,2,1,3,5,4,3,5,7,6,5,7,9,8,7,9,11,10,9,11,13,12,11,13,15,14,13,15,17,16,15,17,19,18,17,19,21,20,19,21,23,22,21,23,25,24,23,25,27,26,25,27,29,28,27,29,31,30,29,31,33,32,31,33,35,34,33,35,37,36,35,37,39,38,37,39,41,40,39,41,43,42,4... |
programs/oeis/008/A008346.asm | jmorken/loda | 1 | 27699 | <filename>programs/oeis/008/A008346.asm
; A008346: a(n) = Fibonacci(n) + (-1)^n.
; 1,0,2,1,4,4,9,12,22,33,56,88,145,232,378,609,988,1596,2585,4180,6766,10945,17712,28656,46369,75024,121394,196417,317812,514228,832041,1346268,2178310,3524577,5702888,9227464,14930353,24157816,39088170,63245985,102334156,165580140,2679142... |
libsrc/strings/bzero.asm | grancier/z180 | 8 | 94287 | <gh_stars>1-10
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC bzero
PUBLIC _bzero
EXTERN memset_callee
EXTERN ASMDISP_MEMSET_CALLEE
.bzero
._bzero
pop de
pop bc
pop hl
push hl
push bc
push de
ld e,0
jp memset_callee + ASMDISP_MEMSET_CALLEE
|
source/unary/caseconv.asm | paulscottrobson/Basic65816 | 0 | 20005 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : caseconv.asm
; Purpose : Case Conversion
; Date : 14th July 2019
; Author : <EMAIL>
;
; ************************... |
Task/Loops-Do-while/Ada/loops-do-while-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 22043 | for Value in 0..Integer'Last loop
Put (Value);
exit when Value mod 6 = 0;
end loop;
|
programs/oeis/225/A225551.asm | karttu/loda | 0 | 93520 | ; A225551: Longest checkmate in king and queen versus king endgame on an n X n chessboard.
; 1,4,6,7,8,10,11,12,14,15,17,18,20,21,23,24,26,27,29,30,32,33,35,36,38,39,41,42,44,45,47,48,50,51,53,54,56,57
mov $1,$0
add $1,1
mov $2,1
mov $3,1
lpb $0,1
add $2,3
trn $0,$2
add $0,1
add $1,1
mov $2,$3
sub $3,$3
lp... |
Assignment 7/Vivado Files/11-3 (Added support for all req_d instructions. MULTU is broken)/mult_test.asm | sidarthshahri/Computer-Architecture-and-Design | 0 | 7599 | addi $a0, $zero, 3
addi $a1, $zero, 4
multu $a0, $a1
add $a0, $a1, $a0
mfhi $a2
mflo $a3 |
Hazelnut-core.agda | hazelgrove/agda-tfp16 | 2 | 13558 | <gh_stars>1-10
open import Nat
open import Prelude
module Hazelnut-core where
-- types
data τ̇ : Set where
num : τ̇
<||> : τ̇
_==>_ : τ̇ → τ̇ → τ̇
-- expressions, prefixed with a · to distinguish name clashes with agda
-- built-ins
data ė : Set where
_·:_ : ė → τ̇ → ė
X : Nat → ... |
src/Celarix.Cix/Celarix.Cix/Parse/ANTLR/Cix.g4 | Celarix/Cix | 0 | 700 | // Stolen from C and C# grammars on GitHub
grammar Cix;
primaryExpression
: Identifier
| StringLiteral
| number
| '(' expression ')'
;
postfixExpression
: primaryExpression
| postfixExpression '[' expression ']'
| postfixExpression '(' argumentExpressionList? ')'
| postfixExpre... |
oeis/129/A129905.asm | neoneye/loda-programs | 11 | 177001 | <filename>oeis/129/A129905.asm
; A129905: Expansion of g.f.: (1-x)*(1+2*x)/((1+x)*(1-3*x+x^2)).
; Submitted by <NAME>
; 1,3,6,17,43,114,297,779,2038,5337,13971,36578,95761,250707,656358,1718369,4498747,11777874,30834873,80726747,211345366,553309353,1448582691,3792438722,9928733473,25993761699,68052551622,178163893169,4... |
handledom/HandleDomParser.g4 | tomko-team/handledom | 0 | 7719 | parser grammar HandleDomParser;
options {
tokenVocab = HandleDomLexer;
}
template: WS* (htmlEmptyElement | element) WS* EOF;
element:
TAG_OPEN TAG_NAME attributes TAG_CLOSE WS* content? END_TAG_OPEN END_TAG_NAME END_TAG_CLOSE;
htmlEmptyElement: TAG_OPEN EMPTY_TAG_NAME attributes (TAG_CLOSE | TAG_SLASH_CLOSE);
... |
specs/ada/server/ike/tkmrpc-operation_handlers-ike-ae_reset.adb | DrenfongWong/tkm-rpc | 0 | 30165 | <filename>specs/ada/server/ike/tkmrpc-operation_handlers-ike-ae_reset.adb
with Tkmrpc.Servers.Ike;
with Tkmrpc.Results;
with Tkmrpc.Request.Ike.Ae_Reset.Convert;
with Tkmrpc.Response.Ike.Ae_Reset.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Ae_Reset is
-------------------------------------------------------... |
libmikeos/src.io/io_output_port32.asm | mynameispyo/InpyoOS | 0 | 174527 |
; @@@ void io_output_port32(unsigned short port, unsigned long data);
section .text
use16
global _io_output_port32
_io_output_port32:
push bp
mov bp, sp
mov dx, [bp + 4]
mov eax, [bp + 6]
out dx, eax
pop bp
ret
|
programs/oeis/138/A138450.asm | neoneye/loda | 22 | 17772 | <reponame>neoneye/loda
; A138450: a(n) = ((n-th prime)^6-(n-th prime^2))/30.
; 2,24,520,3920,59048,160888,804576,1568184,4934512,19827416,29583424,85524168,158336752,210712040,359307104,738811944,1406017672,1717345688,3015279256,4270009296,5044474032,8102914976,10898012216,16566042768
seq $0,40 ; The prime numbers.
mo... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-bnf.ads | caqg/linux-home | 0 | 3098 | <filename>.emacs.d/elpa/wisi-3.0.1/wisitoken-bnf.ads
-- Abstract :
--
-- Root package for generating a parser from a BNF source file; see [2]
--
-- The input file syntax is based on BNF syntax [1] with declarations
-- and grammar actions.
--
-- The Elisp and Ada_Emacs output languages are for use with the
-- Emac... |
Time and Date/DayTimer.applescript | rogues-gallery/applescript | 360 | 2095 | <filename>Time and Date/DayTimer.applescript
--- Template for stay open scripts that can use the day of the week as a trigger
--- change the day to whatever you want
set datte to current date
set dayy to weekday of datte as text
if dayy contains "Monday" then
--- enter your command here
end if
|
data/maps/objects/PokemonTower5F.asm | opiter09/ASM-Machina | 1 | 176691 | <filename>data/maps/objects/PokemonTower5F.asm
PokemonTower5F_Object:
db $1 ; border block
def_warps
warp 3, 9, 0, POKEMON_TOWER_4F
warp 18, 9, 0, POKEMON_TOWER_6F
def_signs
def_objects
object SPRITE_CHANNELER, 12, 8, STAY, NONE, 1 ; person
object SPRITE_CHANNELER, 17, 7, STAY, LEFT, 2, OPP_CHANNELER, 14
... |
src/squish.asm | Iambian/cesium | 1 | 87795 | <filename>src/squish.asm
squish_program:
call util_install_error_handler
call util_move_prgm_name_to_op1
ld de,basic_prog
ld hl,OP1
call _Mov9b
ld hl,OP1
ld de,backup_prgm_name
call _Mov9b
ld bc,(prgm_real_size)
dec bc
dec bc
push bc
bit 0,c
jp nz,_ErrSyntax
srl b
rr c
push bc
push bc
pop hl
call _E... |
src/boot.asm | jonpas/FERI-TyrOS | 0 | 82264 | ; Sets up multiboot configuration for GRUB
MBOOT_PAGE_ALIGN equ 1<<0 ; Load kernel and modules on a page boundary
MBOOT_MEM_INFO equ 1<<1 ; Provide kernel with memory info
MBOOT_HEADER_MAGIC equ 0x1BADB002 ; Multiboot magic value (identify kernel as multiboot-compatible)
; We do not use MBOOT_A... |
src/main/java/pdl/parser/antlr/Pdl.g4 | mudathirmahgoub/pdl | 0 | 6277 | grammar Pdl;
// pdl.parser rules
pdl : kripkeFrame? formula;
kripkeFrame : states propositionMeaning* programMeaning* ;
states : 'K' '=' LeftCurlyBracket Identifier (',' Identifier)* RightCurlyBracket ;
propositionMeaning : 'm' LeftParenthesis Identifier RightParenthesis '='
LeftCurlyBracket... |
oeis/081/A081628.asm | neoneye/loda-programs | 11 | 23248 | <filename>oeis/081/A081628.asm
; A081628: a(n) = 2*(-1)^n - (-5)^n.
; 1,3,-23,123,-623,3123,-15623,78123,-390623,1953123,-9765623,48828123,-244140623,1220703123,-6103515623,30517578123,-152587890623,762939453123,-3814697265623,19073486328123,-95367431640623,476837158203123,-2384185791015623,11920928955078123,-596046447... |
Implementations/drygasconv1_hx8k_fpga/software/projects/murax/demo/build/demo.asm | sebastien-riou/DryGASCON | 2 | 24225 | <reponame>sebastien-riou/DryGASCON<filename>Implementations/drygasconv1_hx8k_fpga/software/projects/murax/demo/build/demo.asm
build/demo.elf: file format elf32-littleriscv
Disassembly of section .vector:
80000000 <crtStart>:
.global crtStart
.global main
.global irqCallback
crtStart:
j crtInit
80000000: 0b00... |
source/s-usalde.adb | ytomino/drake | 33 | 21164 | <reponame>ytomino/drake
with System.Address_To_Named_Access_Conversions;
with System.Formatting.Address;
with System.Long_Long_Integer_Types;
with System.Termination;
package body System.Unbounded_Stack_Allocators.Debug is
pragma Suppress (All_Checks);
use type Storage_Elements.Storage_Offset;
subtype Word_Un... |
programs/oeis/118/A118360.asm | jmorken/loda | 1 | 177621 | ; A118360: Start with 1; repeatedly reverse the digits when the number is written in binary and add 2 to get the next term.
; 1,3,5,7,9,11,15,17,19,27,29,25,21,23,31,33,35,51,53,45,47,63,65,67,99,101,85,87,119,121,81,71,115,105,77,91,111,125,97,69,83,103,117,89,79,123,113,73,75,107,109,93,95,127,129,131,195,197,165,167... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_open.asm | jpoikela/z88dk | 640 | 162687 | <reponame>jpoikela/z88dk
; unsigned char esx_f_open(unsigned char *filename,unsigned char mode)
SECTION code_esxdos
PUBLIC esx_f_open
EXTERN asm_esx_f_open
esx_f_open:
pop af
pop de
pop hl
push hl
push de
push af
ld a,e
jp asm_esx_f_open
; SDCC bridge for Classic
IF __CLASSIC
PUBLI... |
scripts/macos/request.applescript | Email-Analysis-Toolkit/fake-mail-server | 12 | 2071 | <reponame>Email-Analysis-Toolkit/fake-mail-server
on Receive()
tell application "Mail" to activate
tell application "Mail" to check for new mail in "Monitor"
end Receive
on Reset()
tell application "Mail"
quit
open
end tell
end Reset
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_205.asm | ljhsiun2/medusa | 9 | 21281 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_205.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x14029, %r9
nop
sub %r12, %r12
movw $0x6162, (%r9)
nop
nop
sub %r14, %r14
... |
src/main/antlr4/antlr/MathExpr.g4 | VictorSandre/java_calculator | 0 | 2215 | grammar MathExpr;
start : expression EOF;
expression
: NUMBER #numberExpr
| MINUS NUMBER #negativeNumber
| OPAR expression CPAR #parenthesedExpr
| expression operator=(MULT|DIV|MOD) expression ... |
src/kernel/idt/isrq.asm | jinet-vm/vmm | 6 | 1720 | format elf64
section '.text' executable
use64
public ints_sti
ints_sti:
sti
ret
; ISRs & IRQs
; http://www.osdever.net/bkerndev/Docs/irqs.htm
public isr0
public isr1
public isr2
public isr3
public isr4
public isr5
public isr6
public isr7
public isr8
public isr9
public isr10
public isr11
public isr12
public isr13... |
source/dotnet/Library/AdaptiveCards.Templating/AdaptiveCardsTemplateLexer.g4 | sivasakthiv/AdaptiveCards | 3 | 3614 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Modified json lexer rules from "The Definitive ANTLR 4 Reference" by <NAME>
// Derived from http://json.org
lexer grammar AdaptiveCardsTemplateLexer;
COMMA : ',';
COLON : ':';
LCB : '{';
RCB : '}';
LSB : '[';
RSB :... |
programs/oeis/047/A047320.asm | neoneye/loda | 22 | 21861 | ; A047320: Numbers that are congruent to {0, 5, 6} mod 7.
; 0,5,6,7,12,13,14,19,20,21,26,27,28,33,34,35,40,41,42,47,48,49,54,55,56,61,62,63,68,69,70,75,76,77,82,83,84,89,90,91,96,97,98,103,104,105,110,111,112,117,118,119,124,125,126,131,132,133,138,139,140
mov $1,$0
add $0,2
div $0,3
mul $0,4
add $0,$1
|
Dave/Isomorphism.agda | DavidStahl97/formal-proofs | 0 | 16293 | module Dave.Isomorphism where
open import Dave.Equality
open import Dave.Functions
infix 0 _≃_
record _≃_ (A B : Set) : Set where
field
to : A → B
from : B → A
from∘to : ∀ (x : A) → from (to x) ≡ x
to∘from : ∀ (x : B) → to (from x) ≡ x
open _≃... |
oeis/219/A219391.asm | neoneye/loda-programs | 11 | 7031 | <reponame>neoneye/loda-programs
; A219391: Numbers k such that 21*k + 1 is a square.
; Submitted by <NAME>(s1)
; 0,3,8,19,23,40,55,80,88,119,144,183,195,240,275,328,344,403,448,515,535,608,663,744,768,855,920,1015,1043,1144,1219,1328,1360,1475,1560,1683,1719,1848,1943,2080,2120,2263,2368,2519,2563,2720,2835,3000,3048,3... |
Ficheiros assembly (TP's e Testes)/ex14-folhasimd.asm | pemesteves/mpcp-1718 | 0 | 92552 | <gh_stars>0
include mpcp.inc
.xmm
;; declaracoes de dados (variaveis globais)
.data
sequencia REAL4 17.2, 10.0, 3.1, 6.2, 1.0, 2.0, 3.0, 4.0
;; seccao de codigo principal
.code
scaleSeq PROTO seq:PTR REAL4, N:DWORD, alfa:REAL4
main PROC C
invoke scaleSeq, offset sequencia, lengthof sequencia, 3
invoke _getch
i... |
Task/Multiple-distinct-objects/AppleScript/multiple-distinct-objects-1.applescript | mullikine/RosettaCodeData | 1 | 804 | <filename>Task/Multiple-distinct-objects/AppleScript/multiple-distinct-objects-1.applescript
-- MULTIPLE DISTINCT OBJECTS -------------------------------------------------
-- nObjects Constructor -> Int -> [Object]
on nObjects(f, n)
map(f, enumFromTo(1, n))
end nObjects
-- TEST -----------------------------------... |
test/Main.agda | lclem/agda-prelude | 0 | 11125 | <reponame>lclem/agda-prelude
import Everything
open import Prelude
open import Container.Traversable
open import Container.Foldable
open import Container.List
open import Text.Parse
open import Text.Lex
open import Text.Printf
open import Control.Monad.State
open import Control.Monad.Transformer
open import Control.W... |
Mixfix.agda | yurrriq/parser-combinators | 7 | 739 | ------------------------------------------------------------------------
-- Mixfix operator grammars, and parsing of mixfix operators
--
-- <NAME>
------------------------------------------------------------------------
module Mixfix where
-- There are two separate developments here. One is very close to the
-- paper... |
output/antlr/1.4.19/Smalltalk.g4 | antlr/groom | 408 | 6571 |
/*
Converted to ANTLR 4 by <NAME> (Redline Smalltalk Project http://redline.st).
Adapted from the Amber Smalltalk grammar parser.pegjs
2015/01/18 <NAME> (<EMAIL>)
*/
grammar Smalltalk;
script
: sequence EOF
;
sequence
: temps? ws statements?
;
ws
: (SEPARATOR | COMMENT)*
;
temp... |
opengl-fog.ads | io7m/coreland-opengl-ada | 1 | 24301 | <filename>opengl-fog.ads
with OpenGL.Types;
package OpenGL.Fog is
type Equation_t is
(Linear,
Exponential,
Exponential_2);
-- proc_map : glFogi
procedure Fog_Mode (Equation : in Equation_t);
type Density_Integer_t is new Types.Integer_t range 0 .. Types.Integer_t'Last;
type Density_Float_t ... |
Parametric/Denotation/MEvaluation.agda | inc-lc/ilc-agda | 10 | 1532 | ------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Standard evaluation for MTerm
------------------------------------------------------------------------
import Parametric.Syntax.Type as Type
import Parametric.Syntax.Term as Term
import Parametric.Denotation.Value ... |
mvs/asm/fss/svc.asm | mvslovers/mvsclib | 0 | 246766 | <filename>mvs/asm/fss/svc.asm
********************************************
* struct REGS
* {
* unsigned int R0;
* unsigned int R1;
* unsigned int R15;
* };
* void EXSVC(int svc, struct REGS *regs);
********************************************
COPY PDPTOP
CSECT
* Program text area
DS ... |
src/hello.asm | rprouse/8088 | 0 | 174646 | <reponame>rprouse/8088<filename>src/hello.asm
cpu 8086
bits 16
org 0x0100
jmp start
%include 'library.inc'
start:
mov bx,.string ; Load register BX with address of 'string'
.loop:
mov al,[bx] ; Load a byte in AL from address pointed by BX
test al,al ; Test AL for zer... |
Driver/Font/Nimbus/nimbusRegions.asm | steakknife/pcgeos | 504 | 9367 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Nimbus/CharMod
FILE: nimbusRegions.asm
AUTHOR: <NAME>, Feb 28, 1990
ROUTINES:
Name Description
---- -----------
Region... |
programs/oeis/107/A107973.asm | karttu/loda | 1 | 245494 | ; A107973: Numbers of the form a^2 + b for a= 21 to 40 and b= 20 to 1 step -1.
; 461,503,547,593,641,691,743,797,853,911,971,1033,1097,1163,1231,1301,1373,1447,1523,1601
add $0,21
bin $0,2
mov $1,$0
sub $1,210
mul $1,2
add $1,461
|
linker-16bit/app.asm | yuchanns/x86-asm | 1 | 164491 | SECTION .bootloadersec
GLOBAL bootloader
extern _memory_map
USE16
do_e820:
lea di, [_memory_map]
xor ebx, ebx
xor bp, bp
mov edx, 0x0534D4150
mov eax, 0xe820
mov [es:di + 20], dword 1
mov ecx, 24
int 0x15
jc short .failed
mov edx, 0x0534D4150
cmp eax, edx
jne short .faile... |
programs/oeis/101/A101671.asm | neoneye/loda | 22 | 175904 | <gh_stars>10-100
; A101671: Fixed point of morphism 0 -> 01, 1 -> 20, 2 -> 10.
; 0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,1,0,0,1,0,1,2,0,0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,0,1,2,0,1,0,0,1,0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,1,0,0,1,0,1,2,0,0,1,2,0,1,0,0,1,0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,0,1,2,0
lpb $0
mov $2,$0
seq $2,10060 ; Th... |
programs/oeis/336/A336698.asm | neoneye/loda | 22 | 14926 | ; A336698: a(n) = A000265(1+A000265(sigma(n))), where A000265(k) gives the odd part of k.
; 1,1,1,1,1,1,1,1,7,5,1,1,1,1,1,1,5,5,3,11,1,5,1,1,1,11,3,1,1,5,1,1,1,7,1,23,5,1,1,23,11,1,3,11,5,5,1,1,29,47,5,25,7,1,5,1,3,23,1,11,1,1,7,1,11,5,9,1,1,5,5,49,19,29,1,9,1,11,3,47,61,1,11,1,7,17,1,23,23,59,1,11,1,5,1,1,25,43,5,109
... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2956.asm | ljhsiun2/medusa | 9 | 167761 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rax
push %rbp
lea addresses_A_ht+0x377e, %r9
nop
nop
nop
cmp %r14, %r14
movb (%r9), %al
nop
nop
nop
nop
nop
sub $32356, %r13
lea addresses_WC_ht+0x15302, %rbp
nop
nop
nop
nop
sub $39443, %r8
and ... |
awa/src/awa-users-modules.ads | My-Colaborations/ada-awa | 81 | 9403 | -----------------------------------------------------------------------
-- awa-users-module -- User management module
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
oeis/164/A164784.asm | neoneye/loda-programs | 11 | 82027 | ; A164784: a(n) = 6^n-5.
; 1,31,211,1291,7771,46651,279931,1679611,10077691,60466171,362797051,2176782331,13060694011,78364164091,470184984571,2821109907451,16926659444731,101559956668411,609359740010491,3656158440062971,21936950640377851,131621703842267131,789730223053602811,4738381338321616891,28430288029929701371,17... |
nasm/hello.mac.asm | ysoftman/test_code | 3 | 173100 | <reponame>ysoftman/test_code
; ysoftman
; x86 assembly hello assembly 출력
;
; nasm 설치
; sudo yum install nasm
; brew install nasm
;
; 어셈블러 옵션 참고
; nasm -h
;
; nasm -hf 로 f 옵션 값 보기
; * bin flat-form binary files (e.g. DOS .COM, .SYS)
; ith Intel hex
; srec Motorola S-records
; aout Lin... |
programs/oeis/142/A142471.asm | neoneye/loda | 22 | 168416 | <reponame>neoneye/loda
; A142471: a(0) = a(1) = 0; thereafter a(n) = a(n-1)*a(n-2) + 2.
; 0,0,2,2,6,14,86,1206,103718,125083910,12973452977382,1622770224612082123622,21052933202100473722674133293917606
sub $0,1
lpb $0
sub $0,1
add $2,9
div $2,2
mov $3,$1
mov $1,$2
mul $2,$3
lpe
div $1,2
mov $0,$1
|
src/gnat/snames.adb | Letractively/ada-gen | 0 | 26594 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
source/error/error.asm | paulscottrobson/6502-basic | 3 | 160954 | <reponame>paulscottrobson/6502-basic
;
; Automatically generated
;
.include "errorhandler.asm"
.section code
.send code
|
Task/Symmetric-difference/Ada/symmetric-difference.ada | LaudateCorpus1/RosettaCodeData | 1 | 26800 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test_XOR is
type Person is (John, Bob, Mary, Serena, Jim);
type Group is array (Person) of Boolean;
procedure Put (Set : Group) is
First : Boolean := True;
begin
for I in Set'Range loop
if Set (I) then
if First then
... |
alloy4fun_models/trashltl/models/10/R5gcehEaenFnQiHKS.als | Kaixi26/org.alloytools.alloy | 0 | 4437 | <gh_stars>0
open main
pred idR5gcehEaenFnQiHKS_prop11 {
always all f:File | f in File-Protected implies f'=Protected
}
pred __repair { idR5gcehEaenFnQiHKS_prop11 }
check __repair { idR5gcehEaenFnQiHKS_prop11 <=> prop11o } |
gcc-gcc-7_3_0-release/gcc/ada/s-spsufi.ads | best08618/asylo | 7 | 13098 | <reponame>best08618/asylo<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
beafix_benchmarks/A4F-1B/GRAPHS/graphs_acyclic_1.als | Kaixi26/org.alloytools.alloy | 0 | 856 | /*This file was automatically generated by AUnit v1.0's coverage-based test generation feature.
Test Suite Details:
----------
Tests generated over: GRAPHS_templateAllCorrect.als
Number Valuations: 8
Number Tests: 38
Scope used: 5*/
/*
Each node as a set of outgoing edges, representing a directed graph without multip... |
demos/dates3.ada | daveshields/AdaEd | 3 | 16964 | -- DEMONSTRATION PROGRAM:
-- Features:
-- Enumeration types, ENUM_IO (generic package), records and
-- aggregates, dynamic exception handling, packages, etc.
package DATE_PKGE is
subtype DAY is integer range 1..31;
type MONTH is (Jan, Feb, Mar, Apr, May, Jun,
Jul, Aug, Sep, Oct, Nov, Dec);
... |
lab02/ex01/Hello.g4 | BlasphemyCoder/Compilers | 3 | 244 | <reponame>BlasphemyCoder/Compilers<gh_stars>1-10
grammar Hello; // define a grammar called Hello
main: (greetings | farewell)* EOF ;
/*
* match keyword 'hello' followed by an identifier followed by an action: print the following
* portuguese statement "Olá ID"
*/
greetings:
'hello' names {
System.out.prin... |
programs/oeis/198/A198687.asm | karttu/loda | 1 | 90579 | ; A198687: 5*7^n-1.
; 4,34,244,1714,12004,84034,588244,4117714,28824004,201768034,1412376244,9886633714,69206436004,484445052034,3391115364244,23737807549714,166164652848004,1163152569936034,8142067989552244,56994475926865714
mov $1,7
pow $1,$0
mul $1,5
sub $1,1
|
example/src/clic_ex.ads | reznikmm/clic | 9 | 12102 | <reponame>reznikmm/clic<filename>example/src/clic_ex.ads
package CLIC_Ex is
end CLIC_Ex;
|
Driver/Printer/PrintCom/Page/pageStartNike56.asm | steakknife/pcgeos | 504 | 243276 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: printer drivers
FILE: pageStartNike56.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
PrintStartPage initialize ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_937.asm | ljhsiun2/medusa | 9 | 85475 | .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_A_ht+0x5623, %r12
clflush (%r12)
nop
nop
inc %r14
movl $0x61626364, (%r12)
cmp %r10, %r10
lea addresses_UC_ht+0x1043, %rsi
lea addresses_normal_ht+0xc763, %rdi
nop
nop
nop
nop
add $3... |
68k-driver/src/driver_main.asm | atdean/saturn-hello-beep | 1 | 241755 | <gh_stars>1-10
INCLUDE "inc/header.i"
ORG $000400 ; is this needed? the vector table will occupy exactly the first $400 bytes
entry_point:
bra.w init_scsp
init_scsp:
; TODO :: 68K must wait approx 30µs after SMPC reset for SCSP to init registers
; TODO :: It seems these 3 flags should be set by... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-lexer-regexp.ads | caqg/linux-home | 0 | 25785 | <filename>.emacs.d/elpa/wisi-3.1.3/wisitoken-lexer-regexp.ads
-- Abstract:
--
-- WisiToken lexer using compiled regular expressions interpreted at runtime.
--
-- This is slower, but easier to use, than the Aflex lexer; it is
-- used in most of the WisiToken unit tests. Since it uses regexp, it
-- is easy to conver... |
src/Ada/ewok-tasks.ads | wookey-project/ewok-legacy | 0 | 19464 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http... |
programs/oeis/139/A139594.asm | neoneye/loda | 22 | 8516 | <filename>programs/oeis/139/A139594.asm
; A139594: Number of different n X n symmetric matrices with nonnegative entries summing to 4. Also number of symmetric oriented graphs with 4 arcs on n points.
; 0,1,9,39,116,275,561,1029,1744,2781,4225,6171,8724,11999,16121,21225,27456,34969,43929,54511,66900,81291,97889,116909... |
graphwalker-dsl/src/main/antlr4/org/graphwalker/dsl/yed/YEdEdgeParser.g4 | avito-tech/graphwalker-project | 3 | 7434 | parser grammar YEdEdgeParser;
options {
tokenVocab=YEdLabelLexer;
}
import DescriptionParser;
parse
locals [java.util.Set<String> fields = new java.util.HashSet<String>();]
: field* EOF
;
field
: {!$parse::fields.contains("names")}? names {$parse::fields.add("names");}
| {!$parse::fields.contains("guard")}? g... |
programs/oeis/008/A008825.asm | neoneye/loda | 22 | 170609 | <gh_stars>10-100
; A008825: Expansion of (1+2*x^5+x^9)/((1-x)^2*(1-x^9)).
; 1,2,3,4,5,8,11,14,17,22,27,32,37,42,49,56,63,70,79,88,97,106,115,126,137,148,159,172,185,198,211,224,239,254,269,284,301,318,335,352,369,388,407,426,445,466,487,508,529,550,573,596,619,642,667,692,717,742,767,794,821,848,875,904,933,962,991,102... |
oeis/289/A289915.asm | neoneye/loda-programs | 11 | 85974 | <gh_stars>10-100
; A289915: Decimal expansion of the limiting ratio of consecutive terms of A289914.
; Submitted by <NAME>
; 1,8,8,3,2,0,3,5,0,5,9,1,3,5,2,5,8,6,4,1,6,8,9,4,7,4,6,5,3,6,2,0,5,5,0,9,0,5,6,0,9,5,1,3,2,8,6,7,2,2,3,9,1,7,9,5,7,0,7,7,7,9,2,1,5,7,0,5,1,6,2,9,8,9,1,7,8,1,6,7,1,3,7,5,5,4
mov $1,1
mov $3,$0
mul... |
Labs/Lab5/lab05_ex2.asm | ptr2578/CS61 | 1 | 12279 | <reponame>ptr2578/CS61
;=================================================
; Name: <NAME>
; Email: <EMAIL>
; GitHub username: ptr2578
;
; Lab: lab 5
; Lab section: B21
; TA: <NAME>
;
;=================================================
.ORIG x3000
;--------------
; Instructions
;--------------
LD R1, ARRAY_PTR ; Load ... |
zombie.asm | vitor0x5/XV6-TF-SO1-2019 | 0 | 26280 | <reponame>vitor0x5/XV6-TF-SO1-2019
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%e... |
src/func/zCPlayerInfo__GetName_empty.asm | szapp/Ninja | 17 | 105036 | <reponame>szapp/Ninja
; zSTRING __thiscall zCPlayerInfo::GetName(void)
; Re-implement zCPlayerInfo::GetName to return empty string
global zCPlayerInfo__GetName_empty
zCPlayerInfo__GetName_empty:
resetStackoffset
%assign arg_1 +0x4 ; zSTRING *
%assi... |
parser/src/main/grammars/Sparql.g4 | endeavourhealth-discovery/IMAPI | 0 | 7201 | <filename>parser/src/main/grammars/Sparql.g4<gh_stars>0
/*
* Copyright 2007 the original author or authors.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
* conditions are met:
*
* Redistributions of source ... |
src/Algebra/LabelledGraph.agda | snowleopard/alga-proofs | 60 | 1831 | module Algebra.LabelledGraph where
open import Algebra.Dioid
-- Core graph construction primitives
data LabelledGraph {D eq} (d : Dioid D eq) (A : Set) : Set where
ε : LabelledGraph d A -- Empty graph
v : A -> LabelledGraph d A -- Graph comprising a single vertex
_[_]>_ : LabelledGraph d A -> D -... |
libsrc/target/gb/gbdk/asm_cls.asm | Frodevan/z88dk | 640 | 85189 | <reponame>Frodevan/z88dk
SECTION code_driver
PUBLIC asm_cls
GLOBAL __console_x
INCLUDE "target/gb/def/gb_globals.def"
asm_cls:
PUSH DE
PUSH HL
LD HL,0x9800
LD E,0x20 ; E = height
cls_1:
LD D,0x20 ; D = widt... |
Experiment/Categories/Solver/Functor/Example.agda | rei1024/agda-misc | 3 | 996 | <filename>Experiment/Categories/Solver/Functor/Example.agda
-- Example usage of solver
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor renaming (id to idF)
module Experiment.Categories.Solver.Functor.Example
{o ℓ e o′ ℓ′ e′} {𝒞 : Category o ℓ e} {𝒟 : Category o′ ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/handle_and_return.adb | best08618/asylo | 7 | 19810 | -- { dg-do run }
-- { dg-options "-gnatp -O2" }
with Raise_Ce;
procedure Handle_And_Return is
begin
begin
Raise_CE;
return;
exception
when others => null;
end;
begin
Raise_CE;
return;
exception
when others => null;
end;
end;
|
orka_simd/src/x86/gnat/orka-simd-ssse3-integers-arithmetic.ads | onox/orka | 52 | 25272 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <<EMAIL>>
--
-- Licensed 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.org/licenses/LICENSE-2.0
-... |
c2000/C2000Ware_1_00_06_00/libraries/control/DCL/c28/source/DCL_DF11_C1.asm | ramok/Themis_ForHPSDR | 0 | 168895 | <gh_stars>0
; DCL_DF11_C1.asm - Direct Form 1 implementation in first order
;
; Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
; ALL RIGHTS RESERVED
.if __TI_EABI__
.asg DCL_runDF11_C1, _DCL_runDF11_C1
.endif
.global _DCL_runDF11_C1
.sect "dclfuncs"
; C prototype: float DCL_runDF1... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_tag_gsttagmux_h.ads | persan/A-gst | 1 | 28181 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h;
limited with GStreamer.GST_L... |
2-generate-app-config.applescript | bsmith96/Qlab-remote-cue-list-monitoring | 2 | 2938 | <reponame>bsmith96/Qlab-remote-cue-list-monitoring
-- @description Create Open Stage Control server setup
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 2.0
-- @testedmacos 10.14.6
-- @testedqlab 4.6.10
-- @about Creates a file to open/load in Open Stage Control, with settings required to start the server.
--... |
Userland/SampleCodeModule/asm/exPrograms.asm | Smonjeau/TPE2-SO | 0 | 90159 | global ex6
global ex6_2
global ex0
section .text
ex0:
mov rcx,0x1234
mov r15,0xaaaaa
mov r14,0xbbbbbb
mov r13,0xbebebaba
mov r12, 0xbababebe
mov r11, 0xfedebebe
mov r10, 0xfedefee0
mov r9, 0xfefefafa
mov r8,0xAAAAFEFE
mov rdi,0xf0f0f1f1
mov rcx,0
div rcx
ret
ex6_... |
case-studies/performance/verification/alloy/ppc/tests/safe224.als | uwplse/memsynth | 19 | 4757 | <filename>case-studies/performance/verification/alloy/ppc/tests/safe224.als
module tests/safe224
open program
open model
/**
PPC safe224
"SyncdWW Rfe DpsR Fre Rfe SyncdRW Wse"
Cycle=SyncdWW Rfe DpsR Fre Rfe SyncdRW Wse
Relax=
Safe=Fre Wse DpsR ACSyncdRW BCSyncdWW
{
0:r2=x;
1:r2=x;
2:r2=x; 2:r4=y;
3:r2=y; 3:r4=x;
}
P... |
source/league/matreshka-internals-unicode-properties.ads | svn2github/matreshka | 24 | 26523 | <filename>source/league/matreshka-internals-unicode-properties.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/base/properties/util-properties-discrete.adb | RREE/ada-util | 60 | 6977 | -----------------------------------------------------------------------
-- util-properties-discrete -- Generic package for get/set of discrete properties
-- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2018, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (... |
data/expression/Lam.agda | msuperdock/agda-unused | 6 | 10216 | <filename>data/expression/Lam.agda
module Lam where
f
: {A : Set}
→ A
→ A
f x
= (λ y z → z) x x
g
: {A : Set}
→ A
→ A
g {A = A} x
= (λ (y' : A) (z : A) → z) x x
|
oeis/108/A108958.asm | neoneye/loda-programs | 11 | 1738 | <filename>oeis/108/A108958.asm
; A108958: Number of unordered pairs of distinct length-n binary words having the same number of 1's.
; Submitted by <NAME>
; 0,1,6,27,110,430,1652,6307,24054,91866,351692,1350030,5196204,20050108,77542376,300507427,1166737574,4537436578,17672369756,68922740122,269127888644,1052047384708,... |
test/Succeed/Issue5683.agda | sseefried/agda | 1,989 | 8644 | <reponame>sseefried/agda
open import Agda.Builtin.Equality
open import Agda.Builtin.Sigma
postulate X : Set
variable x : X
data C : Σ X (λ x → x ≡ x) → Set where
mkC :
let
eq : x ≡ x -- don't generalize over x at eq
eq = refl {x = x}
in
C (x , eq)
|
projects/04/fill/Fill.asm | tanderegg/nand2tetris | 0 | 14256 | <filename>projects/04/fill/Fill.asm
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.