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 |
|---|---|---|---|---|
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_capacity.asm | jpoikela/z88dk | 640 | 10322 | <gh_stars>100-1000
; size_t bv_stack_capacity(bv_stack_t *s)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC bv_stack_capacity
EXTERN asm_bv_stack_capacity
defc bv_stack_capacity = asm_bv_stack_capacity
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _bv_stack_capacity
defc _bv_stack_capacity = bv_stack_capacity... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstquery_h.ads | persan/A-gst | 1 | 24866 | 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.glib_2_0_glib_gquark_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10... |
programs/oeis/193/A193768.asm | karttu/loda | 0 | 102839 | ; A193768: The domination number of the 4 by n board.
; 2,3,4,4,6,7,7,8,10,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67
mov $1,1
mov $2,$0
mov $3,$0
lpb $2,1
mul $1,$4
mod $2,3
mul $2,... |
programs/oeis/035/A035013.asm | neoneye/loda | 22 | 18566 | ; A035013: One third of 9-factorial numbers.
; 1,12,252,7560,294840,14152320,806682240,53241027840,3993077088000,335418475392000,31193918211456000,3181779657568512000,353177541990104832000,42381305038812579840000
mov $1,1
mov $2,3
lpb $0
sub $0,1
add $2,9
mul $1,$2
lpe
mov $0,$1
|
oeis/230/A230928.asm | neoneye/loda-programs | 11 | 90894 | ; A230928: Number of black-square subarrays of (n+2) X (1+2) 0..3 arrays x(i,j) with each element diagonally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 2,2,8,8,42,42,208,208,1042,1042,5208,5208,26042,26042,130208,130208,651042,6... |
oeis/097/A097743.asm | neoneye/loda-programs | 11 | 244969 | <filename>oeis/097/A097743.asm
; A097743: Numbers of the form 3*2^(p - 1) - 1 where p is prime.
; 5,11,47,191,3071,12287,196607,786431,12582911,805306367,3221225471,206158430207,3298534883327,13194139533311,211106232532991,13510798882111487,864691128455135231,3458764513820540927,221360928884514619391,354177486215223391... |
test/asset/agda-stdlib-1.0/Category/Monad/Continuation.agda | omega12345/agda-mode | 0 | 2285 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- A delimited continuation monad
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Category.Monad.Continuation where
open import Categ... |
src/fot/FOTC/Data/Nat/Inequalities/PropertiesATP.agda | asr/fotc | 11 | 4770 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- Properties of the inequalities
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OP... |
hailBackup.asm | FinnishArmy/ASM-Hail-Sequence | 0 | 5302 | <gh_stars>0
.data
prompt:
.asciiz "Enter starting N: "
iterationResult:
.asciiz "Iterations: "
.text
main:
#Ask the user for an integer
la $a0, prompt
li $v0, 4
syscall
li $v0, 5
syscall
move $s1, $v0 # Move the integer to s1.
add $s3, $s3, 1 # Compare the number of iterations.
move $s4, $s1 ... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hlt.asm | ahjelm/z88dk | 640 | 17874 |
SECTION code_fp_math16
PUBLIC ___hlt
PUBLIC _islessf16
EXTERN cm16_sdcc___lt
defc ___hlt = cm16_sdcc___lt
defc _islessf16 = cm16_sdcc___lt
|
src/Labelled-transition-system/Delay-monad.agda | nad/up-to | 0 | 14472 | <reponame>nad/up-to<gh_stars>0
------------------------------------------------------------------------
-- A labelled transition system for the delay monad
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude
module Labelled-transition-system.Dela... |
programs/oeis/070/A070660.asm | neoneye/loda | 22 | 16524 | <gh_stars>10-100
; A070660: n^6 mod 37.
; 0,1,27,26,26,11,36,26,36,10,1,1,10,11,36,27,10,27,11,11,27,10,27,36,11,10,1,1,10,36,26,36,11,26,26,27,1,0,1,27,26,26,11,36,26,36,10,1,1,10,11,36,27,10,27,11,11,27,10,27,36,11,10,1,1,10,36,26,36,11,26,26,27,1,0,1,27,26,26,11,36,26,36,10,1,1,10,11,36,27,10,27,11,11,27,10,27,36,11... |
test/interaction/Auto-DataConstruction.agda | shlevy/agda | 1,989 | 8207 | -- data construction, disproving
module Auto-DataConstruction where
open import Auto.Prelude
module Disproving where
h0 : {X : Set} → (xs ys : List X) → (xs ++ ys) ≡ (ys ++ xs)
h0 = {!-d Fin!}
|
programs/oeis/155/A155607.asm | neoneye/loda | 22 | 11932 | ; A155607: 9^n+3^n-1.
; 1,11,89,755,6641,59291,532169,4785155,43053281,387440171,3486843449,31381236755,282430067921,2541867422651,22876797237929,205891146443555,1853020231898561,16677181828806731,150094635684419609
mov $1,3
pow $1,$0
add $1,1
bin $1,2
sub $1,1
mul $1,2
add $1,1
mov $0,$1
|
oeis/100/A100151.asm | neoneye/loda-programs | 11 | 13084 | <gh_stars>10-100
; A100151: Structured snub dodecahedral numbers.
; 1,60,286,788,1675,3056,5040,7736,11253,15700,21186,27820,35711,44968,55700,68016,82025,97836,115558,135300,157171,181280,207736,236648,268125,302276,339210,379036,421863,467800,516956,569440,625361,684828,747950,814836,885595,960336,1039168,1122200,120... |
tmp1/c55x-sim2/foo/asm/aic_test_i2c.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 20855 | <gh_stars>1-10
;****************************************************************************************
; File Name : aic_test_main.asm
; Author : <NAME>
;
; Version : 2
; Date : 30 April 2008
; Update : with Ping Pong Buffering
;
; Description : Code for playback using I2S2 an... |
programs/oeis/111/A111648.asm | neoneye/loda | 22 | 244365 | <reponame>neoneye/loda<filename>programs/oeis/111/A111648.asm
; A111648: a(n) = A001541(n)^2 + A001653(n)^2 + A002315(n)^2.
; 3,83,2811,95483,3243603,110187011,3743114763,127155714923,4319551192611,146737584833843,4984758333158043,169335045742539611,5752406796913188723,195412496049305876963
seq $0,38762 ; a(n) = 6*a(n... |
test/adaid_tests.adb | mgrojo/AdaID | 16 | 27894 | -- File: testuuid.adb
-- Description: Test suite for AdaID
-- Author: <NAME>
-- License: http://www.gnu.org/licenses/gpl.txt
with AdaID; use AdaID;
with AdaID.Generate; use AdaID.Generate;
with Interfaces; use Interfaces;
with AUnit.Assertions; use AUnit.Assertions;
package body AdaID_Tests is
-- Register the tes... |
mddsm-synthesis/src/main/resources/command_grammar/Ml4mdScript.g4 | adalrsjr1/mddsm | 0 | 138 | grammar Ml4mdScript;
fragment A : [aA]; // match either an 'a' or 'A'
fragment B : [bB];
fragment C : [cC];
fragment Ç : [çÇ];
fragment D : [dD];
fragment E : [eE];
fragment F : [fF];
fragment G : [gG];
fragment H : [hH];
fragment I : [iI];
fragment J : [jJ];
fragment K : [kK];
fragment L : [lL];
fragment M : [mM];
fr... |
src/tx-map.asm | staskevich/UMR2 | 27 | 27245 | ; UMR2
; copyright <NAME>, 2017
; <EMAIL>
;
; This work is licensed under a Creative Commons Attribution 4.0 International License.
; http://creativecommons.org/licenses/by/4.0/
;
; tx-map.asm
;
; Map local keys on host to outbound MIDI notes
;
tx_note_map code 0x3C00
; note numbers for each select line a... |
src/firmware/Platform/Clock/DaylightSavingsTime.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 18626 | #define __CLUCK2SESAME_PLATFORM_CLOCK_ASM
#include "Platform.inc"
#include "FarCalls.inc"
#include "Flash.inc"
#include "ArithmeticBcd.inc"
#include "Clock.inc"
radix decimal
extern daylightSavingsTimeLookupTable
EARLIEST_FIRST_DAYLIGHT_SAVINGS_DAY equ 83
EARLIEST_LAST_DAYLIGHT_SAVINGS_DAY equ low(296)
Clo... |
src/main/resources/bigram/romhandler.asm | EgonOlsen71/basicv2 | 71 | 243360 | JMP SKIPROMHANDLER
; *** ROMHANDLER ***
;###################################
ENABLEROM PHA
LDA $1
ORA #$1
STA $1
PLA
RTS
BRBUFFER .ARRAY 255
;###################################
DISABLEROM PHA
LDA $1
AND #$FE
STA $1
PLA
RTS
;###################################
; *** ROMHA... |
oeis/021/A021771.asm | neoneye/loda-programs | 11 | 103108 | <gh_stars>10-100
; A021771: Decimal expansion of 1/767.
; Submitted by <NAME>
; 0,0,1,3,0,3,7,8,0,9,6,4,7,9,7,9,1,3,9,5,0,4,5,6,3,2,3,3,3,7,6,7,9,2,6,9,8,8,2,6,5,9,7,1,3,1,6,8,1,8,7,7,4,4,4,5,8,9,3,0,8,9,9,6,0,8,8,6,5,7,1,0,5,6,0,6,2,5,8,1,4,8,6,3,1,0,2,9,9,8,6,9,6,2,1,9,0,3,5
seq $0,42 ; Unary representation of natur... |
Task/Extreme-floating-point-values/Ada/extreme-floating-point-values-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 26090 | subtype Consistent_Float is Float range Float'Range; -- No IEEE ideals
|
software/pcx86/bdsrc/dos/dosints.asm | fatman2021/basicdos | 59 | 15698 | <gh_stars>10-100
;
; BASIC-DOS Driver/Application Interface Entry Points
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include 8086.inc
i... |
projects/batfish/src/batfish/grammar/flatjuniper/FlatJuniperParser.g4 | luispedrosa/batfish | 0 | 3672 | <reponame>luispedrosa/batfish<gh_stars>0
parser grammar FlatJuniperParser;
import
FlatJuniper_common, FlatJuniper_bgp, FlatJuniper_firewall, FlatJuniper_interfaces, FlatJuniper_isis, FlatJuniper_mpls, FlatJuniper_ospf, FlatJuniper_policy_options, FlatJuniper_routing_instances;
options {
superClass = 'batfish.gramm... |
language/src/main/antlr4/ac/res/orphos/tubera/OrphosLexer.g4 | orphos/tubera | 0 | 5084 | <filename>language/src/main/antlr4/ac/res/orphos/tubera/OrphosLexer.g4
// Copyright (C) 2020 Takezoe,Tomoaki <<EMAIL>>
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
lexer grammar OrphosLexer;
SPACE: [ \t]+ -> skip;
COMMENT: '//' [^\r\n]*;
SHEBANG: '#!' [^\r\n]* (' ' | '/') 'orphos' ('\r\n' | '\r' | ... |
src/midi-recorder.asm | ras88/stereo-editor | 0 | 99225 | <reponame>ras88/stereo-editor<gh_stars>0
; -----------------------------------------------------------------------------
; Copyright (c) 1988-2018 <NAME>
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted, provided that the above
; copyright noti... |
src/bastet/syntax/parser/grammar/ScratchFull.g4 | emmableu/Bastet | 0 | 5350 | grammar Scratch;
import Leila;
event :
coreEvent # InCoreEvent
| 'value' 'of' variable 'above' numExpr # VariableValueEvent
| 'backdrop' 'switched' 'to' ident # BackdropChangeEvent
| key 'pressed' # KeyEvent
| 'clicked' # ClickEvent
;
nonCtrlStmt :
coreNonCtrlStmt
| spriteMotionStmt
| actorLookStm... |
1-source-files/main-sources/revs-nurburgring.asm | markmoxon/revs-beebasm | 11 | 178968 | \ ******************************************************************************
\
\ REVS NURBURGRING TRACK SOURCE
\
\ Revs was written by <NAME> and is copyright Acornsoft 1985
\
\ The code on this site has been reconstructed from a disassembly of the
\ original game binaries
\
\ The commentary is copyright <NAME>, an... |
testsuite/tests/NA17-007__copyright/copyright-ko-7.adb | AdaCore/style_checker | 2 | 2761 | <reponame>AdaCore/style_checker
--------------------------------------------------------------
-- Copyright (C) 2000-2006, Universidad de Cantabria, SPAIN --
--------------------------------------------------------------
package Toto is
pragma Pure;
end Toto;
|
test/Succeed/fol-theorems/Agda/InternalTerms/DefTerm1.agda | asr/apia | 10 | 13479 | ------------------------------------------------------------------------------
-- Testing Agda internal term: @Def@
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism... |
basic/07.print_string.asm | boa9448/assembly_study | 0 | 2867 | %include "io64.inc"
section .text
global CMAIN
CMAIN:
;write your code here
;PRINT_STRING param
;param : 출력할 곳의 주소
;문자열의 종료는 0x00으로 마무리해야한다
PRINT_STRING a
xor rax, rax
ret
section .data
a db "hello world!", 0x00
|
src/line-display/line-display.asm | lewismoten/6502-program-1 | 1 | 170798 | <filename>src/line-display/line-display.asm<gh_stars>1-10
.org $8000
; IO pins to Display
; PB0-7 = DB0-7
; PA5 = RS (0 instructions, 1 data)
; PA6 = R/W (0 = Write)
; PA7 = Enable (1 start data read/write)
; Display: RS|RW|E |D0|D1|D2|D3|D4|D5|D6|D7|
; I/O Port: A5|A6|A7|B0|B1|B2|B3|B4|B5|B6|B7|
main:
lda #$FF
sta... |
programs/oeis/133/A133086.asm | neoneye/loda | 22 | 97263 | <reponame>neoneye/loda<filename>programs/oeis/133/A133086.asm
; A133086: Row sums of triangle A133085.
; 1,4,10,26,64,152,352,800,1792,3968,8704,18944,40960,88064,188416,401408,851968,1802240,3801088,7995392,16777216,35127296,73400320,153092096,318767104,662700032,1375731712,2852126720,5905580032,12213813248,2523293286... |
programs/oeis/032/A032378.asm | neoneye/loda | 22 | 95378 | ; A032378: Noncubes such that n is divisible by floor(n^(1/3)).
; 2,3,4,5,6,7,10,12,14,16,18,20,22,24,26,30,33,36,39,42,45,48,51,54,57,60,63,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,222,228,234,240,246,252,258,264,270,276,282,288,294,300... |
6502EMU/main.asm | austinbentley/6502toAVR | 0 | 9458 | <filename>6502EMU/main.asm<gh_stars>0
;
; 6502EMU.asm
;
; Created: 5/12/2018 8:00:12 AM
; Author : ROTP
;
start: ;to avoid overwriting the interrupt table with our includes!
jmp init
.DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.include "programcode.asm"
.include "definitions.asm"
.include "general_macros.asm"
.include "... |
core/lib/modalities/Modalities.agda | timjb/HoTT-Agda | 294 | 6100 | {-# OPTIONS --without-K --rewriting #-}
module lib.modalities.Modalities where
open import lib.modalities.Truncation public
|
cobol-parser/src/main/scala/za/co/absa/cobrix/cobol/parser/antlr/json.g4 | yruslan/cobrix | 101 | 3623 | /*
* Copyright 2018 ABSA Group Limited
*
* 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
*
* Unless required by applicable law or agr... |
software/hal/boards/common/hil/hil-random.ads | TUM-EI-RCS/StratoX | 12 | 11711 | <filename>software/hal/boards/common/hil/hil-random.ads
-- Institution: Technische Universität München
-- Department: Real-Time Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME>
-- @summary
-- Target-independent specification for HIL of Random number generator
with Interfaces; use Interfaces;... |
arch/ARM/STM32/svd/stm32wl5x_cm0/stm32_svd.ads | morbos/Ada_Drivers_Library | 2 | 4312 | -- This spec has been automatically generated from STM32WL5x_CM0P.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- STM32WL5x_CM0P
package STM32_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
ADC_B... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2719.asm | ljhsiun2/medusa | 9 | 93395 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r9
push %rbp
lea addresses_WC_ht+0x183a, %r14
clflush (%r14)
nop
lfence
mov $0x6162636465666768, %r9
movq %r9, %xmm5
movups %xmm5, (%r14)
nop
nop
nop
nop
cmp %rbp, %rbp
lea addresses_A_ht+0xc12a, %r11
no... |
head.asm | exceldeo/FP_SISOP20_E02 | 0 | 103946 |
_head: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "cat: read error\n");
exit();
}
}
int main(int argc, char *argv[]) {
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ec... |
CSV.g4 | pennz/antlr_lifestyle | 0 | 2121 | <filename>CSV.g4
grammar CSV;
file : hdr row+ ;
hdr : row ;
row : field (',' field)* '\r'? '\n' ;
field
: TEXT # text
| STRING # string
| # empty
;
TEXT : ~[,\n\r"]+ ;
STRING : '"' ('""'|~'"')* '"' ;
ACTION
: 'work'
| 'buy'
| 'cook'
| 'eat'
| 'read'
;
OBJ : [a-zA-Z]+ ;
E... |
src/main/antlr/HwK.g4 | JackGoldsworth/HwK2 | 0 | 4353 | grammar HwK;
/*
* Parsing
*/
compilationUnit: (imports | statement | function)* EOF;
imports: '@imp' IMPORTNAME;
statement: variable | print | functionCall | ifStatement;
expression: varReference # VAR
| value # VAL
| functionCall # FUNC
| expression '>' expression # GREATER_THAN
... |
alloy4fun_models/trashltl/models/7/BJoQ8c3gShEEFB4v2.als | Kaixi26/org.alloytools.alloy | 0 | 1181 | open main
pred idBJoQ8c3gShEEFB4v2_prop8 {
always all f:File | some f.link implies eventually f.link in Trash
}
pred __repair { idBJoQ8c3gShEEFB4v2_prop8 }
check __repair { idBJoQ8c3gShEEFB4v2_prop8 <=> prop8o } |
commands/pause.asm | alexbelm48/AtieDOS | 33 | 99695 | ; AtieDOS 2.10 Pause Command
; Copyright (c) 2020 AtieSoftware. All rights reserved.
; See LICENSE in the root folder
command_pause:
call os_command_init
mov bx, .PRESS_ANY_KEY
call os_print_string
call os_keystroke_echo
call os_command_finish
.PRESS_ANY_KEY: db "Press any k... |
src/learn-isr.asm | staskevich/UMR2 | 27 | 160596 | ; UMR2
; copyright <NAME>, 2017
; <EMAIL>
;
; This work is licensed under a Creative Commons Attribution 4.0 International License.
; http://creativecommons.org/licenses/by/4.0/
;
; learn-isr.asm
;
; Interrupt service routines for "learning" about host key matrix
;
list p=16F1939
#include <p16f1939.inc>... |
development/temp_1/AreaTest.g4 | cvickery/dgw_processor | 1 | 1236 | grammar AreaTest;
area_test : .*? BEGIN head (SEMICOLON body)? ENDOT .*? EOF;
head :
(
label
)*
;
body :
(
class_credit
)*
;
course_list : course_item (and_list | or_list)? course_qualifier* label?;... |
oeis/295/A295610.asm | neoneye/loda-programs | 11 | 20545 | ; A295610: a(n) = Sum_{k=0..n} (n!/(n - k)!)^k.
; Submitted by <NAME>
; 1,2,7,256,345749,25090776406,139507578065088907,82622801516492599819822772,6985137485409222182920705065038896201,109110989095384931538566720095053550173384985449034,395940975233113726268241745444050219538058574725338743701918216111,4099330268246106... |
MSDOS/Virus.MSDOS.Unknown.satanbug.asm | fengjixuchui/Family | 3 | 160534 | <filename>MSDOS/Virus.MSDOS.Unknown.satanbug.asm
CSEG SEGMENT
ASSUME CS:CSEG, ES:CSEG, SS:CSEG
ORG 100H
YES EQU 1
NO EQU 0
COM EQU 0
EXE EQU 1
Signal EQU 0F9H
Reply EQU 0AC0AH
;
Start: CALL $+3
POP AX
MOV CL,4H
SHR AX,CL
SUB AX,0010H
... |
programs/oeis/145/A145126.asm | karttu/loda | 1 | 91286 | ; A145126: a(n) = 1 + (6 + (11 + (6 + n)*n)*n)*n/24.
; 1,2,6,16,36,71,127,211,331,496,716,1002,1366,1821,2381,3061,3877,4846,5986,7316,8856,10627,12651,14951,17551,20476,23752,27406,31466,35961,40921,46377,52361,58906,66046,73816,82252,91391,101271,111931,123411,135752,148996,163186,178366,194581,211877,230301,249901,2... |
src/main/antlr4/io/fixprotocol/md/antlr/MarkdownLexer.g4 | FIXTradingCommunity/md-grammar | 0 | 1913 | <gh_stars>0
lexer grammar MarkdownLexer;
@header {
/*
* Copyright 2021 FIX Protocol Ltd
*
* 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
*
... |
2SC/Lab4.asm | rahulmahendru/AssemblyLang | 1 | 162978 | ############################################################################
# Created by: <NAME>
# ramahend
# 27 November 2018
#
# Assignment: Lab 4 Part B: ASCII String to 2's Complement
# CMPE 012, Computer Systems and Assembly Language
# UC Santa Cruz, Fall 2018... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt58.adb | best08618/asylo | 0 | 24335 | <reponame>best08618/asylo
-- { dg-do compile }
-- { dg-options "-O" }
with Unchecked_Conversion;
with System; use System;
with Opt58_Pkg; use Opt58_Pkg;
procedure Opt58 is
function Convert is new Unchecked_Conversion (Integer, Rec);
Dword : Integer := 0;
I : Small_Int := F1 (Convert (Dword));
... |
Driver/Power/APMCommon/apmPoll.asm | steakknife/pcgeos | 504 | 27627 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: apmPoll.asm
AUTHOR: <NAME>, Aug 1, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date... |
dino/lcs/123p/10.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 244995 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
001036 move.w ($10,A0), D2 [123p+ 8]
00103A moveq #$0, D0 [123p+ 10]
001702 add.w ($10,A6), D1 [123p+ C, enemy+ C, item+ C]
001706 tst... |
data/maps/headers/SilphCo2F.asm | opiter09/ASM-Machina | 1 | 26976 | <reponame>opiter09/ASM-Machina
map_header SilphCo2F, SILPH_CO_2F, FACILITY, 0
end_map_header
|
examples/STM32F4_DISCO/simple_audio/src/audio_stream.ads | rocher/Ada_Drivers_Library | 192 | 17768 | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- ... |
bb-runtimes/runtimes/zfp-stm32h743/gnat/i-stm32-flash.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 4634 | --
-- Copyright (C) 2021, AdaCore
--
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
with System;
package Interfaces.STM32.Flash is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subtype ACR_LAT... |
source/types/adam-a_type-ordinary_fixed_point_type.ads | charlie5/aIDE | 3 | 15313 | with
Ada.Streams;
package AdaM.a_Type.ordinary_fixed_point_type
is
type Item is new a_Type.fixed_Type with private;
type View is access all Item'Class;
-- Forge
--
function new_Type (Name : in String := "") return ordinary_fixed_point_type.view;
overriding
procedure destruct (Self... |
alloy4fun_models/trashltl/models/12/A7dTJLvqDXNpKahkS.als | Kaixi26/org.alloytools.alloy | 0 | 2204 | open main
pred idA7dTJLvqDXNpKahkS_prop13 {
always all f : File | (f not in Trash) until (f in Trash)
}
pred __repair { idA7dTJLvqDXNpKahkS_prop13 }
check __repair { idA7dTJLvqDXNpKahkS_prop13 <=> prop13o } |
src/unimon_MC6850/dev_6850.asm | kuninet/K65-SBC | 0 | 245358 | <reponame>kuninet/K65-SBC
;;;
;;; MCS6850 Console Driver
;;;
INIT:
LDA #ACIA_V1
STA ACIACS
LDA #ACIA_V2
STA ACIACS
RTS
CONIN:
LDA ACIACS
AND #$01
BEQ CONIN
LDA ACIADT
RTS
CONST:
LDA ACIACS
AND #$01
RTS
CONOUT:
PHA
CO0:
LDA ACIACS
AND #$02
BEQ CO0
PLA
STA ACIADT
RTS
|
boot loader/cpuid.asm | Tomer2003/ro-os | 0 | 96234 | <gh_stars>0
[bits 32]
;check if cpu support cpuid instruction
check_cpuid:
pushfd
pop eax
and eax, 0x00200000
cmp eax, 0x0
je cpuid_invalid
ret
;check if cpu support long mode
check_long_mode:
mov eax, 0x80000000
cpuid
cmp eax, 0x80000001
jb no_lo... |
Source/ALL/Languages/ILL/Syntax.agda | heades/Agda-LLS | 3 | 12045 | <reponame>heades/Agda-LLS<gh_stars>1-10
module Languages.ILL.Syntax where
open import level
open import bool
open import nat
open import unit
open import empty
open import eq
open import sum
open import product
open import Utils.HaskellTypes
open import Utils.HaskellFunctions
open import Languages.ILL.TypeSyntax
Tru... |
test/epic/Prelude/Stream.agda | redfish64/autonomic-agda | 0 | 1691 | <filename>test/epic/Prelude/Stream.agda
{-# OPTIONS --universe-polymorphism #-}
module Prelude.Stream where
-- open import Coinduction
-- Infinite streams.
open import Prelude.IO
open import Prelude.Nat
open import Prelude.Unit
data Level : Set where
zero : Level
suc : (i : Level) → Level
{-# BUILTIN LEVEL ... |
oeis/229/A229464.asm | neoneye/loda-programs | 11 | 95424 | ; A229464: Binomial transform of (2*n + 1)!.
; Submitted by <NAME>(m4)
; 1,7,133,5419,383785,41782831,6472067437,1352114646163,366325440650449,124893891684358615,52323557348796456661,26420766706149889279867,15824833185409769038803193,11092546337733020334329204479,8995627147680234199615065312445
mov $1,1
mov $2,1
lpb $... |
src/native/m64.asm | nomadsinteractive/migi | 3 | 8150 | PUBLIC make_generic_call_impl
PUBLIC make_generic_call_r_mmx0
_DATA segment
_DATA ends
_RDATA segment
_RDATA ends
_TEXT segment
make_generic_call_impl proc
push rbp
mov rbp, rsp
push rbx
push rcx
push rdx
push r8
push r9
mov rax, rcx
mov rbx, rdx
... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-btgbso.adb | orb-zhuchen/Orb | 0 | 23834 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
_anim/Try Again & End Eggman.asm | kodishmediacenter/msu-md-sonic | 9 | 8248 | ; ---------------------------------------------------------------------------
; Animation script - Eggman on the "TRY AGAIN" and "END" screens
; ---------------------------------------------------------------------------
Ani_EEgg: dc.w @tryagain1-Ani_EEgg
dc.w @tryagain2-Ani_EEgg
dc.w @end-Ani_EEgg
@tryagain1: dc.b... |
MacStroke/Resources/OpenMacStrokePreferences.applescript | MacStroke/MacStroke | 148 | 4144 | tell application "MacStroke"
openPreferences
end tell
|
src/util-listeners-lifecycles.ads | Letractively/ada-util | 60 | 17227 | <gh_stars>10-100
-----------------------------------------------------------------------
-- util-listeners-lifecycles -- Listeners
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with... |
oeis/303/A303990.asm | neoneye/loda-programs | 11 | 16372 | ; A303990: Triangle, read by rows: n^k * k^n, for n >= 1 and k = 1..n.
; Submitted by <NAME>
; 1,2,16,3,72,729,4,256,5184,65536,5,800,30375,640000,9765625,6,2304,157464,5308416,121500000,2176782336,7,6272,750141,39337984,1313046875,32934190464,678223072849,8,16384,3359232,268435456,12800000000,440301256704,120896639467... |
assembly/controlstructures/enhancedcomparison/ehancedcompare.asm | MosheBerman/logisim-assignments | 0 | 100141 |
section .data
global main
main:
cmp eax, 5 ; Compare 5 to eax
jge ifblock ; Jump to 'ifblock'
; if eax >= 5
mov ebx, 2 ; else set ebx = 2
jmp nextlabel ; Then skip the 'ifblock'
ifblock: ; The body of 'ifblock'
mov ebx, 1 ; Set ebx = 1
... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstregistry_h.ads | persan/A-gst | 1 | 2456 | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstregistry_h.ads
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_gstobject_h;
-- limited with GStreamer.GST_Lo... |
2018-11/retardedAO/AO-TP-EXOs/TP-EXO1.asm | djalilhebal/shit | 3 | 166560 | ; TP-EXO1: Displays 'A'
pile segment para stack 'pile'
db 256 dup(0)
pile ends
data segment
; no variables
data ends
code segment
main proc far
assume cs:code
assume ds:data
assume ss:pile
mov ax, data
mov ds, ax
mov ah, 02h ; output character
mov dl, 'A' ; or ... |
oeis/028/A028199.asm | neoneye/loda-programs | 11 | 1128 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A028199: Expansion of 1/((1-5x)(1-10x)(1-11x)(1-12x)).
; Submitted by <NAME>
; 1,38,917,17950,311181,4984638,75555157,1099718270,15519848861,213791759038,2888580642597,38416793758590,504293367484141,6547729455298238,84231046860437237,1075013759173110910
mov $1,1
mov $2... |
src/drivers/sercom_u2201/sam-sercom.ads | Fabien-Chouteau/samd51-hal | 1 | 14574 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/s-tasdeb.adb | best08618/asylo | 7 | 6851 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
programs/oeis/214/A214062.asm | neoneye/loda | 22 | 173970 | <reponame>neoneye/loda
; A214062: Least m>0 such that gcd(2*n+m, 2*n-1-m) > 1.
; 1,3,5,1,9,11,1,15,2,1,21,23,1,2,29,1,33,35,1,39,41,1,3,2,1,51,53,1,2,3,1,63,65,1,69,5,1,75,2,1,81,83,1,2,89,1,5,95,1,99,3,1,105,2,1,111,113,1,2,119,1,6,125,1,3,131,1,135,2,1,141,3,1,2,6,1,153,155,1,5,8,1,165,2,1,3,173,1,2,179,1,183,3,1,189... |
programs/oeis/067/A067272.asm | neoneye/loda | 22 | 242610 | <filename>programs/oeis/067/A067272.asm
; A067272: 2*10^(n-1)-1.
; 1,19,199,1999,19999,199999,1999999,19999999,199999999,1999999999,19999999999,199999999999,1999999999999,19999999999999,199999999999999,1999999999999999,19999999999999999,199999999999999999,1999999999999999999,19999999999999999999,199999999999999999999,1... |
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_1699_2650.asm | ljhsiun2/medusa | 9 | 165961 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xef6e, %rdx
nop
dec %r11
movb (%rdx), %r9b
dec %rdi
lea addresses_D_ht+0x1ec26, %rbx
nop
add $24043, %r12
mov $0x6162636465666768, %r15
movq %r15, %xmm5
movups %xmm5... |
add.asm | universekavish/Microprocessor-Lab-Programs | 0 | 82029 | lda 2000h
mov b,a
lda 3000h
add b
sta 5000
hlt |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2262.asm | ljhsiun2/medusa | 9 | 170564 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x9f98, %r8
nop
nop
nop
sub $56616, %rbp
movb $0x61, (%r8)
dec %rdx
lea addresses_A_ht+0x16980, %r15
nop
nop
nop
nop
xor $24522, %rbp
movups (%r15), %x... |
src/PiCalculus/LinearTypeSystem/Exchange.agda | guilhermehas/typing-linear-pi | 26 | 8967 | {-# OPTIONS --safe #-} -- --without-K #-}
open import Relation.Binary.PropositionalEquality using (_≢_; _≡_; refl; sym; subst; cong; trans)
open import Function using (_∘_)
open import Relation.Nullary using (yes; no)
import Data.Empty as Empty
import Data.Product as Product
import Data.Product.Properties as Productₚ... |
addition-of-two-8bit-numbers-with carry.asm | SubhadeepZilong/GNUSim8085 | 0 | 169724 |
;Addition of two 8 bit numbers with carry
MVI A, 80H
MVI B, 90H
MVI C, 00H
ADD B
JNC 200B
INR C
STA 2050H
MOV A,C
STA 2051H
RST 1 |
programs/oeis/027/A027929.asm | karttu/loda | 0 | 176563 | <reponame>karttu/loda
; A027929: a(n) = T(n, 2*n-6), T given by A027926.
; 1,2,5,13,33,79,176,365,709,1300,2267,3785,6085,9465,14302,21065,30329,42790,59281,80789,108473,143683,187980,243157,311261,394616,495847,617905,764093,938093,1143994,1386321,1670065,2000714,2384285,2827357,3337105,3921335,4588520,5347837,6209205... |
Final Assignment CSE331/Solution/9.asm | NasirSunny50/CSE331L-Section-1-Fall20-NSU | 0 | 12786 | .MODEL SMALL
.STACK 64
.DATA
STRING DB ?
SYM DB '$'
VOWEL DB ?
INPUT_M DB 0ah,0dh,0AH,0DH, 'ENTER INPUT STRING: ',0DH,0AH,'$'
OUTPUT_M DB 0ah,0dh,0AH,0DH, 'TOTAL NUMBER OF VOWEL IN BL REGISTER',0DH,0AH,'$'
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
MOV DX, OFFSET INPUT_... |
programs/oeis/229/A229014.asm | karttu/loda | 0 | 175425 | ; A229014: Number of arrays of median of three adjacent elements of some length 6 0..n array, with no adjacent equal elements in the latter.
; 2,31,130,359,794,1527,2666,4335,6674,9839,14002,19351,26090,34439,44634,56927,71586,88895,109154,132679,159802,190871,226250,266319,311474,362127,418706,481655,551434,628519,713... |
a/Assembler tms9900 ti99 4a.asm | conorpreid/hello-world | 8,076 | 103074 |
* Hello World for TI-99/4a computer with TMS9900 CPU
* by Frog ( http://frog.enlight.ru )
* 15 April 2016
*
****************************************************************************
DEF START
WRKSP EQU >8300
VDPWD EQU >8C00
VDPWA EQU >8C02
START LIMI 0
... |
programs/oeis/096/A096431.asm | neoneye/loda | 22 | 22932 | ; A096431: Denominator of (9*(n^4 - 2*n^3 + 2*n^2 - n) + 2)/(2*(2*n - 1)).
; 1,3,1,7,9,11,13,3,17,19,21,23,5,27,29,31,33,7,37,39,41,43,9,47,49,51,53,11,57,59,61,63,13,67,69,71,73,15,77,79,81,83,17,87,89,91,93,19,97,99,101,103,21,107,109,111,113,23,117,119,121,123,25,127,129,131,133
mov $1,$0
add $1,1
add $0,$1
dif $0,... |
programs/oeis/327/A327376.asm | jmorken/loda | 1 | 91959 | ; A327376: BII-numbers of set-systems with vertex-connectivity 3.
; 2868,2869,2870,2871,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914
add $0,4
mov $1,-4
lpb $1
add $0,$... |
oeis/130/A130974.asm | neoneye/loda-programs | 11 | 26072 | ; A130974: Period 6: repeat [1, 1, 1, 3, 3, 3].
; Submitted by <NAME>
; 1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3
div $0,3
mod $0,2
mul $0,2
add $0,1
|
src/Fragment/Algebra/Homomorphism/Setoid.agda | yallop/agda-fragment | 18 | 14710 | <reponame>yallop/agda-fragment
{-# OPTIONS --without-K --exact-split --safe #-}
open import Fragment.Algebra.Signature
module Fragment.Algebra.Homomorphism.Setoid (Σ : Signature) where
open import Fragment.Algebra.Algebra Σ
open import Fragment.Algebra.Homomorphism.Base Σ
open import Level using (Level; _⊔_)
open i... |
programs/oeis/078/A078567.asm | karttu/loda | 0 | 100645 | ; A078567: Number of arithmetic subsequences of [1..n] with length > 1.
; 0,1,4,9,17,27,41,57,77,100,127,156,191,228,269,314,364,416,474,534,600,670,744,820,904,991,1082,1177,1278,1381,1492,1605,1724,1847,1974,2105,2245,2387,2533,2683,2841,3001,3169,3339,3515,3697,3883,4071,4269,4470,4677,4888,5105,5324,5551,5782,6021,... |
java/jtg/jtg.core/src/main/grammar/JavaTemplateGrammar.g4 | dgo42/jtg | 4 | 7492 | /*
*/
grammar JavaTemplateGrammar;
@header
{
package org.edgo.jtg.core.grammar;
}
options {
tokenVocab = JavaTemplateLexer;
}
@parser::members {
private org.edgo.jtg.core.model.ParsedUnit unit;
public void setUnit(org.edgo.jtg.core.model.ParsedUnit unit) {
this.unit = unit;
... |
src/u2/p7.asm | luishendrix92/lenguajezinterfaz | 0 | 246195 | <reponame>luishendrix92/lenguajezinterfaz
; 7 - Frase con offset
; <NAME>
; 15211312
; 27 de Septiembre del 2018
.Model small
.Stack 64
.Data
frase db "Ensamblado con ensamblador!", 10, 13, "$"
.Code
mov ax,@Data
mov ds,ax
mov dx,offset frase
mov ah,09h
int 21h
.Exit
end
|
3-mid/opengl/applet/demo/two_cameras/launch_two_cameras_demo.adb | charlie5/lace | 20 | 14254 | <filename>3-mid/opengl/applet/demo/two_cameras/launch_two_cameras_demo.adb
with
openGL.Camera,
openGL.Palette,
openGL.Model.Box .lit_colored_textured,
openGL.Model.Sphere.lit_colored_textured,
openGL.Visual,
openGL.Demo;
procedure launch_two_Cameras_Demo
--
-- Exercise the culler with ... |
src/main/antlr4/ru/khomara/yaqt/Yaqt.g4 | bighdd/yaqt | 0 | 2724 | <reponame>bighdd/yaqt
grammar Yaqt;
parse
: ( stmt | error )* EOF
;
error
: UNEXPECTED_CHAR
{
throw new RuntimeException("UNEXPECTED_CHAR=" + $UNEXPECTED_CHAR.text);
}
;
stmt
: tnsnames select_stmt
;
//----------------------------------------------------------------------------
// TNSNAMES Simplifi... |
lib/ayacc/ayacc_file_names.adb | alvaromb/Compilemon | 1 | 5406 | with STR_Pack;
use STR_Pack;
with String_Pkg;
package body Ayacc_File_Names is
SCCS_ID : constant String := "@(#) file_names.ada, Version 1.2";
Rcs_ID : constant String := "$Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/file_names.a,v 1.2 88/11/28 13:38:59 arcadia Exp $";
Max_Name_Length : constant := ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.