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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_34_1688.asm | ljhsiun2/medusa | 9 | 1514 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1ba61, %r13
nop
nop
nop
cmp %r9, %r9
mov (%r13), %ebp
add $5699, %r14
lea addresses_WT_ht+0x15c61, %rsi
lea addresses_WT_ht+0x14a21, %rdi
clflush (%rsi)
nop
nop
sub %rbp,... |
test-resources/ExamplesFromRoy/md_example2.ads | hergin/ada2fuml | 0 | 16099 | <reponame>hergin/ada2fuml<gh_stars>0
with Globals_Example1;
package Md_Example2 is
type Record_With_Integer_Rtype is record
Attribute : Globals_Example1.Itype;
end record;
function Compute_An_Itype (The_Rtype : Record_With_Integer_Rtype)
return Globals_Example1.Itype;
end Md_Example2;
|
source/directories/machine-w64-mingw32/s-nadite.ads | ytomino/drake | 33 | 22483 | <filename>source/directories/machine-w64-mingw32/s-nadite.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit specialized for Windows
package System.Native_Directories.Temporary is
-- There are subprograms to create temporary file or directory.
pragma Preelaborate;
function Temporary_D... |
Irvine/Examples/ch16/TextWin.asm | alieonsido/ASM_TESTING | 0 | 104731 | TITLE Color Text Window (TextWin.asm)
; Displays a color window and writes text inside.
; Last update: 06/01/2006
INCLUDE Irvine16.inc
.data
message BYTE "Message in Window",0
.code
main PROC
mov ax,@data
mov ds,ax
; Scroll a window.
mov ax,0600h ; scroll window
mov bh,(blue SHL 4) OR yellow ; att... |
src/MLib/Fin/Parts/Nat.agda | bch29/agda-matrices | 0 | 889 | module MLib.Fin.Parts.Nat where
open import MLib.Prelude
open import MLib.Fin.Parts.Core
open Nat using (_*_; _+_; _<_)
open Fin using (fromℕ≤)
open Table
module Impl where
tryLookup : ∀ {n} {a} {A : Set a} → A → Table A n → ℕ → A
tryLookup {n = zero} z t _ = z
tryLookup {n = suc n} z t zero = lookup t zero
... |
attic/fb_rawshader/stencil_test_vs.asm | ilbers/etna_viv | 121 | 172255 | ; very basic vertex shader
; z = (z+w)/2
; 1 temporary register used (t0)
ADD t0.__z_, t0.zzzz, void, t0.wwww
MUL t0.__z_, t0.zzzz, u0.xxxx, void
|
src/tiny.ads | hgrodriguez/tiny_rp2040_bsp | 0 | 4960 | --===========================================================================
--
-- This package represents the definitions for
-- all ports
-- all standard definitions
-- for the Tiny RP2040 board
--
--===========================================================================
--
-- Copyright 2022 (C) <NAME... |
Task/Read-a-configuration-file/Ada/read-a-configuration-file-2.ada | djgoku/RosettaCodeData | 0 | 10401 | <filename>Task/Read-a-configuration-file/Ada/read-a-configuration-file-2.ada
with Ada.Text_IO;
with Config; use Config;
procedure Read_Config is
use Ada.Text_IO;
use Rosetta_Config;
begin
New_Line;
Put_Line ("Reading Configuration File.");
Put_Line ("Fullname := " & Get (Key => ... |
yasm_x86-64_linux/test.asm | oceanwavechina/assembly | 0 | 6658 | <filename>yasm_x86-64_linux/test.asm
; 1. 用lea 指令获取变量的内存地址
section .data
bVar1 db 22
bVar2 db 33
section .text
global _start
_start:
lea rax, qword [bVar1]
last:
mov rax, 60
mov rdi, 0
syscall |
Labs/1_simple_expression/1a_only_parser_no_evaluation/Expr.g4 | MNXANL/GRAU-CL | 0 | 2042 | <reponame>MNXANL/GRAU-CL
grammar Expr;
s : e ;
e : '(' e ')'
| MINUS e
| e (MULT|DIV) e
| e (PLUS|MINUS) e
| INT
;
MULT = '*';
DIV = '/';
PLUS = '+';
MINUS = '-';
INT : [0-9]+ ;
WS : [ \t\n]+ -> skip ;
|
programs/oeis/156/A156664.asm | neoneye/loda | 22 | 82181 | <filename>programs/oeis/156/A156664.asm<gh_stars>10-100
; A156664: Binomial transform of A052551.
; 1,2,6,16,42,108,274,688,1714,4244,10458,25672,62826,153372,373666,908896,2207842,5357348,12988074,31464568,76179354,184347564,445923058,1078290832,2606699026,6300077492,15223631226,36780894376,88852528842,214620169788,51... |
assembler/tests/t_65ce02/t_65ce02.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 103469 | <reponame>paulscottrobson/RCA-Cosmac-VIP-III<gh_stars>0
cpu 65ce02
page 0
cle
see
phz
plz
inz
dez
tsy
tys
tab
tba
taz
tza
rtn #$ee
aug
stx $1234,y
sty $1234,x
jsr ($1234)
irp instr,ora,and,eor,adc,sta,lda,cmp,sbc
instr ($aa),z
endm
ldz $1234
ldz $1234,x
ldz $12
ldz $12,x
ldz #$55
cp... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_889.asm | ljhsiun2/medusa | 9 | 83766 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x118ff, %rsi
lea addresses_A_ht+0x1ed3f, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub %r13, %r13
mov $50, %rcx
rep movsb
nop
nop
nop
nop
inc %rdi
lea addresses_WC_ht+0x6b3f, %rbx
clflush (%rbx)
n... |
test/test-verbose-mix.asm | rhargreaves/zx-spec | 34 | 103735 | <gh_stars>10-100
org 8000h
zxspec_config_verbose_output equ $FF
include src/zx-spec.asm
spec_init
describe 'assert_pass'
it 'passes test'
assert_pass
describe 'assert_a_equal'
it 'passes for same value'
ld a,5
assert_a_equal 5
describe 'assert_a_equal'
it 'fails for different value'
l... |
assembler/forth/dict.asm | MRebhan/RetroComputers-XC8010 | 2 | 19283 | <reponame>MRebhan/RetroComputers-XC8010
dvar STATE,5,,,
dvar DP,2,,,here_pos
dcode HERE,4,, ; ( -- dp@ )
lda var_DP
pha
nxt
dvar LATEST,6,,,name_marker
dword >CFA,4,,TCFA
.lit 2
.wp ADD
.wp DUP
.wp PEEK
.lit F_LENMASK
.wp AND
... |
oeis/313/A313635.asm | neoneye/loda-programs | 11 | 105518 | ; A313635: Coordination sequence Gal.4.54.2 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,5,10,14,20,26,30,35,40,45,50,54,60,66,70,75,80,85,90,94,100,106,110,115,120,125,130,134,140,146,150,155,160,165,170,1... |
Bloc2/Micro/Project 2/project6.asm | MrGunnery/Helha | 1 | 176003 | NB1 equ 0C
NB2 equ 0D
FSR equ 04
INDF equ 00
;------------- Programme -------------
restart movlw d'10'
movwf NB1 ; on met 10 dans NB1
movlw H'11'
movwf FSR ; on dit l'adresse de debut de FSR
movlw d'5'
movwf NB2
movlw d'0'
debut addlw d'5'
movwf INDF ; on ajoute l... |
manuscript/cs/ch01-helloWorld-i386.asm | jasoncable/i-can-program-too | 3 | 22339 | ; Hello World for Intel Assembler (MSDOS)
mov ax,cs
mov ds,ax
mov ah,9
mov dx, offset Hello
int 21h
xor ax,ax
int 21h
Hello:
db "Hello World!",13,10,"$" |
core.agda | hazelgrove/hazelnat-myth- | 1 | 8589 | <reponame>hazelgrove/hazelnat-myth-<filename>core.agda
open import Nat
open import Prelude
open import List
open import contexts
open import unions
module core where
-- types
data typ : Set where
_==>_ : typ → typ → typ
⟨⟩ : typ
⟨_×_⟩ : typ → typ → typ
D[_] : Nat → typ
-- arrow type construc... |
src/hardware/hardware-pwm.ads | kisom/rover-mk1 | 0 | 24947 | with AVR, AVR.MCU; use AVR;
with Interfaces;
use Interfaces;
package Hardware.PWM is
-- Set Servo_ISR as the TIMER1 COMPA handler. See page 101 of the
-- ATmega2560 datasheet for more details.
procedure Servo_ISR;
pragma Machine_Attribute (Entity => Servo_ISR,
Attribute_N... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_767.asm | ljhsiun2/medusa | 9 | 91070 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbx
lea addresses_normal_ht+0x188f0, %r10
nop
nop
nop
nop
nop
and $2511, %r12
mov $0x6162636465666768, %rbx
movq %rbx, %xmm1
vmovups %ymm1, (%r10)
nop
nop
cmp %r8, %r8
pop %rbx
pop %r8
pop %r12
pop %r10
ret
.global s_faulty_load
s_faul... |
21.asm | AsadKhalil/Assembly_x86 | 0 | 163320 | [org 0x0100]
mov AL, 3
mov [Table], AL
add AL, 3
mov [Table + 1], AL
add AL, 3
mov [Table + 2], AL
add AL, 3
mov [Table + 3], AL
add AL, 3
mov [Table + 4], AL
int 0x21
Table: Times 5 db 0 |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca.log_10830_1857.asm | ljhsiun2/medusa | 9 | 16229 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %rax
push %rbx
push %rdi
push %rdx
// Store
lea addresses_UC+0x18f65, %rbx
nop
dec %rdi
movl $0x51525354, (%rbx)
dec %r14
// Store
mov $0x945, %rdx
nop
nop
nop
nop
nop
sub $25702, %rax
movw $0... |
test/interaction/Issue4333/N1.agda | shlevy/agda | 1,989 | 9746 | <filename>test/interaction/Issue4333/N1.agda
{-# OPTIONS --rewriting --confluence-check #-}
module Issue4333.N1 where
open import Issue4333.M
{-# REWRITE p₁ #-}
b₁' : B a₁'
b₁' = b
|
tests/typing/bad/testfile-inout-1.adb | xuedong/mini-ada | 0 | 29034 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P(X: in out Integer) is begin new_line; end;
begin
P(42);
end;
|
data/jpred4/jp_batch_1613899824__Wv7Rrtp/jp_batch_1613899824__Wv7Rrtp.als | jonriege/predict-protein-structure | 0 | 4923 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__Wv7Rrtp.concise.blc
MAX_NSEQ 866
MAX_INPUT_LEN 868
OUTPUT_FILE jp_batch_1613899824__Wv7Rrtp.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
hello-multiple/Hello.g4 | AlanHohn/antlr4-python | 40 | 4276 | <reponame>AlanHohn/antlr4-python<filename>hello-multiple/Hello.g4<gh_stars>10-100
// Define a grammar called Hello
grammar Hello; // defines how the output code will be named
prog : hi* EOF; // accept zero or more hello items followed by EOF
hi : 'hello' ID ; // match keyword hello followed... |
src/Data/List/First/Properties.agda | metaborg/mj.agda | 10 | 460 | module Data.List.First.Properties {ℓ}{A : Set ℓ} where
open import Data.Product
open import Data.List
open import Data.List.Any
open import Relation.Binary.PropositionalEquality
open import Function
open import Data.Empty
open import Data.List.First
open import Data.List.Membership.Propositional
first⟶∈ : ∀ {B : A → ... |
libsrc/_DEVELOPMENT/stdio/z80/asm_vprintf_unlocked.asm | jpoikela/z88dk | 640 | 27823 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/stdio/z80/asm_vprintf_unlocked.asm
; ===============================================================
; Jan 2014
; ===============================================================
;
; int vprintf_unlocked(const char *format, void *arg)
;
; See C11 specification.
;
;... |
programs/oeis/187/A187074.asm | jmorken/loda | 1 | 84868 | <reponame>jmorken/loda
; A187074: a(n) = 0 if and only if n is of the form 3*k or 4*k + 2, otherwise a(n) = 1.
; 1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1... |
lex/PMLLexer.g4 | zergos/pantra | 0 | 5834 | <reponame>zergos/pantra<filename>lex/PMLLexer.g4<gh_stars>0
// Pantra component definition
lexer grammar PMLLexer;
// comments
COMMENT : '<!--' .*? '-->' -> skip;
// CDATA just for XML compliance, not needed at the moment
CDATA : '<![CDATA[' .*? ']]>' -> skip;
// DTD not needed
DTD : '<!' .*? '>' -... |
programs/oeis/206/A206417.asm | karttu/loda | 0 | 98558 | ; A206417: (5*F(n)+3*L(n)-8)/2.
; 0,3,7,14,25,43,72,119,195,318,517,839,1360,2203,3567,5774,9345,15123,24472,39599,64075,103678,167757,271439,439200,710643,1149847,1860494,3010345,4870843,7881192,12752039,20633235,33385278,54018517,87403799,141422320,228826123,370248447,599074574,969323025,1568397603,2537720632,4106118... |
Project-Einstein/src/E-Assembly/src/vectorMean.nasm | FelixLuciano/Elements-of-Computing-Systems | 0 | 12256 | ; ------------------------------------
; Calcule a média dos valores de um vetor
; que possui inicio em RAM[5] e tamanho
; defindo em RAM[4],
;
; 1. Salve a soma em RAM[1]
; 2. Salve a média em RAM[0]
;
; ------------------------------------
; antes | depois
; |
; RAM[0]: | RAM[0]: 2 : média
;... |
oeis/119/A119697.asm | neoneye/loda-programs | 11 | 80795 | <filename>oeis/119/A119697.asm
; A119697: Fib(n)*n*binomial(2*n, n)/(n+1).
; Submitted by <NAME>(s1)
; 0,1,4,30,168,1050,6336,39039,240240,1487772,9237800,57551494,359444736,2250244100,14115694320,88707831750,558368324640,3519726403710,22215931214400,140389620550410,888125492826000,5623962934819320
mov $1,$0
mul $0,2
... |
fizzbuzz.asm | asmblah/fizzbuzz.asm | 0 | 5008 | <filename>fizzbuzz.asm
;
; FizzBuzz in NASM x86 assembly for OSX
;
; Copyright (c) <NAME> (<EMAIL>)
; https://github.com/asmblah/fizzbuzz.asm
;
; Released under the MIT license
; https://github.com/asmblah/fizzbuzz.asm/raw/master/MIT-LICENSE.txt
;
section .text
global start ; Program entry point
start:
; Pri... |
3-mid/physics/interface/source/private/bullet/bullet_physics-space.adb | charlie5/lace-alire | 1 | 24973 | with
bullet_c.Binding,
bullet_c.ray_Collision,
c_math_c.Vector_3,
c_math_c.Conversion,
c_math_c.Pointers,
bullet_physics.Shape,
bullet_physics.Joint,
Swig,
lace.Any,
interfaces.C,
ada.unchecked_Conversion;
package body bullet_Physics.Space
is
use bullet_c.B... |
commands/apps/hazeover/hazeover-set-intensity.applescript | afrazkhan/script-commands | 5 | 4112 | <gh_stars>1-10
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Set Intensity
# @raycast.mode silent
# @raycast.packageName HazeOver
# @raycast.argument1 { "type": "text", "placeholder": "Intensity (0-100)" }
# Optional parameters:
# @raycast.icon images/hazeover.png
# Document... |
src/grammar/FooLexer.g4 | buptkt/demo-antlr4-llvm | 12 | 1209 | lexer grammar FooLexer;
// Operators
Add: '+';
Sub: '-';
Mul: '*';
Div: '/';
Mod: '%';
Gt: '>';
Gte: '>=';
Lt: '<';
Lte: '<=';
Eq: '==';
Ne: '!=';
Equal: '=';
// Pairs
OpeningParen: '(';
ClosingParen: ')';
OpeningBrace: '{';
ClosingBrace: '}';
OpeningBracket: '[';
ClosingBracket: ']';
// Variable
VariableDeclarato... |
src/print.asm | SHARPENTIERS/z80test | 2 | 6165 | <reponame>SHARPENTIERS/z80test
; Simple printing module.
;
; Copyright (C) 2012 <NAME> (<EMAIL>)
;
; This source code is released under the MIT license, see included license.txt.
; Modified for SHARP MZ-80K series.
; call アドレスの次の内容を print / Print the following contents of the call address
print: ex (sp),hl... |
unicode-normalization-quick_check-kc.adb | annexi-strayline/ASAP-Unicode | 1 | 15967 | ------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- --
-- ... |
oeis/158/A158764.asm | neoneye/loda-programs | 11 | 162624 | ; A158764: 38*(38*n^2-1).
; Submitted by <NAME>
; 1406,5738,12958,23066,36062,51946,70718,92378,116926,144362,174686,207898,243998,282986,324862,369626,417278,467818,521246,577562,636766,698858,763838,831706,902462,976106,1052638,1132058,1214366,1299562,1387646,1478618,1572478,1669226,1768862,1871386,1976798,2085098,21... |
Library/SSMeta/ssmetaUtils.asm | steakknife/pcgeos | 504 | 97487 | <reponame>steakknife/pcgeos
COMMENT @-----------------------------------------------------------------------
Copyright (c) Geoworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: ssmetaUtils.asm
AUTHOR: Cheng, 8/92
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
oeis/244/A244725.asm | neoneye/loda-programs | 11 | 6431 | <filename>oeis/244/A244725.asm
; A244725: a(n) = 5*n^3.
; 0,5,40,135,320,625,1080,1715,2560,3645,5000,6655,8640,10985,13720,16875,20480,24565,29160,34295,40000,46305,53240,60835,69120,78125,87880,98415,109760,121945,135000,148955,163840,179685,196520,214375,233280,253265,274360,296595,320000,344605,370440,397535,425920... |
FormalAnalyzer/models/apps/BonVoyage.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2085 | <gh_stars>0
module app_BonVoyage
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_presenceSensor
open cap_location
one sig app_BonVoyage extends IoTApp {
location : one cap_location,
people : some cap_presenceSensor,
newMode : one cap_location_attr_mode_val,
state : one cap_state,
} {
... |
Userland/shell/loader.asm | saques/x64-Kernel | 0 | 241838 | GLOBAL loader
EXTERN shell_main
section .text
loader:
call shell_main
ret
|
source/league/matreshka-internals-calendars-clocks__windows.adb | svn2github/matreshka | 24 | 3296 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/succeed/Issue552.agda | asr/agda-kanso | 1 | 6689 |
module Issue552 where
data Id3 {A : Set} : A -> A -> A -> Set where
refl3 : {x : A} -> Id3 x x x
-- These work:
ok1 : {A : Set}(a b c : A) -> Id3 a b c -> Id3 a b c
ok1 ._ ._ ._ (refl3 {_}) = refl3
ok2 : {A : Set}(a b c : A) -> Id3 a b c -> Id3 a b c
ok2 _ ._ ._ (refl3) = refl3
ok3 : {A : Set}(a b c : A) -> Id3... |
libsrc/_DEVELOPMENT/l/z80/l_outi_loop.asm | ahjelm/z88dk | 640 | 12766 | INCLUDE "config_private.inc"
IF !__CPU_RABBIT__
SECTION code_clib
SECTION code_l
PUBLIC l_outi_loop
IF __SMS
PUBLIC l_outi_loop_smc
defc l_outi_loop_smc = l_outi_loop
;; smc not possible for SMS because the
;; SMS's outi block is too big
ENDIF
IF (__SMS = 0) && (__CLIB_OPT_UNROLL & 0x80)
EXTERN l_outi_loop_s... |
src/test/ref/pointer-const.asm | jbrandwood/kickc | 2 | 175549 | // Test pointer to const and const pointer
// Commodore 64 PRG executable file
.file [name="pointer-const.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUps... |
software/hal/boards/pixhawk/hil/hil-devices.ads | TUM-EI-RCS/StratoX | 12 | 9823 | <gh_stars>10-100
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Software Configuration
--
-- Authors: <NAME> (<EMAIL>)
-- @summary
-- Target-specific types for the devices that are exposed
-- in hil-i2c et. al in Pixhawk.
packag... |
FormalAnalyzer/models/apps/WalkGentleIntoThatGoodNight.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4230 | <gh_stars>0
module app_WalkGentleIntoThatGoodNight
open IoTBottomUp as base
open cap_switch
open cap_app
one sig app_WalkGentleIntoThatGoodNight extends IoTApp {
app : one cap_app,
state : one cap_state,
switches : set cap_switch,
} {
rules = r
}
one sig cap_state extends Capability {} {
attri... |
oeis/083/A083086.asm | neoneye/loda-programs | 11 | 9475 | <reponame>neoneye/loda-programs
; A083086: a(n) (2*2^n + (-4)^n)/3.
; 1,0,8,-16,96,-320,1408,-5376,22016,-87040,350208,-1396736,5595136,-22364160,89489408,-357892096,1431699456,-5726535680,22906667008,-91625619456,366504574976,-1466014105600,5864064811008,-23456242466816,93825003421696,-375299946577920,1501199920529408... |
src/compiling/ANTLR/grammar/PrimitiveTerminals.g4 | jecassis/VSCode-SystemVerilog | 75 | 5872 | grammar PrimitiveTerminals;
import PrimitiveGateAndSwitchTypes;
enable_terminal : expression ;
inout_terminal : net_lvalue ;
input_terminal : expression ;
ncontrol_terminal : expression ;
output_terminal : net_lvalue ;
pcontrol_terminal : expression ;
|
libsrc/stdio_new/file/printf.asm | andydansby/z88dk-mk2 | 1 | 177763 | ; int printf(const char *fmt, ...)
; 05.2008 aralbrec
XLIB printf
LIB vfprintf_callee, stdio_varg
XREF ASMDISP_VFPRINTF_CALLEE
XREF _stdout
.printf
call stdio_varg ; de = char *fmt
ld c,l
ld b,h ; bc = top of parameter list
ld ix,(_stdout)
jp vfprintf_callee + A... |
source/numerics/required/s-fatlfl.adb | ytomino/drake | 33 | 22173 | <filename>source/numerics/required/s-fatlfl.adb
package body System.Fat_Lflt is
function frexp (value : Long_Float; exp : access Integer)
return Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_frexp";
function inf return Long_Float
with Import, Convention => Intrin... |
programs/oeis/076/A076368.asm | neoneye/loda | 22 | 101795 | <reponame>neoneye/loda<filename>programs/oeis/076/A076368.asm
; A076368: a(1) = 1; for n > 1, a(n) = prime(n) - prime(n-1) + 1.
; 1,2,3,3,5,3,5,3,5,7,3,7,5,3,5,7,7,3,7,5,3,7,5,7,9,5,3,5,3,5,15,5,7,3,11,3,7,7,5,7,7,3,11,3,5,3,13,13,5,3,5,7,3,11,7,7,7,3,7,5,3,11,15,5,3,5,15,7,11,3,5,7,9,7,7,5,7,9,5,9,11,3,11,3,7,5,7,9,5,... |
programs/oeis/043/A043094.asm | neoneye/loda | 22 | 90745 | ; A043094: Every string of 2 consecutive base 8 digits contains exactly 2 distinct numbers.
; 0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,37,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,55,56,57,58,59,60,61,62,65,66,67,68,69,70
add $0,6
mov $1,$0
mod $1,2
add $1,$0
lpb $1
... |
Ejercicio Repaso 3/Ejercicio Repaso 3.asm | alfreedom/Z80-ASM-Programs | 0 | 96443 | ;Programa que simula un cronometro que
;cuenta en decimas de segundo, al inicio
;muestra ceros y el conteo comienza cuando
;se presione el push button conectado al
;PA0 (bit 0 del PA del PPI), y termina de
;contar cuando se presione el push button
;conectado al PA1 (bit 1 del PA del PPI).
;
;El retardo de conte... |
oeis/004/A004167.asm | neoneye/loda-programs | 11 | 160935 | ; A004167: Powers of 3 written backwards.
; Submitted by <NAME>(s4)
; 1,3,9,72,18,342,927,7812,1656,38691,94095,741771,144135,3234951,9692874,70984341,12764034,361041921,984024783,7641622611,1044876843,30235306401,90695018313,72887134149,184635924282,344906882748,9238285681452,7894847955267,16945429767822,3884637730368... |
45/beef/drv/csd/inc/csd_save.asm | minblock/msdos | 0 | 5448 | <reponame>minblock/msdos
;*
;* CW : Character Windows
;*
;* csd_save.asm : stub routines for screen saving (not supported
;* by default)
;*
ifndef CbSizeVidsCsd_NonDefault
;*****************************************************************************
;********** CbSizeVidsCsd **********
;* * CSD entry point (see doc... |
source/xml/dom/matreshka-dom_lists.adb | svn2github/matreshka | 24 | 3167 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
test/Succeed/Issue3640.agda | cruhland/agda | 1,989 | 10036 | -- Andreas, 2019-03-25, issue #3640, reported by gallais
{-# OPTIONS --sized-types #-}
-- {-# OPTIONS -v tc.polarity:40 #-}
module _ where
open import Agda.Builtin.Size
module M (_ : Set) where
data U : Size → Set where
node : ∀ {i} → U (↑ i)
module L (A B : Set) where
open M A
-- WAS: crash because of n... |
z80sbcFiles/source/dstat80.asm | roberts7531/z80Computer | 0 | 243791 | ; .8080
;; TITLE DISKSTAT DISK STATISTICS
;; NAME ('DISKST')
;------------------------------------------------------------------
; Utility to display disc characteristics and file allocation
;
; Copyright 1983 <NAME>
; Author: <NAME>, MML Systems Ltd., London
; Date: 20th June 1983
;
;--------------------... |
programs/oeis/277/A277808.asm | karttu/loda | 1 | 100357 | <reponame>karttu/loda<filename>programs/oeis/277/A277808.asm
; A277808: a(n) = number of iterations of map k -> A003188(A006068(k)/2) that are required (when starting from k = n) until k is an odious number.
; 0,0,1,0,1,2,0,0,1,2,0,3,0,0,1,0,1,2,0,3,0,0,1,4,0,0,1,0,1,2,0,0,1,2,0,3,0,0,1,4,0,0,1,0,1,2,0,5,0,0,1,0,1,2,0,... |
aspects/karabiner/files/bin/karabiner-kill.applescript | humpangle/dotfile-wincent | 0 | 3635 | <reponame>humpangle/dotfile-wincent<filename>aspects/karabiner/files/bin/karabiner-kill.applescript
-- Workaround to enable karabiner-kill to be called from a Karabiner shell_command:
-- https://github.com/tekezo/Karabiner-Elements/issues/1573
tell application "Terminal"
activate
do script "/bin/sh ~/bin/karabiner... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_528.asm | ljhsiun2/medusa | 9 | 94477 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_528.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rax
push %rbp
push %rdi
push %rdx
lea addresses_normal_ht+0x8c50, %r10
nop
nop
inc %r12
movl $0x61626364, (%r10)
nop
nop
nop
xor %rax, %rax
lea addresses_norma... |
NatTry.agda | divipp/agda-intro-prezi | 2 | 9984 | -- Long version, the final version is Nat.agda
module NatTry where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
one two three four : ℕ
one = suc zero
two = suc one
three = suc two
four = suc three
_+_ : ℕ → ℕ → ℕ
zero + b = b
suc a + b = suc (a + b)
data Bool : Set where
true : Bool
false : Bool
_≟_ : ℕ... |
Bve5_Parsing/ScenarioGrammar/ANTLR_SyntaxDefinitions/ScenarioGrammarParser.g4 | aoisupersix/IronyTest | 5 | 5470 | /*
* ScenarioGrammarのANTLR構文定義ファイルです
*/
parser grammar ScenarioGrammarParser;
options{
tokenVocab=ScenarioGrammarLexer;
}
root :
BVETS SCENARIO VERSION ( SELECT_ENCODE encoding ENCODE_END?)? statement* EOF
;
statement :
stateName=ROUTE PATH_EQUAL (weight_path (SECTION weight_path)*)? (INPUT_PATH_END | PATH_EN... |
Listas/00 - Assembly/ex04.asm | LFMP/ARQ1 | 2 | 17132 | <gh_stars>1-10
BITS 64
extern printf
section .data
fmt1 db "Somatorio = %d", 10, 0
section .text
global main
main:
mov rbp, rsp; for correct debugging
push 2
call somatorio
add rsp, 8
jmp end
somatorio:
push rbp
mov rbp, rsp
sub rsp,8
mov qword [RBP-8],1
mov qword [RBP-16],1 ; "i"
mov rax,0
m... |
oeis/142/A142316.asm | neoneye/loda-programs | 11 | 95547 | <reponame>neoneye/loda-programs<filename>oeis/142/A142316.asm
; A142316: Primes congruent to 8 mod 45.
; Submitted by <NAME>
; 53,233,503,593,683,773,863,953,1223,1493,1583,2213,2393,2663,2753,2843,3023,3203,3833,3923,4013,4283,4373,4463,4643,4733,5003,5273,5813,5903,6173,6263,6353,6803,6983,7253,7433,7523,7703,7793,78... |
oeis/054/A054479.asm | neoneye/loda-programs | 11 | 1579 | ; A054479: Number of sets of cycle graphs of 2n nodes where the 2-colored edges alternate colors.
; Submitted by <NAME>
; 1,0,6,120,6300,514080,62785800,10676746080,2413521910800,700039083744000,253445583029839200,112033456760809584000,59382041886244720843200,37175286835046004765120000,27139206193305890195912400000,228... |
programs/oeis/167/A167562.asm | neoneye/loda | 22 | 14106 | ; A167562: The fifth row of the ED2 array A167560.
; 120,480,1344,3072,6144,11160,18840,30024,45672,66864,94800,130800,176304,232872,302184,386040,486360,605184,744672,907104,1094880,1310520,1556664,1836072,2151624,2506320,2903280,3345744,3837072,4380744,4980360,5639640,6362424,7152672,8014464,8952000,9969600,11071704,... |
MuCalculus.g4 | LuukvH/ModelChecker | 0 | 5970 | grammar MuCalculus;
formulae : mfalse | mtrue | endrecursion | conjunction | disjunction | diamond | box | leastfixpoint | greatestfixpoint;
conjunction : '(' left '&&' right ')';
disjunction : '(' left '||' right ')';
diamond : '<' label '>' formulae;
box : '[' label ']' formulae;
leastfixpoint : 'mu' startrecursio... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/log10.asm | meesokim/z88dk | 0 | 7572 |
SECTION code_fp_math48
PUBLIC _log10
EXTERN cm48_sdcciy_log10
defc _log10 = cm48_sdcciy_log10
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_119.asm | ljhsiun2/medusa | 9 | 173677 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1286e, %r11
clflush (%r11)
nop
cmp %r12, %r12
mov $0x6162636465666768, %rax
movq %rax, %xmm0
movups %xmm0, (%r11)
inc %rax
lea addresses_UC_ht+0x12b2e, %rsi
lea addresses_UC_ht+0x13b2... |
programs/oeis/007/A007680.asm | neoneye/loda | 22 | 241545 | ; A007680: a(n) = (2n+1)*n!.
; 1,3,10,42,216,1320,9360,75600,685440,6894720,76204800,918086400,11975040000,168129561600,2528170444800,40537905408000,690452066304000,12449059983360000,236887827111936000,4744158915944448000,99748982335242240000,2196910513383505920000,50580032749992345600000,1215044786727593902080000,3040... |
src/config.ads | thindil/steamsky | 80 | 27282 | <reponame>thindil/steamsky
-- Copyright 2016-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, ... |
agda-stdlib/README/Data.agda | DreamLinuxer/popl21-artifact | 5 | 16073 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- An explanation about how data types are laid out in the standard
-- library.
------------------------------------------------------------------------
module README.Data where
-- The top-level folder `Data` cont... |
sound/sfxasm/40.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 172878 | 40_Header:
sHeaderInit ; Z80 offset is $C2D1
sHeaderPatch 40_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 40_FM5, $FC, $04
40_Patches:
; Patch $00
; $32
; $05, $02, $13, $31, $0B, $1C, $10, $0D
; $00, $00, $04, $00, $00, $00, $00, $0C
; $0F, $0F, $1F, $0F, $0B, $17, $0C, $80
spAlgorithm ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_56_506.asm | ljhsiun2/medusa | 9 | 100638 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rbx
lea addresses_UC_ht+0x1e3a1, %r12
nop
sub %r15, %r15
movb $0x61, (%r12)
xor $42716, %rbx
pop %rbx
pop %r15
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %rax
push %rcx
push %rdi
push... |
test/examples/string_sequences_test.adb | fintatarta/protypo | 0 | 1635 | with Ada.Text_IO; use Ada.Text_IO;
with Readable_Sequences.String_Sequences;
procedure String_Sequences_Test is
use Readable_Sequences.String_Sequences;
S : Sequence := Empty_Sequence;
A : constant String := "pippo pluto e paperino";
b : constant string := " al<NAME> e giacomo";
begin
S.Append (A);
... |
test/succeed/RecordInMutual.agda | asr/agda-kanso | 0 | 15322 | <filename>test/succeed/RecordInMutual.agda
-- Records are allowed in mutual blocks.
module RecordInMutual where
mutual
record A : Set where
field x : B
record B : Set where
field x : A
|
programs/oeis/317/A317527.asm | neoneye/loda | 22 | 88304 | ; A317527: Number of edges in the n-alternating group graph.
; 0,0,3,24,180,1440,12600,120960,1270080,14515200,179625600,2395008000,34248614400,523069747200,8499883392000,146459529216000,2667655710720000,51218989645824000,1033983353475072000,21896118073589760000,485363950631239680000,11240007277776076800000
trn $0,1
s... |
_build/dispatcher/jmp_ippsRSA_InitPrivateKeyType1_e9ce5264.asm | zyktrcn/ippcp | 1 | 246709 | <reponame>zyktrcn/ippcp<filename>_build/dispatcher/jmp_ippsRSA_InitPrivateKeyType1_e9ce5264.asm
extern m7_ippsRSA_InitPrivateKeyType1:function
extern n8_ippsRSA_InitPrivateKeyType1:function
extern y8_ippsRSA_InitPrivateKeyType1:function
extern e9_ippsRSA_InitPrivateKeyType1:function
extern l9_ippsRSA_InitPrivateKeyType... |
demo/joypad.asm | stoneface86/tbengine | 6 | 8888 | <reponame>stoneface86/tbengine
INCLUDE "hardware.inc"
SECTION "joypad", ROM0
debounce: MACRO
REPT 4 ; increase if debouncing occurs
ld a, [rP1]
ENDR
ENDM
; pressed: ~prev | current
; released: ~(~prev & current)
joypad_init::
push hl
ld a, $FF
ld h... |
oeis/070/A070825.asm | neoneye/loda-programs | 11 | 29700 | <gh_stars>10-100
; A070825: One half of product of first n+1 Lucas numbers A000032.
; Submitted by <NAME>
; 1,1,3,12,84,924,16632,482328,22669416,1722875616,211913700768,42170826452832,13579006117811904,7074662187380001984,5963940223961341672512,8134814465483270041306368,17953535525321576981163154176,641120753609233513... |
oeis/295/A295127.asm | neoneye/loda-programs | 11 | 245824 | ; A295127: Numerator of Sum_{d|n} mu(n/d)/d, where mu is the Möbius function A008683.
; Submitted by <NAME>
; 1,-1,-2,-1,-4,1,-6,-1,-2,2,-10,1,-12,3,8,-1,-16,1,-18,1,4,5,-22,1,-4,6,-2,3,-28,-4,-30,-1,20,8,24,1,-36,9,8,1,-40,-2,-42,5,8,11,-46,1,-6,2,32,3,-52,1,8,3,12,14,-58,-2,-60,15,4,-1,48,-10,-66,4,44,-12,-70,1,-72,1... |
private/windows/shell/accesory/paintbrs/qutil.asm | King0987654/windows2000 | 11 | 166285 | <filename>private/windows/shell/accesory/paintbrs/qutil.asm
;****************************Module*Header*******************************
; Copyright (c) 1987 - 1991 Microsoft Corporation *
;************************************************************************
title qutil.asm
;*****... |
asm/showtext/main.asm | BoKoIsMe/J1900_FreeBSD | 0 | 244387 | .286
.model small,stdcall
include showtext.inc
includelib showtext.lib
drawChar proto,location:WORD,char:BYTE,color:BYTE
.data
currentPosition COORD <0,0>
szString db "Welcom to the ASM world.",0dh,0ah,0
LENSTRING EQU $ - szString
.stack 200h
.code
.startup
push ds
pop es
mov ah,0002h
int 10... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb | caqg/linux-home | 0 | 10359 | <filename>.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_elisp_common.adb
-- Abstract :
--
-- See spec
--
-- Copyright (C) 2012, 2013, 2015, 2017 - 2019 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or
-- modify it under terms of the GNU General Public License as
--... |
src/main/fragment/mos6502-common/_deref_qvoc1=qvoc2_derefidx_vbuxx.asm | jbrandwood/kickc | 2 | 84587 | <gh_stars>1-10
lda {c2},x
sta {c1}
lda {c2}+1,x
sta {c1}+1 |
gcc-gcc-7_3_0-release/gcc/ada/a-cfdlli.ads | best08618/asylo | 7 | 30902 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
data/maps/objects/Route13.asm | opiter09/ASM-Machina | 1 | 14603 | Route13_Object:
db $43 ; border block
def_warps
def_signs
sign 15, 13, 11 ; Route13Text11
sign 33, 5, 12 ; Route13Text12
sign 31, 11, 13 ; Route13Text13
def_objects
object SPRITE_COOLTRAINER_M, 49, 10, STAY, RIGHT, 1, OPP_BIRD_KEEPER, 1
object SPRITE_COOLTRAINER_F, 48, 10, STAY, DOWN, 2, OPP_JR_TRAINER_F, ... |
bin/morning.applescript | Phixyn/dotfiles | 1 | 4282 | <filename>bin/morning.applescript
tell application "iTerm" to activate
tell application "System Events"
tell process "iTerm2"
click menu item "phix-dev-1" of menu of menu item "Restore Window Arrangement" of menu "Window" of menu bar 1
end tell
end tell
delay 1
-- Start internal wiki on detached Screen
tell ap... |
src/tcl.ads | thindil/tashy2 | 2 | 13052 | <filename>src/tcl.ads
-- Copyright (c) 2020-2021 <NAME> <<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
--
-- Unless require... |
programs/oeis/290/A290988.asm | neoneye/loda | 22 | 5881 | <reponame>neoneye/loda
; A290988: The arithmetic function v+-(n,3).
; 1,1,2,1,3,1,4,3,5,3,6,3,7,5,8,5,9,5,10,7,11,7,12,7,13,9,14,9,15,9,16,11,17,11,18,11,19,13,20,13,21,13,22,15,23,15,24,15,25,17,26,17,27,17,28,19,29,19,30,19,31,21,32,21,33,21,34,23,35
mov $2,$0
mod $0,2
mov $1,$2
mov $3,4
lpb $0
sub $0,1
div $1,6... |
src/main/fragment/mos6502-common/vbsaa=pbsc1_derefidx_vbuxx_plus_pbsc1_derefidx_vbuyy.asm | jbrandwood/kickc | 2 | 28299 | clc
lda {c1},x
adc {c1},y
|
src/compiling/ANTLR/grammar/Primaries.g4 | jecassis/VSCode-SystemVerilog | 75 | 5297 | <gh_stars>10-100
grammar Primaries;
import ExpressionLeftsideValues;
constant_primary : primary_literal
| ps_parameter_identifier constant_select
| specparam_identifier ( '[' constant_range_expression ']' )?
| genvar_identifier
| formal_port_identifier constant_select
| ( package_scope | class_scope )? enum_... |
1-base/lace/source/text/lace-text-utility.ads | charlie5/lace-alire | 1 | 16904 | <filename>1-base/lace/source/text/lace-text-utility.ads
package lace.Text.utility
--
-- Provides utility subprograms.
--
is
function replace (Self : in Text.item; Pattern : in String;
By : in String) return Text.item;
--
-- If the replacement exceed... |
OlderBasicILP/Indirect.agda | mietek/hilbert-gentzen | 29 | 4264 | <filename>OlderBasicILP/Indirect.agda
module OlderBasicILP.Indirect where
open import Common.Context public
-- Propositions of intuitionistic logic of proofs, without ∨, ⊥, or +.
infixr 10 _⦂_
infixl 9 _∧_
infixr 7 _▻_
data Ty (X : Set) : Set where
α_ : Atom → Ty X
_▻_ : Ty X → Ty X → Ty X
_⦂_ : X → Ty X → T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.