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 |
|---|---|---|---|---|
src/firmware-tests/Platform/Smps/EnableDisableSmpsMocks.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 26939 | <reponame>pete-restall/Cluck2Sesame-Prototype<gh_stars>1-10
#include "Platform.inc"
#include "TestDoubles.inc"
radix decimal
udata
global calledEnableSmpsCount
global calledEnableSmpsTrisc
global calledEnableSmpsHighPowerModeCount
global calledEnableSmpsHighPowerModeTrisc
global calledDisableSmpsCount
globa... |
examples/4_print_file/src/main.asm | AgileEhsan/libasm_io | 0 | 21533 | <reponame>AgileEhsan/libasm_io<gh_stars>0
;=================================================================
;
; Copyright (c) 2014, <NAME>
;
; All rights reserved.
;
; libasm_io is distributed under the following BSD 3-Clause License
;
; Redistribution and use in source and binary forms, with or without modification... |
Sources/Globe_3d/culler/globe_3d-culler.adb | ForYouEyesOnly/Space-Convoy | 1 | 2237 | <reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10
pragma Warnings (Off);
pragma Style_Checks (Off);
package body GLOBE_3D.Culler is
procedure Viewer_is (Self : in out Culler'Class; Now : p_Window)
is
begin
self.Viewer := Now.all'Access;
end;
function Viewer (Self : in Culler'Class) re... |
Variables/RotationMatrixVars.asm | ped7g/EliteNext | 0 | 173427 | ;-Rotation Matrix of Ship----------------------------------------------------------------------------------------------------------
; Rotation data is stored as lohi, but only 15 bits with 16th bit being a sign bit. Note this is NOT 2'c compliment
UBnkrotmatSidevX DW 0 ; INWK +21
UBnk... |
test/Succeed/Issue3248.agda | cruhland/agda | 1,989 | 2885 | -- Andreas, 2019-03-28, issue #3248, reported by guillaumebrunerie
{-# OPTIONS --sized-types --show-implicit #-}
-- {-# OPTIONS -v tc:10 #-}
-- {-# OPTIONS -v tc.term:20 #-}
-- {-# OPTIONS -v tc.conv.size:45 #-}
-- {-# OPTIONS -v tc.conv.coerce:45 #-}
-- {-# OPTIONS -v tc.term.args.target:45 #-}
{-# BUILTIN SIZEUNIV... |
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/55x_src/sqrtv.asm | HeroSizy/Sizy | 0 | 89835 | ;***********************************************************
; Version 2.40.00
;***********************************************************
; Note: a symbol "SI_BUGS" is used to make a work around for silicon
; 5510 version1.0. If you are going to use the code on 5510 vers... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_base_gsttypefindhelper_h.ads | persan/A-gst | 1 | 23675 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h;
limited with GStreamer.GST_Low_L... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1238.asm | ljhsiun2/medusa | 9 | 10173 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x3610, %rbp
nop
nop
cmp $53643, %rcx
mov $0x6162636465666768, %rdi
movq %rdi, (%rbp)
sub %rsi, %rsi
lea addresses_A_ht+0x6650, %r9
nop
and $28227, %rcx
mov (%r9), %ax
nop
nop
... |
arch/ARM/STM32/drivers/power_control_stm32f4/stm32-power_control.adb | rocher/Ada_Drivers_Library | 192 | 23411 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2017, AdaCore --
-- --
-- ... |
programs/oeis/029/A029744.asm | karttu/loda | 0 | 163717 | <gh_stars>0
; A029744: Numbers of the form 2^n or 3*2^n.
; 1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576,32768,49152,65536,98304,131072,196608,262144,393216,524288,786432,1048576,1572864,2097152,3145728,4194304,6291456,8388608,12582912,16777216,25165824,33... |
tests/src/ram_bd.adb | Fabien-Chouteau/littlefs-ada | 1 | 9733 | with Littlefs; use Littlefs;
with System.Storage_Elements; use System.Storage_Elements;
with Interfaces.C; use Interfaces.C;
with Interfaces; use Interfaces;
with System;
package body RAM_BD is
function Read (C : access constant LFS_Config;
Block : LFS_Block;
Off : LF... |
oeis/142/A142265.asm | neoneye/loda-programs | 11 | 5493 | <gh_stars>10-100
; A142265: Primes congruent to 16 mod 43.
; Submitted by <NAME>
; 59,317,661,919,1091,1607,1693,1951,2381,2467,2897,3413,3499,3671,3929,4273,4703,4789,5477,5563,5821,6079,6337,7283,7369,7541,8573,8831,9433,9949,10723,11239,11411,11497,11927,12959,13217,14249,14593,14851,15797,16141,16657,16829,17431,18... |
src/test_preflop.adb | Hamster-Furtif/JeremyPlusPlus | 0 | 16758 | with utils, read_preflop, ada.Text_IO, ada.Integer_Text_IO;
use utils, read_preflop, ada.Text_IO, ada.Integer_Text_IO;
with botIO; use botIO;
procedure test_preflop is
card1, card2 : t_card;
str : string(1..2);
lg : integer := 999999999;
begin
put_line("donnez votre premiere carte : ");
get_line(str,lg... |
audio/low_health_alarm.asm | opiter09/ASM-Machina | 1 | 105538 | Music_DoLowHealthAlarm::
ld a, [wLowHealthAlarm]
cp $ff
jr z, .disableAlarm
bit 7, a ;alarm enabled?
ret z ;nope
and $7f ;low 7 bits are the timer.
jr nz, .asm_21383 ;if timer > 0, play low tone.
call .playToneHi
ld a, 30 ;keep this tone for 30 frames.
jr .asm_21395 ;reset the timer.
.asm_21383
cp... |
programs/oeis/076/A076523.asm | neoneye/loda | 22 | 173465 | ; A076523: Maximal number of halving lines for 2n points in plane.
; 1,3,6,9,13,18,22,27,33,38,44,51,57
mov $3,$0
add $3,1
mov $6,$0
lpb $3
mov $0,$6
sub $3,1
sub $0,$3
mov $2,9
lpb $0
sub $0,3
pow $5,0
add $2,$5
mov $4,1
lpe
sub $0,6
add $0,$4
add $2,$0
mov $5,$2
sub $5,2
add $... |
PLC/PRI/PRI2020-Projeto/api-server/public/fileStore/producer@gmail.com/uploads/Resolucao_da_Ficha_de_GCS.zip/data/resolucao/gestao.g4 | luis1ribeiro/MEI---Majors-Degree | 1 | 3095 | /* 4. Gestao de Stock e Faturacao
4.1 Definicao Sintatica
Considere uma linguagem especifica para descrever Faturas.
Sabe-se que uma Fatura e composta por um cabecalho e um corpo, e este e composto por um ou mais movimentos.
No cabecalho deve aparecer o numero da Fatura, a I... |
Lab_04/Lab_4_Q2.asm | dthornton22/CPE325_FA20_UAH | 1 | 100093 | <reponame>dthornton22/CPE325_FA20_UAH<filename>Lab_04/Lab_4_Q2.asm
;-------------------------------------------------------------------------------------------------------
; File: Lab_4_Q2.asm
; Description: Performs addition and subtraction of single digit base 10 numbers
; Constraints: This program can only accept th... |
MSDOS/Virus.MSDOS.Unknown.cgagrafa.asm | fengjixuchui/Family | 3 | 29625 | <filename>MSDOS/Virus.MSDOS.Unknown.cgagrafa.asm
;
; grafix --- cgagrafa.asm
;
; stuff to plot points fast in 8086 assembler (BLEECH!!!)
;
; Written 4/87 by <NAME> (<EMAIL> or @citromeo.bitnet)
;
; Modified 5/29/87 by sss to allow for different memory models
;
title cgagrafa
include macros.ah
sseg
endss
g_oddoff e... |
source/casillero.ads | pdibez/mundo-aspiradora | 0 | 23762 | <gh_stars>0
with estado_casillero,direccion;
use estado_casillero,direccion;
package casillero is
type t_casillero is tagged record
estado : t_estado_casillero;
end record;
procedure set_estado(c : in out t_casillero;
e : in t_estado_casillero);
function get_estado(c: in t_... |
programs/oeis/287/A287579.asm | karttu/loda | 1 | 101946 | <filename>programs/oeis/287/A287579.asm
; A287579: Positions of 2 in A287576.
; 3,8,9,14,18,23,28,29,33,38,43,48,52,53,58,63,68,69,74,79,83,88,89,94,98,103,108,109,113,118,123,128,129,134,139,144,148,149,154,159,163,168,169,174,178,183,188,189,194,199,204,205,209,214,219,224,228,229,234,239,243,248,249,254,258,263,268,... |
tools/info_viewer/info_viewer_for_crp3.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 244028 | ; This Source Code Form is subject to the terms of the MIT
; hLicense. If a copy of the MPL was not distributed with
; this file, You can obtain one at https://github.com/aws/mit-0
; This is the info viewer for crack releases pack #3 by alx^bw.
; Never relesed.
FONTADR EQU #6000
ATRBUF EQU #7000
TXTBUF EQU #8700
... |
programs/oeis/241/A241521.asm | karttu/loda | 1 | 26082 | <gh_stars>1-10
; A241521: Numbers n such that n^2 == -1 (mod 97).
; 22,75,119,172,216,269,313,366,410,463,507,560,604,657,701,754,798,851,895,948,992,1045,1089,1142,1186,1239,1283,1336,1380,1433,1477,1530,1574,1627,1671,1724,1768,1821,1865,1918,1962,2015,2059,2112,2156,2209,2253,2306,2350,2403,2447,2500,2544,2597,2641,... |
nicolai/pseudotruncations/heptagon.agda | nicolaikraus/HoTT-Agda | 1 | 14187 | <gh_stars>1-10
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Unit
open import lib.types.Nat
open import lib.types.TLevel
open import lib.types.Pointed
open import lib.types.Sigma
open import lib.NType2
open import lib.types.PathSeq
open ... |
programs/oeis/010/A010844.asm | neoneye/loda | 22 | 246890 | ; A010844: a(n) = 2*n*a(n-1) + 1 with a(0) = 1.
; 1,3,13,79,633,6331,75973,1063623,17017969,306323443,6126468861,134782314943,3234775558633,84104164524459,2354916606684853,70647498200545591,2260719942417458913,76864478042193603043,2767121209518969709549,105150605961720848962863,4206024238468833958514521,176653018015691... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming6.adb | best08618/asylo | 7 | 2742 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-fdump-tree-original" }
package body Renaming6 is
function Get_I return Integer is
begin
return I;
end;
procedure Set_I (Val : Integer) is
begin
I := Val;
end;
function Get_J return Integer is
begin
return J;
end;
procedure Set_J ... |
day18-ada/src/calculate2.ads | xclemence/adventofcode2020 | 1 | 28953 | <filename>day18-ada/src/calculate2.ads
with Operation; use Operation;
package Calculate2 is
function Execute(Value: String;
Current_Index: in out Integer;
Priority_Mode: Boolean := False) return NaturalDouble;
end Calculate2;
|
test/fail/MetaOccursInItself.agda | asr/agda-kanso | 0 | 17292 |
module MetaOccursInItself where
data List (A : Set) : Set where
nil : List A
_::_ : A -> List A -> List A
data One : Set where one : One
postulate
f : (A : Set) -> (A -> List A) -> One
err : One
err = f _ (\x -> x)
|
oeis/090/A090249.asm | neoneye/loda-programs | 11 | 14381 | <filename>oeis/090/A090249.asm
; A090249: a(n) = 28a(n-1) - a(n-2), starting with a(0) = 2 and a(1) = 28.
; Submitted by <NAME>
; 2,28,782,21868,611522,17100748,478209422,13372763068,373959156482,10457483618428,292435582159502,8177738816847628,228684251289574082,6394981297291226668,178830792072864772622,500086719674292... |
programs/oeis/122/A122931.asm | jmorken/loda | 1 | 91041 | ; A122931: Row sums of triangular array A122930.
; 1,2,7,18,50,132,351,924,2431,6380,16732,43848,114869,300846,787815,2062830,5401054,14140940,37022755,96928920,253766591,664375032,1739365272,4553731728,11921847625,31211839802,81713718151,213929389674,560074572266,1466294523540,3838809316167,10050133939188,263115933334... |
配套代码/L008/L008A/008A.asm | zmrbak/ReverseAnalysis | 35 | 11233 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.23.28008.0
TITLE C:\Users\libit\source\repos\L008A\L008A\L008A.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG29959 DB 'Hello World!', 0aH, 00H
CONST ENDS
PUBLIC ??2@YAPAXIPAX@Z ; oper... |
bb-runtimes/examples/stm32f4-discovery/leds-mphone/mphone.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 26085 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
programs/oeis/010/A010965.asm | neoneye/loda | 22 | 18887 | ; A010965: a(n) = binomial(n,12).
; 1,13,91,455,1820,6188,18564,50388,125970,293930,646646,1352078,2704156,5200300,9657700,17383860,30421755,51895935,86493225,141120525,225792840,354817320,548354040,834451800,1251677700,1852482996,2707475148,3910797436,5586853480,7898654920,11058116888,15338678264,21090682613,287600217... |
libsrc/_DEVELOPMENT/target/yaz180/device/asci/z180/asm_asci0_flush_Rx.asm | Frodevan/z88dk | 640 | 240328 |
SECTION code_driver
SECTION code_driver_character_input
PUBLIC asm_asci0_flush_Rx
EXTERN asci0RxCount, asci0RxIn, asci0RxOut, asci0RxBuffer
asm_asci0_flush_Rx:
xor a
ld (asci0RxCount), a ; reset the Rx counter (set 0)
ld hl, asci0RxBuffer ; load Rx buf... |
Snippets/Sound Out To Headphones.applescript | rogues-gallery/applescript | 360 | 1967 | <reponame>rogues-gallery/applescript
tell application "System Preferences" to activate
tell application "System Events"
get properties
tell process "System Preferences"
click menu item "Sound" of menu "View" of menu bar 1
delay 2
set theRows to every row of table 1 of scroll area 1 of ¬
tab group 1 of window... |
programs/oeis/212/A212325.asm | karttu/loda | 1 | 16586 | <filename>programs/oeis/212/A212325.asm
; A212325: Prime-generating polynomial: n^2 + 3*n - 167.
; -167,-163,-157,-149,-139,-127,-113,-97,-79,-59,-37,-13,13,41,71,103,137,173,211,251,293,337,383,431,481,533,587,643,701,761,823,887,953,1021,1091,1163,1237,1313,1391,1471,1553,1637,1723,1811,1901,1993,2087,2183,2281,2381,... |
oeis/094/A094667.asm | neoneye/loda-programs | 11 | 164677 | ; A094667: Number of (s(0), s(1), ..., s(2n+1)) such that 0 < s(i) < 10 and |s(i) - s(i-1)| = 1 for i = 1,2,....,2n+1, s(0) = 1, s(2n+1) = 4.
; Submitted by <NAME>
; 1,4,14,48,165,572,2001,7056,25042,89320,319793,1148184,4131009,14885468,53697270,193862592,700312381,2530902676,9149426897,33083393640,119645675898,432748... |
src/FairSubtyping-IS.agda | boystrange/FairSubtypingAgda | 4 | 469 | <reponame>boystrange/FairSubtypingAgda
-- MIT License
-- Copyright (c) 2021 <NAME> and <NAME>
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without li... |
programs/oeis/100/A100810.asm | jmorken/loda | 1 | 82871 | <reponame>jmorken/loda
; A100810: a(n) = 0 if prime(n) + 2 = prime(n+1), otherwise 1.
; 1,0,0,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1
cal $0,100821 ; a(n) ... |
source/nodes/program-nodes-digits_constraints.adb | reznikmm/gela | 0 | 26886 | <filename>source/nodes/program-nodes-digits_constraints.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Digits_Constraints is
function Create
(Digits_Token : not null Prog... |
alloy4fun_models/trainstlt/models/2/5cvSyRo9P5DQTEQ67.als | Kaixi26/org.alloytools.alloy | 0 | 1035 | <gh_stars>0
open main
pred id5cvSyRo9P5DQTEQ67_prop3 {
always all t: Train | one tr: Track | always (t in pos.tr implies t' in pos.tr)
}
pred __repair { id5cvSyRo9P5DQTEQ67_prop3 }
check __repair { id5cvSyRo9P5DQTEQ67_prop3 <=> prop3o } |
Library/Kernel/Object/objectProcess.asm | steakknife/pcgeos | 504 | 87925 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Object
FILE: objProcess.asm
ROUTINES:
Name Description
---- -----------
GLB ProcessClass Superclass of all processes
REVISION HISTORY:... |
src/presets/allbosskpdr_menu.asm | idlechild/sm_practice_hack | 15 | 16457 | PresetsMenuAllbosskpdr:
dw #presets_goto_allbosskpdr_crateria
dw #presets_goto_allbosskpdr_brinstar
dw #presets_goto_allbosskpdr_upper_norfair
dw #presets_goto_allbosskpdr_wrecked_ship
dw #presets_goto_allbosskpdr_maridia
dw #presets_goto_allbosskpdr_upper_norfair_revisit
dw #presets_goto_al... |
SimpleAddition/SimpleAddition/Main.asm | ryancollins-dev/Assembly | 0 | 96272 | <reponame>ryancollins-dev/Assembly
.386
.model flat
.code
start PROC
mov eax,213
add eax,432
ret
start endp
end start |
programs/oeis/314/A314692.asm | karttu/loda | 0 | 162430 | ; A314692: Coordination sequence Gal.5.81.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,13,17,23,27,31,35,40,45,49,53,57,63,67,71,75,80,85,89,93,97,103,107,111,115,120,125,129,133,137,143,147,151,155,160,165,169,173,177,183... |
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0x84_notsx.log_21829_2910.asm | ljhsiun2/medusa | 9 | 23006 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_st_/i3-7100_9_0x84_notsx.log_21829_2910.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rdi
push %rsi
lea addresses_UC_ht+0x5390, %r9
add %rbp, %rbp
movw $0x6162, (%r9)
nop
nop
nop
add %r12, %r12
... |
libsrc/_DEVELOPMENT/compress/zx0/z80/asm_dzx0_turbo.asm | ahjelm/z88dk | 640 | 172022 | <gh_stars>100-1000
SECTION smc_compress
PUBLIC asm_dzx0_turbo
asm_dzx0_turbo:
INCLUDE "dzx0_turbo.asm"
|
projects/04/fill/Fill_alt.asm | SamFu1113/Nand2tetris | 2 | 241133 | // 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 screen,
// i.e. writes "black" in every p... |
oeis/000/A000312.asm | neoneye/loda-programs | 11 | 82304 | ; A000312: a(n) = n^n; number of labeled mappings from n points to themselves (endofunctions).
; 1,1,4,27,256,3125,46656,823543,16777216,387420489,10000000000,285311670611,8916100448256,302875106592253,11112006825558016,437893890380859375,18446744073709551616,827240261886336764177,39346408075296537575424,19784196556603... |
programs/oeis/293/A293064.asm | karttu/loda | 0 | 101713 | <filename>programs/oeis/293/A293064.asm
; A293064: Number of vertices of type B at level n of the hyperbolic Pascal pyramid PP_(4,5).
; 0,0,0,1,4,12,33,88,232,609,1596,4180,10945,28656,75024,196417,514228,1346268,3524577,9227464,24157816,63245985,165580140,433494436,1134903169,2971215072,7778742048,20365011073,53316291... |
kernel/arch/int_stubs.asm | NineSilver/Oxyb | 2 | 5162 | bits 64
section .text
%macro ISR_NAME 1
dq __isr_%1
%endmacro
%macro ISR_ERR 1
__isr_%1:
push qword %1
jmp __isr_common
%endmacro
%macro ISR_NOERR 1
__isr_%1:
push qword 0
push qword %1
jmp __isr_common
%endmacro
%macro pushaq 0
push rax
push rbx
push rcx
push rdx
push rsi
... |
Test/Basic/PrintRegister.asm | CharlesCarley/ToyVM | 1 | 94096 | main:
mov x0, 1
mov x1, 10
mov x2, 100
mov x3, 1000
mov x4, 10000
mov x5, 100000
mov x6, 1000000
mov x7, 10000000
mov x8, 100000000
mov x9, 1000000000
prgi
mov x0, 0
ret
|
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_firewall.g4 | sc68cal/batfish | 0 | 5392 | parser grammar Fortios_firewall;
options {
tokenVocab = FortiosLexer;
}
c_firewall: FIREWALL (
cf_address
| cf_addrgrp
| cf_policy
| cf_service
);
|
day23/day23.adb | thorstel/Advent-of-Code-2018 | 2 | 16313 | <filename>day23/day23.adb
with Ada.Text_IO; use Ada.Text_IO;
with Interfaces; use Interfaces;
with Ada.Containers.Vectors;
procedure Day23 is
type Coordinates is record
X : Integer_64;
Y : Integer_64;
Z : Integer_64;
end record;
function Manhattan_Distance (Pos1, Pos2 : Coordinates) return... |
kernel/src/util/font.asm | Ian-Moffett/OmegaOS | 0 | 24888 | global font_data
section .data
align 8
font_data: incbin "Omega/zap-light16.psf"
|
game_vblank.asm | adamsmasher/bustfree | 0 | 241521 | RSRESET
vramUpdate_Addr RW 1
vramUpdate_Data RB 1
vramUpdate_Padding RB 1
vramUpdate_SIZEOF RB 0
MAX_VRAM_UPDATES EQU 2
SECTION "GameVBlankRAM", WRAM0
VRAMUpdates:: DS vramUpdate_SIZEOF * MAX_VRAM_UPDATES
VRAMUpdateLen:: DS 1
StatusDirty:: DS 1
StatusBar:: D... |
source/web/tools/wsdl2ada/wsdl-parsers.adb | svn2github/matreshka | 24 | 24230 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1237.asm | ljhsiun2/medusa | 9 | 17995 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1237.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x10520, %rbx
nop
nop
and %r14, %r14
mov (%rbx), %dx
nop
nop
nop
nop
nop
add $15718, %r8
l... |
Cubical/Algebra/Group/Instances/Unit.agda | FernandoLarrain/cubical | 1 | 16912 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Instances.Unit where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Data.Unit renaming (Un... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2.log_1266_1136.asm | ljhsiun2/medusa | 9 | 95794 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd9b5, %rbp
nop
xor $53099, %r12
mov $0x6162636465666768, %r14
movq %r14, %xmm5
vmovups %ymm5, (%rbp)
nop
nop
and %r11, %r11
lea addresses_UC_ht+0x107b5, %rbx
nop
nop
nop
nop... |
src/Nat/Class.agda | iblech/agda-quotients | 1 | 11254 | module Nat.Class where
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
record Nat (ℕ : Set) : Set₁ where
field
zero : ℕ
succ : ℕ → ℕ
ind : (P : ℕ → Set) → P zero → (∀ {k} → P k → P (succ k)) → ∀ n → P n
_+_ : ℕ → ℕ → ℕ
+-zero : ∀ {n} → zero + n ≡ n
+-succ : ∀ {m n} → suc... |
src/Generics/Prelude.agda | flupe/generics | 11 | 1479 | <reponame>flupe/generics<gh_stars>10-100
{-# OPTIONS --safe --without-K #-}
module Generics.Prelude where
open import Function.Base public
open import Data.Product public hiding (map; uncurry; uncurry′; curry′)
open import Level public using (Setω; Level; _⊔_; Lift; lift)
... |
source/slim-messages-resp.ads | reznikmm/slimp | 0 | 26454 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with League.String_Vectors;
package Slim.Messages.RESP is
type RESP_Message is new Message with private;
not overriding fu... |
Cats/Category/Constructions/CCC.agda | alessio-b-zak/cats | 0 | 11939 | <filename>Cats/Category/Constructions/CCC.agda
module Cats.Category.Constructions.CCC where
open import Level
open import Cats.Category.Base
open import Cats.Category.Constructions.Exponential using
(HasExponentials)
open import Cats.Category.Constructions.Product using
(HasFiniteProducts)
record IsCCC {lo la l... |
example/ROS/V2/RosV2.als | chongliujlu/ColorfulAlloy | 0 | 2003 | <filename>example/ROS/V2/RosV2.als<gh_stars>0
module ROSArchitecturev2
open util/ordering[Time]
sig Time{}
abstract sig Topic {}
one sig negation_topic, sensor_data extends Topic{}
/* Each node subscribes and advertises some set of Topics */
/* Each node has an inbox and outbox, respectively representing the messa... |
ASM/ASM/main.asm | FrankZeng2000/Assemble-Program | 1 | 91750 | <gh_stars>1-10
.386
.model flat,stdcall
.stack 4096
option casemap:none
include .\header.inc
.data
endl EQU<0Dh,0Ah>
buffer BYTE BufSize DUP(?),0,0 ;输入暂存区
stdInHandle HANDLE ? ;输入句柄
stdOutHandle HANDLE ? ;输出句柄
bytesRead DWORD ? ;读取字节数
bytesWrite DWORD ? ;写入字节数
userName BYTE BufSize D... |
lab6.asm | olivamadrigal/64bit_addition_in_x86_assembly | 0 | 245707 | <reponame>olivamadrigal/64bit_addition_in_x86_assembly<filename>lab6.asm
TITLE Lab6 (Lab6.asm)
;// <NAME>
;// CIS21JA
;// <NAME>
;// Program adds two 64-bit hexadecimal values and prints the sum.
;// It uses the stack, registers, implements procedures and macros.
INCLUDE Irvine32.inc
;//----------------------------... |
engine.asm | enthusi/VBeat | 6 | 26609 | ;======================================================
;Licensed under the 3-Clause BSD License
;Copyright 2021, Martin 'enthusi' Wendt / PriorArt
;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
;
;1. Redistributions of sou... |
Data/Dyck/Sized.agda | oisdk/agda-playground | 6 | 16726 | <reponame>oisdk/agda-playground<gh_stars>1-10
module Data.Dyck.Sized where
open import Prelude
open import Data.Nat using (_+_)
open import Data.Vec.Iterated using (Vec; _∷_; []; foldlN; head; foldl′)
open import Cubical.Foundations.Prelude using (substRefl)
open import Cubical.Data.Sigma.Properties using (Σ≡Prop)
op... |
src/footer.asm | James-P-D/BrainfuckCompiler | 0 | 93404 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PROGRAM ENDS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
jmp exit ; All done!
getIOHandles: push STD_OUTPUT_HANDLE ; _In_ DWORD nStdHandle
call GetStdHandle ; https://docs.microsoft.co... |
programs/oeis/164/A164004.asm | neoneye/loda | 22 | 4424 | <gh_stars>10-100
; A164004: Zero together with row 4 of the array in A163280.
; 0,5,10,18,28,40,54,70,88,108,130,154,180,208,238,270,304,340,378,418,460,504,550,598,648,700,754,810,868,928,990,1054,1120,1188,1258,1330,1404,1480,1558,1638,1720,1804,1890,1978,2068,2160,2254,2350,2448,2548,2650,2754,2860,2968,3078,3190,33... |
src/System/IO/Transducers/Session.agda | ilya-fiveisky/agda-system-io | 10 | 15045 | open import Coinduction using ( ∞ ; ♯_ ; ♭ )
open import Data.Bool using ( Bool ; true ; false ; if_then_else_ )
open import Data.Empty using ( ⊥ )
open import Data.Maybe using ( Maybe ; just ; nothing )
open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ )
open import Data.Unit using ( ⊤ ; tt )
open import Data.Natural usi... |
src/smk-settings.adb | LionelDraghi/smk | 10 | 14540 | -- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache ... |
programs/oeis/212/A212698.asm | karttu/loda | 0 | 247912 | <reponame>karttu/loda
; A212698: Main transitions in systems of n particles with spin 3/2.
; 3,24,144,768,3840,18432,86016,393216,1769472,7864320,34603008,150994944,654311424,2818572288,12079595520,51539607552,219043332096,927712935936,3917010173952,16492674416640,69269232549888,290271069732864,1213860837064704,5066549... |
src/Util/Relation/Binary/Closure/SymmetricTransitive.agda | JLimperg/msc-thesis-code | 5 | 4596 | <reponame>JLimperg/msc-thesis-code<filename>src/Util/Relation/Binary/Closure/SymmetricTransitive.agda
{-# OPTIONS --without-K --safe #-}
module Util.Relation.Binary.Closure.SymmetricTransitive where
open import Relation.Binary using (Rel)
open import Util.Prelude
data SymTrans {α ρ} {A : Set α} (R : Rel A ρ) : Rel ... |
src/closerec.asm | DosWorld/zrdx | 12 | 104850 | ; This file is part of the ZRDX 0.50 project
; (C) 1998, <NAME>
Out1 MACRO n,n1
%OUT n&__&n1
ENDM
IRP S, <Text16, Data16, RelocR0, IText16, IData16, EText, EData, IEText, IEData, Text, IText, Data>
S segment
Out1 S, %($-XSegStart&S)
... |
Task/Hash-join/AppleScript/hash-join.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1358 | use framework "Foundation" -- Yosemite onwards, for record-handling functions
-- HASH JOIN -----------------------------------------------------------------
-- hashJoin :: [Record] -> [Record] -> String -> [Record]
on hashJoin(tblA, tblB, strJoin)
set {jA, jB} to splitOn("=", strJoin)
script instanceOfjB
... |
Bill_Cravener/griddemo/grid.asm | AlexRogalskiy/Masm | 0 | 174590 | ; ####################################################
; <NAME> 8/10/2003
; Grid a 32x32 pixel bitmap example
; ####################################################
.486
.model flat,stdcall
option casemap:none ; case sensitive
; ###############################################... |
editor.asm | Roduan-kareem-aldeen/asm-text-editor | 1 | 87308 | <reponame>Roduan-kareem-aldeen/asm-text-editor
.model tiny
.code
org 100h
program: ; Initalize the variables
mov curr_line, offset matrix
mov curr_char, 0
start:
;CAPTURE KEY.
mov ah, 0
int 16h
;EVALUATE KEY.
cmp al, 27 ; ESC
je fin
cmp ax, 4800h ; UP.
... |
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove_callee.asm | meesokim/z88dk | 0 | 246901 | <filename>libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove_callee.asm
; void *p_list_remove(p_list_t *list, void *item)
SECTION code_adt_p_list
PUBLIC p_list_remove_callee
p_list_remove_callee:
pop af
pop hl
pop bc
push af
INCLUDE "adt/p_list/z80/asm_p_list_remove.asm"
|
AdaCompiler/in/test0.adb | vasilev-dev/AdaCompiler | 0 | 9522 | <reponame>vasilev-dev/AdaCompiler
procedure Hello is
begin
null;
end Hello; |
libsrc/_DEVELOPMENT/string/z80/asm_strset.asm | meesokim/z88dk | 0 | 15374 | <gh_stars>0
; ===============================================================
; Jan 2015
; ===============================================================
;
; char* strset(char *s, int c)
;
; Fill the string with char c.
;
; ===============================================================
SECTION code_string
PUBLIC ... |
example/RISCV_Test/Programs/recursive_sum.asm | toebs88/SCAM | 3 | 83665 |
recursive_sum.elf: file format elf32-littleriscv
Disassembly of section .text:
00000000 <_start>:
0: 00900093 li ra,9
4: 10000f13 li t5,256
8: 02000fef jal t6,28 <FAB>
0000000c <HALT>:
c: 00000013 nop
10: 00000013 nop
14: 00000013 nop
... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_217.asm | ljhsiun2/medusa | 9 | 89980 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd5ec, %rsi
lea addresses_WC_ht+0x149ac, %rdi
nop
nop
nop
nop
nop
and %r12, %r12
mov $25, %rcx
rep movsq
nop
and %rsi, %rsi
lea addresses_D_ht+0xaaac, %r15
nop
nop
cmp %r14, ... |
libsrc/_DEVELOPMENT/arch/zx/bifrost_l/c/sccz80/BIFROSTL_findAttrH.asm | jpoikela/z88dk | 640 | 92362 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------
; unsigned char *BIFROSTL_findAttrH(unsigned int lin, unsigned int col)
SECT... |
kernel/x86/modes.asm | ssebs/xos | 15 | 177164 |
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
old_stack dd 0
bios_cr0 dd 0
bios_cr4 dd 0
kernel_cr0 dd 0
kernel_cr4 dd 0
; gdt:
; Global Descriptor Table
align 32
gdt:
; 0x00 -- null descriptor
dq 0
; 0x08 -- kernel code descriptor
dw 0xFFFF ; limit low
dw 0 ; base low
db 0 ; base middle... |
Ficheiros assembly (TP's e Testes)/ex2a.asm | pemesteves/mpcp-1718 | 0 | 242655 | <reponame>pemesteves/mpcp-1718<filename>Ficheiros assembly (TP's e Testes)/ex2a.asm<gh_stars>0
include mpcp.inc
;; declaracoes de dados (variaveis globais)
.data
bytearray SBYTE 10 DUP(1)
wordarray SWORD 10 DUP(0)
;; seccao de codigo principal
.code
main PROC C
mov ecx, LENGTHOF bytearray
mov edi, offset bytearr... |
programs/oeis/193/A193393.asm | jmorken/loda | 1 | 95578 | <gh_stars>1-10
; A193393: Wiener index of a benzenoid consisting of a zig-zag chain of n hexagons (s=13; see the Gutman et al. reference).
; 27,109,271,545,963,1557,2359,3401,4715,6333,8287,10609,13331,16485,20103,24217,28859,34061,39855,46273,53347,61109,69591,78825,88843,99677,111359,123921,137395,151813,167207,18360... |
test/Fail/Imports/Test.agda | cruhland/agda | 1,989 | 15312 | <gh_stars>1000+
module Imports.Test where
open import Common.Level
record Foo (ℓ : Level) : Set ℓ where
|
src/extended/util/cpu.asm | abxxbo/biboot | 4 | 97008 | ;; Not really full blown cpu operations
;; just a file for some CPU operations
_cpuid:
pushfd
pop eax
mov ecx, eax
xor eax, 1 << 21
push eax
popfd
pushfd
pop eax
push ecx
popfd
xor eax, ecx
jz _nocpuid
ret
_nocpuid:
hlt ;; No CPU ID support
_longmode:
mov eax, 0x80000001
cpuid... |
common/arcus-protoc/src/main/antlr/com/iris/protoc/parser/ProtocParser.g4 | pupper68k/arcusplatform | 0 | 5538 | parser grammar ProtocParser;
options {
tokenVocab = ProtocLexer;
}
opts : OPTIONS LBRACE opt_expr* RBRACE ;
opt_expr : ID EQ STRING SEMI ;
type : PRIMITIVE_TYPE | ID | type LBRACKET RBRACKET | type LBRACKET value RBRACKET;
field : constant | type ID SIZE? ENCODING? DECODING? RANDOM? (WHEN | SEMI) ;
value : INT ... |
t1001.asm | zhangyuesai/8086-asm-learning-code | 1 | 179289 | <filename>t1001.asm
assume cs:code
stack segment
db 16 dup (0)
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov sp,16
mov ax,1000h
push ax
mov ax,0000h
push ax
retf
code ends
end start |
echo.asm | joeofportland/project4final | 0 | 163370 |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... |
arm_32bit/readFile.asm | japkettu/shellcode | 0 | 88536 | <filename>arm_32bit/readFile.asm
.section .text
.global _start
_start:
@ thumbmode
.code 32
add r6, pc, #1
bx r6
.code 16
@ uid_t geteuid(void)
@ r7: 49
mov r7, #49 @ syscall number 49 (geteuid)
svc 1 @ execute syscall (no null bytes)
@ int setreuid(uid_t ruid, uid_t euid)
mov r1, r0
mov r... |
elan520-mmcr.ads | Jellix/elan520 | 0 | 2762 | <reponame>Jellix/elan520<filename>elan520-mmcr.ads
------------------------------------------------------------------------
-- Copyright (C) 2004-2020 by <<EMAIL>> --
-- --
-- This work is free. You can redistribute it and/or modify it u... |
src/asis/asis-elements.adb | My-Colaborations/dynamo | 15 | 11255 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-create_func.ads | charlie5/lace | 20 | 19145 | with impact.d3.collision.Algorithm,
impact.d3.Object;
with impact.d3.Dispatcher;
with impact.d3.Collision.Algorithm;
package impact.d3.Collision.create_Func
is
type Item is abstract tagged -- Used by the impact.d3.Dispatcher.collision to register and create instances for impact.d3.collision.Algorithm
... |
Library/Kernel/Thread/threadException.asm | steakknife/pcgeos | 504 | 13572 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel/Thread -- exception handling
FILE: threadException.asm
AUTHOR: <NAME>, Jun 30, 1990
ROUTINES:
... |
EmbellishForXcode.app/Contents/Resources/Embellish.scpt | albebaubles/EmbellishForXcode | 0 | 3979 | <reponame>albebaubles/EmbellishForXcode<filename>EmbellishForXcode.app/Contents/Resources/Embellish.scpt
use scripting additions
use framework "Foundation"
on insert()
set insertText to the text returned of (display dialog "Enter the text to Insert" with title "Embellish" default answer "") as string
return insertTe... |
programs/oeis/168/A168014.asm | neoneye/loda | 22 | 4009 | <filename>programs/oeis/168/A168014.asm
; A168014: Sum of all parts of all partitions of n into equal parts that do not contain 1 as a part.
; 0,0,2,3,8,5,18,7,24,18,30,11,60,13,42,45,64,17,90,19,100,63,66,23,168,50,78,81,140,29,210,31,160,99,102,105,288,37,114,117,280,41,294,43,220,225,138,47,432,98,250,153,260,53,378... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1639.asm | ljhsiun2/medusa | 9 | 82284 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xaee1, %r8
nop
nop
add %rbx, %rbx
movl $0x61626364, (%r8)
nop
nop
nop
nop
nop
cmp $60617, %r11
lea addresses_A_ht+0x10e1f, %r12
nop
nop
nop
nop
and $41632, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.