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 |
|---|---|---|---|---|
Data/ships/TransportType10.asm | TinfoilAsteroid/EliteNext | 9 | 90313 | <filename>Data/ships/TransportType10.asm
TransportType10: DB $00
DW $09C4
DW TransportType10Edges
DB TransportType10EdgesSize
DB $30, $1A
DB TransportType10VertSize /6
DB ... |
Frimfaxi/Frimfaxi_1/src/boot.asm | Ta-rai-san/FrimfaxiProject | 0 | 80256 | ;-------------------------------------------------------------------------------
;Name : Boot Loader
;Author : Taraisan
;Description : first loading
;-------------------------------------------------------------------------------
[BITS 16]
ORG 0x7C00
;====================================================================... |
test/hPropInvestigations.agda | mchristianl/synthetic-reals | 3 | 8780 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
module hPropInvestigations where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
private
variable
ℓ ℓ' ℓ'' : Level
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-... |
Sort.agda | amal029/agda-tutorial-dybjer | 1 | 7835 | module Sort where
open import Sec4
import Sec2
postulate _≤_ : {A : Set} → A → A → Prop
postulate tot-list : {A : Set} → (a b : A) → (a ≤ b) ∨ (b ≤ a)
postulate trans-list : {A : Set} → (a b c : A) → (a ≤ b) → (b ≤ c) → (a ≤ c)
-- XXX: Definition of a list
data List (A : Set) : Set where
Nil : List A... |
programs/oeis/132/A132433.asm | karttu/loda | 1 | 83352 | <reponame>karttu/loda
; A132433: a(1) = 2; for n>=2, a(n) = 8*a(n-1) + 1.
; 2,17,137,1097,8777,70217,561737,4493897,35951177,287609417,2300875337,18407002697,147256021577,1178048172617,9424385380937,75395083047497,603160664379977,4825285315039817
mov $1,8
pow $1,$0
div $1,7
mul $1,15
add $1,2
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_1100.asm | ljhsiun2/medusa | 9 | 162190 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x33e5, %rsi
lea addresses_normal_ht+0xdd73, %rdi
sub $51600, %rax
mov $41, %rcx
rep movsq
nop
nop
xor $24103, %r12
lea addresses_WT_ht+0x1ddd7, %r13
nop
nop
nop
nop
and $30421,... |
MIPS/MIPS_ASM/00_multiply.asm | mriosrivas/HW-course-material- | 1 | 89201 | .text
.globl main
main:
addi $s0, $0, 35 # $s0 = 0 + 4 = 4
addi $s1, $0, 17 # $s1 = 0 + 1 = 1
mult $s1, $s0
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_443.asm | ljhsiun2/medusa | 9 | 90055 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c15, %rdi
add $25754, %r14
mov $0x6162636465666768, %rdx
movq %rdx, %xmm1
vmovups %ymm1, (%rdi)
nop
inc %rbx
lea addresses_D_ht+0xa3b5, %r15
nop
nop
and %r10, %r10
movb $0x... |
Parametric/Denotation/CachingMValue.agda | inc-lc/ilc-agda | 10 | 12574 | ------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Values for caching evaluation of MTerm
------------------------------------------------------------------------
import Parametric.Syntax.Type as Type
import Parametric.Syntax.MType as MType
import Parametric.Denota... |
oeis/092/A092403.asm | neoneye/loda-programs | 22 | 102644 | ; A092403: a(n) = sigma(n) + sigma(n+1).
; 4,7,11,13,18,20,23,28,31,30,40,42,38,48,55,49,57,59,62,74,68,60,84,91,73,82,96,86,102,104,95,111,102,102,139,129,98,116,146,132,138,140,128,162,150,120,172,181,150,165,170,152,174,192,192,200,170,150,228,230
mov $2,$0
mov $4,2
lpb $4
sub $4,1
add $0,$4
mov $5,$0
sub $... |
programs/oeis/059/A059989.asm | neoneye/loda | 22 | 163450 | <reponame>neoneye/loda
; A059989: Numbers n such that 3*n+1 and 4*n+1 are both squares.
; 0,56,10920,2118480,410974256,79726887240,15466605150360,3000441672282656,582070217817684960,112918621814958599640,21905630561884150645256,4249579410383710266580080,824396499983877907565890320,159928671417461930357516142056,3102533... |
oeis/073/A073254.asm | neoneye/loda-programs | 11 | 2741 | ; A073254: Array read by antidiagonals, A(n,k) = n^2 + n*k + k^2.
; Submitted by <NAME>
; 0,1,1,4,3,4,9,7,7,9,16,13,12,13,16,25,21,19,19,21,25,36,31,28,27,28,31,36,49,43,39,37,37,39,43,49,64,57,52,49,48,49,52,57,64,81,73,67,63,61,61,63,67,73,81,100,91,84,79,76,75,76,79,84,91,100,121,111,103,97,93,91,91,93,97,103,111,12... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr19_pkg.adb | best08618/asylo | 7 | 29693 | package body Aggr19_Pkg is
procedure Proc (Pool : in out Rec5) is
begin
Pool.Ent := (Kind => Two, Node => Pool.Ent.Node, I => 0);
end;
end ;
|
source/program_structure/adam-library_unit-a_body.ads | charlie5/aIDE | 3 | 2119 | <reponame>charlie5/aIDE<gh_stars>1-10
with
Ada.Containers.Vectors,
Ada.Streams;
private
with
AdaM.subprogram_Body,
AdaM.package_Body;
package AdaM.library_Unit.a_body
is
type Item is new library_Unit.item with private;
-- View
--
type View is access all Item'Class;
procedure Vi... |
programs/oeis/020/A020878.asm | neoneye/loda | 22 | 1109 | ; A020878: Number of maximum matchings in the n-Moebius ladder M_n.
; 2,3,3,6,7,13,18,31,47,78,123,201,322,523,843,1366,2207,3573,5778,9351,15127,24478,39603,64081,103682,167763,271443,439206,710647,1149853,1860498,3010351,4870847,7881198,12752043,20633241,33385282,54018523,87403803,141422326,228826127,370248453,599074... |
courses/spark_for_ada_programmers/labs/source/990_spark_example_project/string_fixed.ads | AdaCore/training_material | 15 | 19896 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/l/z80/long/fast/l_fast_lsr_dehl.asm | jpoikela/z88dk | 640 | 85560 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_l
PUBLIC l_fast_lsr_dehl
EXTERN l0_fast_lsr_hl
l_fast_lsr_dehl:
; logical shift right 32-bit unsigned long
;
; enter : dehl = 32-bit number
; a = shift amount
;
; exit : dehl = dehl >> a
;
; uses : af, b, de, hl
or ... |
src/test/ref/pointer-void-3.asm | jbrandwood/kickc | 2 | 161606 | // Test void pointer - issues when assigning returns from malloc()
// Commodore 64 PRG executable file
.file [name="pointer-void-3.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]... |
data/FF1a_Randomizer_Base/Individual_Patches/Encounter Toggle Src/Encounter Check - New.asm | nic0lette/ffr-hmsj | 1 | 96540 | <gh_stars>1-10
@Does a check based on number of steps taken + RNG to see if you get an encounter this step
@Depending on your options byte, will load from one of two threshold sets or disable encounters
.thumb
push {r4,r5,r14}
mov r5,r1 @r5 = Area's Encounter Rate per step table
ldr r1,StepCounter... |
src/ada-core/src/linted-process.ads | mstewartgallus/linted | 0 | 19126 | <gh_stars>0
-- Copyright 2016,2017 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or a... |
constants.asm | manuelmartinezbosch/testing-gb | 0 | 8618 | INCLUDE "macros.asm"
INCLUDE "constants/hardware.inc"
INCLUDE "constants/hardware_constants.asm"
INCLUDE "constants/misc_constants.asm"
INCLUDE "constants/gfx_constants.asm"
|
tests/sample.asm | tonypdmtr/emu6809 | 1 | 12994 | **************************************************************
* Programmer: <NAME> <<EMAIL>> *
* Program : SAMPLE *
* Includes : Nothing *
* Links : Nothing *
* Created : March 22,... |
Applications/Finder/make/make new file/make new file with properties/test.applescript | looking-for-a-job/applescript-examples | 1 | 363 | #!/usr/bin/osascript
tell application "Finder"
make new file at desktop with properties {name:"pic.jpg", creator type:"8BIM", comment:"Hi!"}
end tell |
oeis/015/A015581.asm | neoneye/loda-programs | 11 | 104585 | ; A015581: a(n) = 9*a(n-1) + 5*a(n-2).
; Submitted by <NAME>(s1)
; 0,1,9,86,819,7801,74304,707741,6741189,64209406,611590599,5825362421,55486214784,528502745161,5033955780369,47948115749126,456702820643979,4350065964541441,41434107784092864,394657299879542981,3759086237836351149,35805062639924875246,3410409949485056329... |
enemy.asm | mariahassan54/Super-Mario-Game-in-Assembly-Language | 0 | 102401 | .model medium, stdcall
.stack 120h
.data
enemySkin DB 6d
Eclothes1 byte 00d
Eclothes2 byte 15d
.code
drawEnemy proc x:word, y:word
push AX
push BX
push CX
push DX
push SI
push DI
mov AX, @data
mov DS, AX
mov CX, x
mov DX, y
push C... |
tests/assembly/LDY.asm | danecreekphotography/6502ts | 0 | 244657 | <reponame>danecreekphotography/6502ts<filename>tests/assembly/LDY.asm
; Verifies LDY with all applicable addressing modes
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.segment "ZEROPAGE"
; Used for zero page address mode testing
zp:
.byte $00 ; Padding so remaining bytes can be access... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45271a.ada | best08618/asylo | 7 | 12740 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45271a.ada
-- C45271A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshr_cls.asm | jpoikela/z88dk | 38 | 17822 | <reponame>jpoikela/z88dk<gh_stars>10-100
; void tshr_cls(uchar ink)
SECTION code_clib
SECTION code_arch
PUBLIC tshr_cls
EXTERN asm_tshr_cls
defc tshr_cls = asm_tshr_cls
|
alloy4fun_models/trashltl/models/6/eyGu5DYCrnk58G2fJ.als | Kaixi26/org.alloytools.alloy | 0 | 455 | open main
pred ideyGu5DYCrnk58G2fJ_prop7 {
always some Protected
}
pred __repair { ideyGu5DYCrnk58G2fJ_prop7 }
check __repair { ideyGu5DYCrnk58G2fJ_prop7 <=> prop7o } |
libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/qsort_callee.asm | meesokim/z88dk | 0 | 90480 |
; void qsort_callee(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *))
SECTION code_stdlib
PUBLIC _qsort_callee, l0_qsort_callee
EXTERN asm_qsort
_qsort_callee:
pop af
pop bc
pop hl
pop de
exx
pop bc
push af
l0_qsort_callee:
push bc
exx
ex (sp)... |
source/asis/asis-gela-overloads-attr.adb | faelys/gela-asis | 4 | 10890 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
programs/oeis/162/A162609.asm | neoneye/loda | 22 | 15798 | <filename>programs/oeis/162/A162609.asm
; A162609: Triangle read by rows in which row n lists n terms, starting with 1, with gaps = n-2 between successive terms.
; 1,1,1,1,2,3,1,3,5,7,1,4,7,10,13,1,5,9,13,17,21,1,6,11,16,21,26,31,1,7,13,19,25,31,37,43,1,8,15,22,29,36,43,50,57,1,9,17,25,33,41,49,57,65,73,1,10,19,28,37,4... |
oeis/106/A106143.asm | neoneye/loda-programs | 11 | 90580 | ; A106143: Semiprimes (mod 7).
; Submitted by <NAME>
; 4,6,2,3,0,1,0,1,4,5,5,6,0,3,4,4,0,2,6,1,2,6,2,6,4,0,5,1,2,3,0,2,3,4,1,6,3,6,0,2,3,4,3,0,1,1,2,3,5,6,1,4,5,0,5,1,2,3,1,3,5,5,5,6,0,2,3,6,3,4,5,0,1,2,4,2,4,6,2,4,1,2,0,3,6,1,1,5,0,2,4,1,4,5,0,1,2,4,1,6
seq $0,1358 ; Semiprimes (or biprimes): products of two primes.
... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_1552_1109.asm | ljhsiun2/medusa | 9 | 246385 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r8
push %r9
push %rax
push %rbx
// Store
lea addresses_PSE+0x1f531, %rax
sub $6609, %r13
mov $0x5152535455565758, %rbx
movq %rbx, (%rax)
nop
nop
xor $27463, %r10
// Load
mov $0x4e86aa0000000f... |
kernel/vars/strings.asm | gniuk/BOS | 0 | 19334 | <gh_stars>0
;----------------------------------------------------------;
; BOS 0.05 <NAME>, 2004-2015. ;
;----------------------------------------------------------;
; ;
; English strings used in BOS. ;
; ... |
programs/oeis/118/A118518.asm | neoneye/loda | 22 | 93126 | <filename>programs/oeis/118/A118518.asm
; A118518: Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_2. This reaches a cycle of length 6 in 3 steps.
; 2,5,8,11,14,44,47,77,80,11,14,44,47,77,80,11,14,44,47,77,80,11,14,44,47,77,80,11,14,44,47,77,80,11,14,44,47,77,80,11,14,... |
scripts/spotify.scpt | sh0w98/dotfiles | 33 | 4060 | <filename>scripts/spotify.scpt<gh_stars>10-100
# https://github.com/simonsmith/dotfiles
if application "Spotify" is running then
tell application "Spotify"
set theName to name of the current track
set theArtist to artist of the current track
set theAlbum to album of the current track
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2023_177.asm | ljhsiun2/medusa | 9 | 6166 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x156c1, %rsi
lea addresses_UC_ht+0x16fc1, %rdi
nop
and $4948, %r9
mov $84, %rcx
rep movsb
nop
nop
nop
nop
nop
and %r12, %r12
lea addresses_UC_ht+0x138c1, %rsi
lea addresses_D_h... |
applescript.scpt | AliMD/happy-new-year | 2 | 3137 | display dialog "Happy New Year 1396"
|
pentesting/execve/execve.nasm | karng87/nasm_game | 0 | 24466 | ;; python
;; import binascii
;; shell = b'/bin//sh'
;; binascii.hexlify(shell[::-1])
;; 68732f2f6e69622f
section .text
global main
main:
;; execve(const char *cmd, char const* v[], char const* e[])
;; rax(rdi, rsi, rdx)
;; rax = 59
;; rsi = *cmd
... |
oeis/061/A061319.asm | neoneye/loda-programs | 11 | 15904 | ; A061319: Column 4 of A061315.
; Submitted by <NAME>
; 0,1,10,76,430,1870,6601,19810,52326,124785,273790,560626,1083160,1991626,3509065,5957260,9789076,15628185,24317226,36975520,55067530,80483326,115632385,163552126,228032650,313759225,426474126,573159510
add $0,1
bin $0,2
add $0,1
pow $0,2
add $0,4
bin $0,2
div $0,... |
programs/oeis/241/A241577.asm | neoneye/loda | 22 | 2716 | ; A241577: n^3 + 4*n^2 - 5*n + 1.
; 1,1,15,49,109,201,331,505,729,1009,1351,1761,2245,2809,3459,4201,5041,5985,7039,8209,9501,10921,12475,14169,16009,18001,20151,22465,24949,27609,30451,33481,36705,40129,43759,47601,51661,55945,60459,65209,70201,75441,80935,86689,92709,99001,105571,112425,119569,127009,134751,142801,15... |
src/pp/block5/cc/antlr/Building.g4 | Pieterjaninfo/PP | 0 | 4958 | <reponame>Pieterjaninfo/PP
grammar Building;
//@header{package pp.block5.cc.antlr;}
building: ID COLON floor+;
floor: FLOOR (LSQ room+ RSQ)?;
room: ROOM;
LSQ: '[';
RSQ: ']';
COLON: ':';
SEMI: ';';
fragment DIGIT: [0-9];
fragment LETTER: [a-zA-Z];
fragment NUMBER: DIGIT+;
ROOM: 'r' NUMBER;
FLOOR: 'f' NUMBER;
ID:... |
tests/devices/longptr/org.asm | fengjixuchui/sjasmplus | 220 | 16638 | OUTPUT "org.bin"
DEVICE NONE
; no errors/warnings expected because of the --longptr option
ORG $FFFF
longptr1: DB 'A'
longptr2: DB 'B'
longptr3: DB 'C'
DEVICE ZXSPECTRUM48
; the --longptr should NOT affect actual devices => errors will be reported
ORG $FFFF
devbyte1: ... |
source/amf/mof/cmof/amf-internals-cmof_operations.adb | svn2github/matreshka | 24 | 14764 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
packages/query/src/loader/sql/grammar/SQLParser.g4 | danvk/pgtyped | 0 | 4244 | parser grammar SQLParser;
options { tokenVocab = SQLLexer; }
input
: ignoredComment* query+ EOF
;
query
: queryDef statement
;
queryDef: OPEN_COMMENT nameTag paramTag* CLOSE_COMMENT;
ignoredComment
: OPEN_COMMENT (~CLOSE_COMMENT)* CLOSE_COMMENT;
statement
: statementBody EOF_STATEMENT;
st... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1004a.ada | best08618/asylo | 7 | 13711 | <gh_stars>1-10
-- CC1004A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.... |
asm/kernel/basic/basic.asm | majacQ/retroputer | 58 | 163324 | ########################################
#
# Retroputer Kernel : BASIC : Core
#
########################################
.namespace basic {
.import "./constants.asm"
.segment brodata kmemmap.basic.rodata-start .append {
###############################################################################
#
# Welco... |
Task/Mutual-recursion/Ada/mutual-recursion-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 11223 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_Io; use Ada.Text_Io;
procedure Mutual_Recursion is
function M(N: Natural) return Natural;
function F(N: Natural) return Natural;
function M(N: Natural) return Natural is
(if N = 0 then 0 else N – F(M(N–1)));
function F(N: Natural) return Natura... |
tests/tests/device/class_hid/main.adb | JeremyGrosser/usb_embedded | 0 | 12039 | <gh_stars>0
-- This test is check control data out with a fake class request
with USB_Testing; use USB_Testing;
with USB_Testing.UDC_Stub; use USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with HAL; use HAL;
with Interfaces; use Interfaces;
with USB; use USB;
with USB.Device; ... |
Stages/Grammar/CdeltaParser.g4 | sungaila/CdeltaLegacy | 1 | 1809 | parser grammar CdeltaParser;
options { tokenVocab=CdeltaLexer; }
// PARSER RULES
codeFile : preAutomatonCode automatonDefinition postAutomatonCode EOF;
preAutomatonCode : undefined;
postAutomatonCode : undefined;
automatonDefinition : accessModifier? AUTOMATON (LESS_THAN automatonDataType GREATER_THAN)? IDENTIFI... |
Transynther/x86/_processed/NONE/_zr_xt_/i7-8650U_0xd2_notsx.log_522_743.asm | ljhsiun2/medusa | 9 | 88397 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1b391, %rsi
lea addresses_WT_ht+0x15df1, %rdi
nop
nop
nop
nop
cmp %r14, %r14
mov $91, %rcx
rep movsw
nop
nop
nop
nop
nop
xor %r14, %r14
lea address... |
asm-step-by-step/src/template.asm | jsanders/work-throughs | 5 | 93823 | <gh_stars>1-10
; Template for playing around with stuff easily
SECTION .bss
SECTION .data
SECTION .text ; Code section
global _start ; Entry point for ld
_start:
; Stuff begins
; Stuff ends
mov eax, 1 ; `exit` syscall
mov ebx, 0 ; Exit code 0
int 0x80 ; Exit
|
programs/oeis/224/A224134.asm | jmorken/loda | 1 | 14397 | <gh_stars>1-10
; A224134: Number of 3 X n 0..1 arrays with rows nondecreasing and antidiagonals unimodal.
; 8,27,58,106,175,269,392,548,741,975,1254,1582,1963,2401,2900,3464,4097,4803,5586,6450,7399,8437,9568,10796,12125,13559,15102,16758,18531,20425,22444,24592,26873,29291,31850,34554,37407,40413,43576,46900,50389,540... |
programs/oeis/309/A309758.asm | neoneye/loda | 22 | 241835 | <gh_stars>10-100
; A309758: Numbers that are sums of consecutive powers of 3.
; 1,3,4,9,12,13,27,36,39,40,81,108,117,120,121,243,324,351,360,363,364,729,972,1053,1080,1089,1092,1093,2187,2916,3159,3240,3267,3276,3279,3280,6561,8748,9477,9720,9801,9828,9837,9840,9841,19683,26244,28431,29160,29403,29484,29511,29520,29523... |
minfire/minfire.asm | xeleh/sizecoding | 3 | 95055 | ; minfire
; a good looking fire effect in 64 bytes!
; coded by xeleh
; 17/01/2022
org 100h
section .text
; constants
width equ 320 ; screen width
timer equ 46ch ; bios timer
; set screen mode and palette
mov a... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a24b.ada | best08618/asylo | 7 | 13632 | -- C54A24B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
libxwidget/src/gbutton.asm | ssebs/xos | 15 | 91039 |
;; xOS -- libxwidget 1
;; Copyright (c) 2017 by <NAME>.
use32
;
; typedef struct gbutton_component
; {
; u8 id; // XWIDGET_CPNT_GBUTTON
; u32 text;
; u16 x;
; u16 y;
; u16 width;
; u16 height;
; u16 end_x;
; u16 end_y;
; u32 fg;
; u32 bg;
; u8 reserved[231];
; }
;
GBUTTON_TEXT = 0x01
GBUTTON_X = 0x05
GBUTTON_Y... |
src/model/jason-tickets-models.ads | stcarrez/jason | 2 | 10999 | -----------------------------------------------------------------------
-- Jason.Tickets.Models -- Jason.Tickets.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https://ad... |
SpaceShooter/LibMath.asm | DioMuller/c64 | 5 | 84393 | <filename>SpaceShooter/LibMath.asm
;===============================================================================
; Macros/Subroutines
defm LIBMATH_ABS_AA ; /1 = Number (Address)
; /2 = Result (Address)
lda /1
bpl @positive
eor #$FF ; invert the bits
... |
programs/oeis/164/A164096.asm | karttu/loda | 0 | 5289 | ; A164096: Partial sums of A164095.
; 5,11,21,33,53,77,117,165,245,341,501,693,1013,1397,2037,2805,4085,5621,8181,11253,16373,22517,32757,45045,65525,90101,131061,180213,262133,360437,524277,720885,1048565,1441781,2097141,2883573,4194293,5767157,8388597,11534325,16777205,23068661,33554421,46137333,67108853,92274677,134... |
cc3df4revo/cfg/disco/config.ads | meowthsli/veriflight_boards | 1 | 20109 | with STM32.GPIO; use STM32.GPIO;
with STM32.Device; use STM32.Device;
with STM32.SPI; use STM32.SPI;
package Config is
SIGNAL_LED : GPIO_Point renames PD13; -- red led
SPI_Accel_Port : SPI_Port renames STM32.Device.SPI_1;
SCLK : GPIO_Point renames STM32.Device.PA5;
MISO : GPIO_Point renames STM32.Device.... |
OmniFocus/CompleteTaskInTyme/CompleteTaskInTyme.scpt | zdong1995/OmniFocus-Tyme-Script | 30 | 2712 | (*
Complete current selected task in OmniFocus and complete the task with same name in Tyme .
Then update the task name with a pair of time: real spent time / planned time.
Copyright © 2020 <NAME>
Licensed under MIT License
*)
tell application "OmniFocus"
tell front window
set selectedTree to selected trees of ... |
libsrc/_DEVELOPMENT/drivers/terminal/console_01/input/console_01_input_terminal.asm | teknoplop/z88dk | 8 | 18169 | <reponame>teknoplop/z88dk<gh_stars>1-10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; CONSOLE_01_INPUT_TERMINAL
; library driver for input terminals
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Library input console driver that implements the
; CONSOLE_01_INPUT input terminal... |
oeis/122/A122031.asm | neoneye/loda-programs | 11 | 29005 | <gh_stars>10-100
; A122031: a(n) = a(n - 1) + (n - 1)*a(n - 2).
; Submitted by <NAME>(s1.)
; 1,2,3,7,16,44,124,388,1256,4360,15664,59264,231568,942736,3953120,17151424,76448224,350871008,1650490816,7966168960,39325494464,198648873664,1024484257408,5394759478016,28957897398400,158432124870784,882379559830784,50016148064... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1995.asm | ljhsiun2/medusa | 9 | 98258 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1995.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rsi
lea addresses_D_ht+0x17fa7, %rsi
nop
cmp %r15, %r15
mov (%rsi), %ebx
nop
nop
nop
nop
nop
add %rcx, %rcx
lea addre... |
MSDOS/Virus.MSDOS.Unknown.mini-45.asm | fengjixuchui/Family | 3 | 25212 | <gh_stars>1-10
;***************************************************************
; DISASSEMBLY of the MINI-45 VIRUS
;***************************************************************
; FIND .COM FILE TO INFECT
;***************************************************************
MOV DX, 127h ;... |
programs/oeis/058/A058373.asm | karttu/loda | 0 | 13714 | <reponame>karttu/loda<gh_stars>0
; A058373: a(n) = (1/6)*(2*n - 3)*(n + 2)*(n + 1).
; 0,0,-1,-1,2,10,25,49,84,132,195,275,374,494,637,805,1000,1224,1479,1767,2090,2450,2849,3289,3772,4300,4875,5499,6174,6902,7685,8525,9424,10384,11407,12495,13650,14874,16169,17537,18980,20500,22099
mov $2,$0
mov $3,$0
mov $5,6
lpb $0,... |
programs/oeis/137/A137893.asm | karttu/loda | 1 | 8299 | <gh_stars>1-10
; A137893: Fixed point of the morphism 0->100, 1->101, starting from a(1) = 1.
; 1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0
add $0,1
mul ... |
alloy4fun_models/trashltl/models/6/J9uasp5Xb2aEnb3iC.als | Kaixi26/org.alloytools.alloy | 0 | 4764 | open main
pred idJ9uasp5Xb2aEnb3iC_prop7 {
some f: File | always (eventually f in Protected)
}
pred __repair { idJ9uasp5Xb2aEnb3iC_prop7 }
check __repair { idJ9uasp5Xb2aEnb3iC_prop7 <=> prop7o } |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1545.asm | ljhsiun2/medusa | 9 | 82079 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x16eed, %rdx
nop
nop
nop
nop
xor %r15, %r15
mov (%rdx), %r10
nop
and $33321, %rbx
lea addresses_UC_ht+0x846d, %rsi
lea addresses_A_ht+0x1b5bd, %rdi
nop
nop
nop... |
llvm-gcc-4.2-2.9/gcc/ada/s-intman-irix.adb | vidkidz/crossbridge | 1 | 15337 | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Src/Container/32/logfile_enable.asm | The-Cracker-Technology/hyperion | 0 | 90504 | <reponame>The-Cracker-Technology/hyperion
;-------------------------------------------
;the content of this file is excluded, |
;when the user disables logging features |
;in hyperion command line. pls keep in mind |
;and dont rely on its existence. |
;-------------------------------------------
;... |
test/Test/Compile/Golden/simple-if/simple-if-output.agda | vehicle-lang/vehicle | 9 | 14454 | <reponame>vehicle-lang/vehicle<filename>test/Test/Compile/Golden/simple-if/simple-if-output.agda
-- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
{-# OPTIONS --allow-exec #-}... |
Control/Monad/Free/Quotiented.agda | oisdk/agda-playground | 6 | 9288 | module Control.Monad.Free.Quotiented where
open import Prelude
open import Data.List hiding (map)
open import Data.Fin.Sigma
open import Algebra
postulate
uip : isSet A
--------------------------------------------------------------------------------
-- Some functors
------------------------------------------------... |
src/FOmegaInt/Kinding/Canonical/Inversion.agda | Blaisorblade/f-omega-int-agda | 12 | 207 | ------------------------------------------------------------------------
-- Inversion of canonical subtyping in Fω with interval kinds
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module FOmegaInt.Kinding.Canonical.Inversion where
open import Data.Produc... |
unicode-utf8_stream_decoder-codec.adb | annexi-strayline/ASAP-Unicode | 1 | 29389 | <filename>unicode-utf8_stream_decoder-codec.adb
------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- UTF-8... |
Agda/Sol01.agda | Brethland/LEARNING-STUFF | 2 | 9693 | {-# OPTIONS --safe #-}
module Sol01 where
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Binary.PropositionalEquality
fibAux : ℕ -> ℕ -> ℕ -> ℕ
fibAux a b 0 = a
fibAux a b (suc n) = fibAux b (a + b) n
fib2 : ℕ -> ℕ
fib2 = fibAux 0 1
fib : ℕ -> ℕ
fib 0 = 0
fib 1 = 1
fib (suc (suc n)) = fib... |
programs/oeis/296/A296306.asm | neoneye/loda | 22 | 162548 | <gh_stars>10-100
; A296306: a(n) = A001157(n)/A050999(n).
; 1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,1365,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,5461,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,341,1,5,1,21,1,5,1,85,1,5,1,21,1,5,1,1365,1,5,1,21
add $0,1
mov $1,1
lpb $0
... |
misc/Cool_2020.g4 | mykolav/coollang-2020-fs | 20 | 4300 | grammar Cool_2020;
program
: classdecl+
;
classdecl
: 'class' ID varformals ('extends' ID actuals)? classbody
;
varformals
: '(' (varformal (',' varformal)*)? ')'
;
varformal
: 'var' ID ':' ID
;
classbody
: '{' (feature ';')* '}'
;
feature
: 'ove... |
src/main/fragment/mos6502-common/vwsm1_gt_0_then_la1.asm | jbrandwood/kickc | 2 | 82722 | lda {m1}+1
bne !+
lda {m1}
beq !e+
lsr
!:
bpl {la1}
!e:
|
libsrc/oz/ozgfx/ozrestorescreen.asm | jpoikela/z88dk | 640 | 12588 | <filename>libsrc/oz/ozgfx/ozrestorescreen.asm<gh_stars>100-1000
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
;
;
; ------
; $Id: ozrestorescreen.asm,v 1.3 2016-06-28 14:48:17 dom Exp $
;
SECTION code_clib
PUBLIC ozrestorescreen
PUBLIC _ozrestorescreen
EXTE... |
April/types.ads | Black-Photon/Programming-Language-of-the-Month | 0 | 18344 | package types is
type Percent is delta 10.0 ** (-2) digits 5;
type Index is range 1 .. 100;
type Rod_Array is array (Index) of Percent;
type Kilojoule is delta 10.0 ** (-4) digits 8;
end types;
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1275.asm | ljhsiun2/medusa | 9 | 15978 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x58a5, %r8
nop
nop
nop
nop
nop
inc %rbx
movw $0x6162, (%r8)
sub $61988, %r10
lea addresses_UC_ht+0x1af85, %r12
nop
nop
nop
nop
cmp %rdi, %rdi
movw $0x6162, (%r12)
nop
nop
mfence... |
oeis/279/A279735.asm | neoneye/loda-programs | 11 | 98839 | ; A279735: Number of n X 2 0..1 arrays with no element equal to a strict majority of its horizontal and antidiagonal neighbors, with the exception of exactly one element, and with new values introduced in order 0 sequentially upwards.
; 0,2,8,26,80,240,708,2062,5944,16990,48220,136032,381768,1066586,2968040,8230370,227... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_14334_829.asm | ljhsiun2/medusa | 9 | 81474 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x9d4, %rdx
nop
nop
cmp %r9, %r9
vmovups (%rdx), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $1, %xmm5, %r13
nop
nop
nop
nop
nop
inc %r9
lea addresses_WT_ht+0x17ae4, %rbx
nop
n... |
ada/philosophers.ads | rtoal/enhanced-dining-philosophers | 0 | 22590 | ------------------------------------------------------------------------------
-- philosophers.ads
--
-- This package supplies a task type for the Philosophers in the Enhanced
-- Dining Philosophers simulation. It also defines an array of philosophers.
--
-- Entries:
--
-- Here_Is_Your_Name (Name) ass... |
libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_f32.asm | ahjelm/z88dk | 640 | 22775 | <filename>libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_f32.asm
;
; Copyright (c) 2020 <NAME>
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, May... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43207d.ada | best08618/asylo | 7 | 2478 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43207d.ada
-- C43207D.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
antlr/Blossom.g4 | Xerakhez/BlossomScriptBlock | 1 | 1330 | <reponame>Xerakhez/BlossomScriptBlock<gh_stars>1-10
grammar Blossom;
options {
language = Java;
}
@header {
package me.koneko.blossom.parse;
}
// parser rules
file: stmt* EOF;
stmt: varDeclare | ifStmt | whileStmt | breakStmt | continueStmt | blockStmt | expr SEMI;
varDeclare: Var Identifier (Assign cond)? SEMI;... |
LearnPyANTLR/session1/simple.g4 | fyabc/Toys | 1 | 4547 | grammar simple;
// Fragment & Lexer
HELLO: [Hh] 'ello';
WORLD: [Ww] 'orld';
COMMA: ',';
WS : [ \t\r\n]+ -> skip ;
// Parser
main: HELLO COMMA? WORLD '!'?;
|
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_21829_795.asm | ljhsiun2/medusa | 9 | 647 | <filename>Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_21829_795.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
// Store
lea addresses_WC+0x19bfe, %r14
nop
nop
and $25962, %rb... |
read.asm | rodolfovalentim/sistemb2016-1 | 0 | 22245 | <reponame>rodolfovalentim/sistemb2016-1<gh_stars>0
segment code
..start:
mov ax, data
mov ds, ax
mov ax, stack
mov ss, ax
mov sp, stacktop
;abre arquivo
mov ah, 3Dh
mov al, 00
mov dx, filename
mov cx, 1
int 21h
mov word[handle], ax
mov bx, image
mov word[pointer], bx
read:
mov ah, 3Fh
mov bx, w... |
PIC/Grabador/uart_manager.asm | MrRomo/MrBootloader | 0 | 93752 |
_readData:
;uart_manager.c,2 :: unsigned char readData(){
;uart_manager.c,4 :: PORTB = 0x00;
CLRF PORTB+0
;uart_manager.c,5 :: while (1){
L_readData0:
;uart_manager.c,6 :: if(UART1_Data_Ready()){
CALL _UART1_Data_Ready+0
MOVF R0+0, 0
BTFSC STATUS+0, 2
GOTO L_readData2
;uart_m... |
alloy4fun_models/trashltl/models/0/s3umnpsum5ypeBaAh.als | Kaixi26/org.alloytools.alloy | 0 | 4074 | <filename>alloy4fun_models/trashltl/models/0/s3umnpsum5ypeBaAh.als
open main
pred ids3umnpsum5ypeBaAh_prop1 {
no Trash
}
pred __repair { ids3umnpsum5ypeBaAh_prop1 }
check __repair { ids3umnpsum5ypeBaAh_prop1 <=> prop1o } |
45/runtime/rt/evtkey.asm | minblock/msdos | 0 | 21568 | <filename>45/runtime/rt/evtkey.asm
TITLE EVTKEY - Keytrapping event handling
;***
; EVTKEY - Keytrapping event handling
;
; Copyright <C> 1987, Microsoft Corporation
;
;Purpose:
; Event trapping support for keytrapping.
;
; BASIC Syntax mapping to included runtime entry points:
;
;
; - KEY(n) Statement - 3 syntax vari... |
lib/crt/classic/crt_section_standard.asm | ahjelm/z88dk | 640 | 240011 | ; Classic Memory map and section setup
;
; This layout suits all the classic machines. Memory placement is
; affected by:
;
; CRT_MODEL: RAM/ROM configuration
; CRT_ORG_CODE: Where code starts executing from
; CRT_ORG_BSS: Where uninitialised global variables are placed
; CRT_ORG_GRAPHICS: Where graphics routines + v... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_738.asm | ljhsiun2/medusa | 9 | 241045 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x600, %rax
nop
nop
nop
nop
cmp $10014, %rbx
mov (%rax), %r9
nop
nop
nop
nop
nop
dec %rbp
lea addresses_UC_ht+0x12670, %r13
nop
nop
sub $49306, %rbx
mo... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1466.asm | ljhsiun2/medusa | 9 | 163612 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x50e, %rdx
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
and $0xffffffffffffffc0, %rdx
vmovntdq %ymm2, (%rdx)
nop
nop
nop
cmp $14953, %r8
lea addresses... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1007.asm | ljhsiun2/medusa | 9 | 21942 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1007.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1de15, %rbp
nop
nop
nop
nop
xor %r14, %r14
mov $0x6162636465666768, %r9
mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.