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/bootloader.asm | edwardatki/eDOS | 1 | 102192 | <gh_stars>1-10
;+---------------------------------+
;| SECTOR 1 - Primary Bootloader |
;+---------------------------------+
[bits 16]
[org 0x0000]
Start:
jmp 0x07C0:Loader ; Jump over OEM block
nop
;*************************************************;
; OEM Parameter block / BIOS Parameter Block ... |
x86/Uci.asm | lucabrivio/asmFish-fasmg | 1 | 101987 |
Options_Init:
lea rdx, [options]
mov byte[rdx + Options.displayInfoMove], -1
mov dword[rdx + Options.contempt], 0
mov dword[rdx + Options.threads], 1
mov dword[rdx + Options.hash], 16
mov byte[rdx + Options.ponder], 0
mov dwor... |
nasm assembly/assgnments/question6.asm | AI-Factor-y/NASM-library | 0 | 81286 | <gh_stars>0
section .data
msg1 : db 'Enter first digit of first number :'
l1 : equ $-msg1
msg2 : db 'Enter second digit of first number :'
l2 : equ $-msg2
msg3 : db 'its is not prime'
l3 : equ $-msg3
msg4 : db 'it is prime '
l4 : equ $-msg4
section .bss
num11 : resb 1
num12 : resb 1
num21 : resb 1
num22 :... |
programs/oeis/280/A280154.asm | neoneye/loda | 22 | 245061 | <reponame>neoneye/loda<gh_stars>10-100
; A280154: a(n) = 5*Lucas(n).
; 10,5,15,20,35,55,90,145,235,380,615,995,1610,2605,4215,6820,11035,17855,28890,46745,75635,122380,198015,320395,518410,838805,1357215,2196020,3553235,5749255,9302490,15051745,24354235,39405980,63760215,103166195,166926410,270092605,437019015,70711162... |
opengl-buffer_object.adb | io7m/coreland-opengl-ada | 1 | 16821 | with OpenGL.Error;
package body OpenGL.Buffer_Object is
--
-- Generate buffer name(s).
--
procedure Generate (Buffers : in out Buffer_Array_t) is
begin
Thin.Gen_Buffers
(Size => Buffers'Length,
Buffers => Buffers (Buffers'First)'Address);
end Generate;
--
-- Delete buffer.
--
... |
commands/system/open-selection-with.applescript | afrazkhan/script-commands | 5 | 3673 | <reponame>afrazkhan/script-commands
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Selection With
# @raycast.mode silent
# @raycast.packageName System
# @raycast.argument1 { "type": "text", "placeholder": "Application", "optional": false }
#
# Optional parameters:
# @rayca... |
regtests/ado-parameters-tests.adb | Letractively/ada-ado | 0 | 28051 | -----------------------------------------------------------------------
-- ado-parameters-tests -- Test query parameters and SQL expansion
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
adium/ASUnitTests/CantSetServiceName.applescript | sin-ivan/AdiumPipeEvent | 0 | 358 | global HandyAdiumScripts
on run
tell application "Adium"
set n to (get name of service "AIM")
set s to (get service "AIM")
try
set name of service "AIM" to "dummy"
--should never get here!
set name of s to n --restore
--actually this won't restore because service names are what's
--used in objec... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2213.asm | ljhsiun2/medusa | 9 | 16792 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r9
push %rbx
push %rdx
push %rsi
// Store
lea addresses_normal+0x12168, %r11
nop
nop
nop
inc %r13
mov $0x5152535455565758, %r14
movq %r14, %xmm0
movups %xmm0, (%r11)
... |
src/Categories/NaturalTransformation/NaturalIsomorphism/Functors.agda | Trebor-Huang/agda-categories | 279 | 14378 | {-# OPTIONS --without-K --safe #-}
module Categories.NaturalTransformation.NaturalIsomorphism.Functors where
open import Level
open import Categories.Category
open import Categories.Category.Construction.Functors
open import Categories.Functor
open import Categories.NaturalTransformation.NaturalIsomorphism
import C... |
oeis/199/A199802.asm | neoneye/loda-programs | 11 | 92153 | <filename>oeis/199/A199802.asm
; A199802: G.f.: 1/(1-2*x+2*x^2-x^3+x^4).
; Submitted by <NAME>
; 1,2,2,1,-1,-4,-7,-8,-5,3,15,27,32,22,-8,-55,-104,-128,-95,17,200,399,510,405,-11,-721,-1525,-2024,-1708,-172,2573,5806,8002,7137,1503,-9072,-22015,-31520,-29585,-9073,31519,83119,123712,121778,47732,-107499,-312396,-483840... |
util/cv/gitem.asm | olifink/smsqe | 0 | 177295 | <gh_stars>0
* Get an "item" from a string v0.00 July 1988 J.R.Oakley QJUMP
*
section cv
*
include 'dev8_keys_err'
include 'dev8_keys_k'
*
xdef cv_gitem
*+++
* Copy an "item" from a string to a buffer. The item is enclosed by spaces
* or the end of the string. The strin... |
extern/gnat_sdl/gnat_sdl2/src/sdl_pixels_h.ads | AdaCore/training_material | 15 | 5990 | <reponame>AdaCore/training_material
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_stdinc_h;
with Interfaces.C.Strings;
package SDL_pixels_h is
SDL_ALPHA_OPAQUE : constant := 255; -- ..\SDL2_tmp\SDL_pixels.h:46
SDL_ALPHA_TRANSPARENT : constant := 0; -- ..\SDL2_tmp... |
tests/typing/bad/testfile-inout-5.adb | xuedong/mini-ada | 0 | 21063 | <reponame>xuedong/mini-ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
function F(X: in Integer) return integer is begin X:= 1; return 0; end;
begin
if F(42) = 0 then new_line; end if;
end;
|
programs/oeis/294/A294630.asm | karttu/loda | 0 | 15169 | <reponame>karttu/loda<gh_stars>0
; A294630: Partial sums of A294629.
; 4,20,48,104,172,292,424,616,844,1140,1448,1888,2340,2876,3488,4224,4972,5892,6824,7936,9140,10460,11792,13416,15092,16900,18816,20960,23116,25612,28120,30880,33764,36812,39968,43568,47180,50972,54904,59240,63588,68372,73168,78288,83676,89276,94888,1... |
dmvpn-as-code/window_layout.scpt | nobuhikosekiya/sbx_multi_ios | 64 | 3797 | <reponame>nobuhikosekiya/sbx_multi_ios
# AppleScript for Demo Window layout
# execute with `osascript window_layout.scpt`
tell application "iTerm"
activate
tell current window
create tab with default profile
end tell
set pane_1 to (current session of current window)
tell pane_1
set pane_3 to (split horizonta... |
native/standalone/sandbox/seccomp_filter.asm | minad/crts | 1 | 18113 | #define KILL #0
#define ALLOW #0x7fff0000
/* struct seccomp_data */
#define nr [0]
#define arch [4]
#define arg0_lo [16]
#define arg0_hi [20]
#define arg1_lo [24]
#define arg1_hi [28]
#define arg2_lo [32]
#define arg2_hi [36]
#define arg3_lo [40]
#define arg3_hi [44]
#define arg4_lo [48]
#define arg4_hi [52]
... |
programs/oeis/176/A176640.asm | neoneye/loda | 22 | 94705 | ; A176640: Partial sums of A005985.
; 0,1,5,14,46,111,303,688,1712,3761,8881,19122,43698,92851,207539,436916,961204,2009781,4369077,9087670,19573430,40544951,86682295,178956984,380283576,782936761,1655351993,3400182458,7158278842
lpb $0
mov $2,$0
sub $0,1
seq $2,5985 ; Length of longest trail (i.e., path with al... |
src/Categories/Pseudofunctor/Identity.agda | Trebor-Huang/agda-categories | 279 | 1125 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
-- The identity pseudofunctor
module Categories.Pseudofunctor.Identity where
open import Data.Product using (_,_)
open import Categories.Bicategory using (Bicategory)
import Categories.Bicategory.Extras as BicategoryExt
open import Categories.Category using (Cat... |
titanium_native/TitaniumNative.g4 | shivanshu3/titanium_native | 0 | 3404 | grammar TitaniumNative;
/*
* Parser rules
*/
// This is the root node
tnProgram
: tnExpression EOF
;
tnExpression
: (tnTerm)+
;
tnTerm
: tnOperand
| tnOperator
;
tnOperand
: tnLiteral
| tnProcedure
;
tnProcedure
: '(' tnExpression ')'
;
tnLiteral
: TN_NUMBER
| TN_BOOL
... |
src/data/lib/prim/Agda/Builtin/TrustMe.agda | bennn/agda | 0 | 4639 | <filename>src/data/lib/prim/Agda/Builtin/TrustMe.agda
module Agda.Builtin.TrustMe where
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Erase
private
postulate
unsafePrimTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y
primTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y
primTrustMe = primEraseEq... |
src/keyboard/igkb_handlers.asm | Q-Bert-Reynolds/gbedit | 1 | 83471 | <filename>src/keyboard/igkb_handlers.asm
IGKBHandleCode::;a = scan code
.handleSpace
cp a, 137
jr nz, .handlePeriod
ld a, " "
jp KBHandleCharacter
.handlePeriod
cp a, 148
jr nz, .handleApostrophe
ld a, "."
jp KBHandleCharacter
.handleApostrophe
cp a, 145
jr nz, .handleComma
ld a, "'"
jp KBHandle... |
app/assets/images/materials/course4/rEqualsItsClosure.als | se-unrc/cacic-site | 0 | 905 | <gh_stars>0
sig A { }
one sig Rel { r : A -> A }
fact reflexive { A<:iden in Rel.r }
fact transitive { (Rel.r).(Rel.r) in Rel.r }
assert rEqualsItsClosure { Rel.r = A<:*(Rel.r)}
check rEqualsItsClosure for 5
|
GetWindowSize.applescript | u-4/AppleScript | 0 | 3122 | -- http://battleformac.blog.jp/archives/52367319.html
tell application "System Events"
set topProcess to item 1 of (every process whose frontmost is true)
tell topProcess
set topDocWindow to item 1 of (every window whose subrole is "AXStandardWindow")
set bestSize to size of topDocWindow
end... |
Kernel/IO_ASM.asm | foviedoITBA/TPE-Arqui | 0 | 175496 | <reponame>foviedoITBA/TPE-Arqui
global _out_16
global _in_16
section .text
; void _out_16(uint16_t port, uint16_t data)
_out_16:
push rbp
mov rbp, rsp
push rdx
push rax
mov rdx, rdi
mov rax, rsi
out dx, ax
pop rax
pop rdx
leave
ret
; uint16_t _in_16(uint16_t port)
_in_16:
push rbp
mov rbp, rsp
push rdx
... |
out/aaa_02if.adb | Melyodas/metalang | 22 | 12058 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure aaa_02if is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.... |
programs/oeis/056/A056810.asm | neoneye/loda | 22 | 243724 | <gh_stars>10-100
; A056810: Numbers whose fourth power is a palindrome.
; 0,1,11,101,1001,10001,100001,1000001,10000001,100000001,1000000001
sub $0,1
mov $2,$0
mov $3,$0
lpb $3
div $2,3
max $2,1
sub $3,2
lpe
mov $1,10
pow $1,$0
mov $4,$1
cmp $4,0
add $1,$4
add $1,$2
mov $0,$1
|
oeis/135/A135593.asm | neoneye/loda-programs | 11 | 245527 | ; A135593: Number of n X n symmetric (0,1)-matrices with exactly n+1 entries equal to 1 and no zero rows or columns.
; Submitted by <NAME>
; 2,9,36,140,540,2142,8624,35856,152280,666380,2982672,13716144,64487696,310693320,1528801920,7691652992,39474925344,206758346256,1103332900160,5999356762560,33197323465152,18692584... |
external/src/libvpx/vpx_config_x86.asm | emarc99/SLib | 146 | 91771 | %include "vpx_config_common.asm"
ARCH_ARM EQU 0
ARCH_X86 EQU 1
ARCH_X86_64 EQU 0
HAVE_NEON EQU 0
HAVE_NEON_ASM EQU 0
HAVE_MMX EQU 1
HAVE_SSE EQU 1
HAVE_SSE2 EQU 1
HAVE_SSE3 EQU 1
HAVE_SSSE3 EQU 1
HAVE_SSE4_1 EQU 1
HAVE_AVX EQU 1
HAVE_AVX2 EQU 1
HAVE_AVX512 EQU 0
|
alloy4fun_models/trainstlt/models/2/ZnSXv5rwsCyDZTsJR.als | Kaixi26/org.alloytools.alloy | 0 | 147 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idZnSXv5rwsCyDZTsJR_prop3 {
all t : Train , x : t.pos | no x.prox
}
pred __repair { idZnSXv5rwsCyDZTsJR_prop3 }
check __repair { idZnSXv5rwsCyDZTsJR_prop3 <=> prop3o } |
oeis/052/A052216.asm | neoneye/loda-programs | 11 | 247745 | ; A052216: Sum of two powers of 10.
; Submitted by <NAME>
; 2,11,20,101,110,200,1001,1010,1100,2000,10001,10010,10100,11000,20000,100001,100010,100100,101000,110000,200000,1000001,1000010,1000100,1001000,1010000,1100000,2000000,10000001,10000010,10000100,10001000,10010000,10100000,11000000,20000000,100000001,100000010,... |
data/maps/objects/Route11Gate2F.asm | opiter09/ASM-Machina | 1 | 13193 | Route11Gate2F_Object:
db $a ; border block
def_warps
warp 7, 7, 4, ROUTE_11_GATE_1F
def_signs
sign 1, 2, 3 ; Route11GateUpstairsText3
sign 6, 2, 4 ; Route11GateUpstairsText4
def_objects
object SPRITE_YOUNGSTER, 4, 2, WALK, LEFT_RIGHT, 1 ; person
object SPRITE_SCIENTIST, 2, 6, STAY, NONE, 2 ; person
... |
week_08/ProgramFlow/BasicLoop/BasicLoop.asm | DaviNakamuraCardoso/nand2tetris | 0 | 89638 | <gh_stars>0
@256
D=A
@SP
M=D
@300
D=A
@LCL
M=D
@400
D=A
@ARG
M=D
@3000
D=A
@THIS
M=D
@3010
D=A
@THAT
M=D
// // This file is part of www.nand2tetris.org
// // and the book "The Elements of Computing Systems"
// // by <NAME>, MIT Press.
// // File name: projects/08/ProgramFlow/BasicLoop/BasicLoop.vm
//
// // ... |
iod/iob/gbps.asm | olifink/smsqe | 0 | 163575 | ; Buffering (get byte parity set) utility V2.00 1989 <NAME> QJUMP
section iou
xdef iob_gbps
xref iob_fbfl
xref iob_fbuf
xref iob_prts
include 'dev8_keys_buf'
include 'dev8_keys_err'
;+++
; This routine gets a single byte from an IO buffer ... |
sbsext/ext/exsbas.asm | olifink/smsqe | 0 | 165334 | * EX, EW and ET V2.00 1984 Sinclair Research and <NAME> QJUMP
* 1994 Tony Tebby SBASIC compatible version
*
; 2003-11-10 2.01 Added functions FET, FEX, FEW pjwitte 2oo3
* 2004-05-15 2.02 Added ex_m (wl)
* 2005-01-25 2.03 Added call to Home thing (wl)
* 2005-11-17 2.04 If A1 absolute, use supervisor mode when ca... |
lang/english/okov.asm | olifink/smsqe | 0 | 178751 | ; Text string for overwrite query V2.00 1990 <NAME> QJUMP
section language
include 'dev8_mac_text'
mktext okov,{OK to Overwrite}
end
|
oeis/127/A127847.asm | neoneye/loda-programs | 11 | 88794 | <reponame>neoneye/loda-programs
; A127847: a(n)=4^C(n,2)*(4^n-1)/3.
; Submitted by <NAME>(s3)
; 0,1,20,1344,348160,357564416,1465657589760,24017731997138944,1574098141758535761920,412645105639632468417970176,432690992231222540584116394393600,1814838857553600260569028862094736359424,3044794896288785388423829554359132327... |
test/Fail/UnknownNameInFixityDecl.agda | cruhland/agda | 1,989 | 16563 | {-# OPTIONS --warning=error #-}
module UnknownNameInFixityDecl where
infix 40 _+_
infixr 60 _*_
|
programs/oeis/130/A130497.asm | karttu/loda | 0 | 94404 | ; A130497: Repetition of odd numbers five times.
; 1,1,1,1,1,3,3,3,3,3,5,5,5,5,5,7,7,7,7,7,9,9,9,9,9,11,11,11,11,11,13,13,13,13,13,15,15,15,15,15,17,17,17,17,17,19,19,19,19,19,21,21,21,21,21,23,23,23,23,23,25,25,25,25,25,27,27,27,27,27,29,29,29,29,29,31,31,31
div $0,5
mul $0,2
mov $1,$0
add $1,1
|
src/core/asm/arm/aarch64/inst_0xf0.asm | Hiroshi123/bin_tools | 0 | 104820 | <reponame>Hiroshi123/bin_tools<gh_stars>0
;;; 1 immlo(2) 1 | 0 0 0 0 | 0 N
;;; where immlo = 0x11
__0xf0_adrp:
ret
;;; subs
;;; sf 1 1 1 | 0 0 0 1 |
;;; where sf = 1
__0xf1_cmp:
ret
;;; 1 x 1 1 | 1 0 0 0
__0xf8_ldr_str:
ret
;;; 1 x 1 1 | 1 0 0 1
__0xf9_ldr_str:
ret
;;; conditional cmp
;;; sf 1 1 1 | 1 ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_703_1201.asm | ljhsiun2/medusa | 9 | 170828 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb608, %rsi
lea addresses_WC_ht+0x175c8, %rdi
nop
nop
nop
add $46504, %rdx
mov $106, %rcx
rep movsl
lfence
lea addresses_D_ht+0xef28, %rcx
sub $22347, %rdi
mov $0x616263646566... |
obj/gnattest/tests/dg_types-test_data-tests.adb | SMerrony/dgemua | 2 | 23579 | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
programs/oeis/097/A097693.asm | neoneye/loda | 22 | 105511 | <reponame>neoneye/loda
; A097693: Largest achievable determinant of a 3 X 3 matrix whose elements are 9 distinct integers chosen from the range -n...n.
; 86,216,438,776,1254,1896,2726,3768,5046,6584,8406,10536,12998,15816,19014,22616,26646,31128,36086,41544,47526,54056,61158,68856,77174,86136,95766,106088,117126,128904... |
instructions.asm | AleffCorrea/BrickBreaker | 4 | 80310 | <reponame>AleffCorrea/BrickBreaker<filename>instructions.asm
;instructions.asm
Instruction0_StateMachine:
.db OPC_RAMWrite
.dw INSTRUCT_SYNC
.db 0
.db OPC_DrawSquare, $40, 32, 30
.dw $2000
.db OPC_Delay, 60
.db OPC_ScreenOff
.db OPC_DrawRLEBurst
.dw $2000, bg_Playfield
.db OPC_ScreenOn
.db OPC_RA... |
basic/07_konstant/konstant.asm | bellshade/Assembly | 6 | 25819 | SYS_EXIT EQU 1
SYS_WRITE EQU 4
STDIN EQU 0
STDOUT EQU 1
section .text
global _start
_start:
mov eax, SYS_WRITE
mov ebx, STDOUT
mov ecx, pesan1
mov edx, panjang_pesan1
int 0x80
mov eax, SYS_WRITE
mov ebx, STDOUT
mov ec... |
oeis/286/A286865.asm | neoneye/loda-programs | 11 | 160352 | <filename>oeis/286/A286865.asm
; A286865: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 814", based on the 5-celled von Neumann neighborhood.
; 1,1,1,1,3,3,3,3,15,15,15,15,15,15,15,15,255,255,255,255,255,255,25... |
libsrc/_DEVELOPMENT/string/z80/asm_memmem.asm | Toysoft/z88dk | 8 | 12481 | <filename>libsrc/_DEVELOPMENT/string/z80/asm_memmem.asm
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *memmem(const void *big, size_t big_len, const void *little, size_t little_len)
;
; Return ptr in big to first... |
demo/tutorial/tutorial.adb | csb6/libtcod-ada | 0 | 9660 | with Engines, Libtcod.Console; use Libtcod;
procedure Tutorial is
screen_width : constant := 80;
screen_height : constant := 50;
context : Console.Context := Console.make_context(screen_width, screen_height, "Libtcod Ada Tutorial");
screen : Console.Screen := Console.make_screen(screen_width, screen_heigh... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/mak/kart-drive-e.asm | prismotizm/gigaleak | 0 | 25558 | <filename>other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/mak/kart-drive-e.asm
Name: kart-drive-e.asm
Type: file
Size: 39067
Last-Modified: '1992-11-18T01:08:32Z'
SHA-1: B531055F255B01E0A0756F5CB342506E7BB94CB1
Description: null
|
mat/src/mat-formats.ads | stcarrez/mat | 7 | 29118 | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fil... |
4th SEM/MICROPROCESSOR AND MICROCONTROLLER LABORATORY - XXCSL48/LAB5b.asm | AbhishekMali21/VTU-CSE-ISE-LAB-SOLUTIONS | 80 | 7439 | <gh_stars>10-100
.MODEL small
.STACK 100h
.DATA
messl DB 10, 13, 'Today is $' ; 1041, 13=CR
.CODE
Today PROC
MOV AX, @data
MOV DS, AX
MOV DX, OFFSET messl
MOV AH, 09h
INT 21H
MOV AH,2AH
INT 21H
PUSH CX
MOV CX,0
MOV CL, DL
PUSH CX
MOV CL,DH
PUSH CX
MOV DH, 0
;DISPLAY MONTH
MOV DX, 0
P... |
oeis/063/A063205.asm | neoneye/loda-programs | 11 | 7066 | ; A063205: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 29 ).
; Submitted by <NAME>(s3)
; 2,7,11,17,21,25,31,35,39,45,49,53,59,63,67,73,77,81,87,91,95,101,105,109,115,119,123,129,133,137,143,147,151,157,161,165,171,175,179,185,189,193,199,203,207,213,217,221,227,231,235,241,245,249,255,259,263,269... |
source/RASCAL-WimpWindow.ads | bracke/Meaning | 0 | 24318 | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
attic/fb_rawshader/etna_gears_ps.asm | ilbers/etna_viv | 121 | 82729 | <reponame>ilbers/etna_viv
; etna_gears ps
NOP void, void, void, void
; GLSL:
;
; precision mediump float;
; varying vec4 Color;
;
; void main(void)
; {
; gl_FragColor = Color;
; }
|
thrift_parser/Thrift.g4 | alingse/thrift-parser- | 0 | 7773 | <reponame>alingse/thrift-parser-<gh_stars>0
grammar Thrift;
document
: header* definition* EOF
;
header
: include_ | namespace_ | cpp_include
;
include_
: 'include' LITERAL_VALUE
;
namespace_
: 'namespace' '*' (IDENTIFIER | LITERAL_VALUE)
| 'namespace' IDENTIFIER (IDENTIFIER | LITERA... |
programs/oeis/115/A115519.asm | neoneye/loda | 22 | 81086 | <reponame>neoneye/loda
; A115519: n*(1+3*n+6*n^2)/2.
; 0,5,31,96,218,415,705,1106,1636,2313,3155,4180,5406,6851,8533,10470,12680,15181,17991,21128,24610,28455,32681,37306,42348,47825,53755,60156,67046,74443,82365,90830,99856,109461,119663,130480,141930,154031,166801,180258
mov $1,6
mul $1,$0
mul $0,$1
add $1,3
mul $0,... |
programs/oeis/085/A085474.asm | neoneye/loda | 22 | 163160 | <gh_stars>10-100
; A085474: C(2*n+4,4)-C(2*n,4).
; 1,15,69,195,425,791,1325,2059,3025,4255,5781,7635,9849,12455,15485,18971,22945,27439,32485,38115,44361,51255,58829,67115,76145,85951,96565,108019,120345,133575,147741,162875,179009,196175,214405,233731,254185,275799,298605,322635,347921,374495,402389,431635,462265,4943... |
arch/ARM/STM32/driversL1/stm32-crc.adb | morbos/Ada_Drivers_Library | 2 | 2670 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
WEEK-8/1.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 0 | 86146 | LDA 9000
MOV C,A
ANI 0F
MOV B,A
MOV A,C
ANI F0
RRC
RRC
RRC
RRC
ADD B
STA 9050
JNC JUMP
INR D
MOV A,D
STA 9051
JUMP: HLT
|
examples/stm32f1/bootloader/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 4756 | <gh_stars>1-10
with Startup;
with Bootloader;
procedure Main is
begin
Bootloader.Start;
end Main;
|
src/BubbleSort.asm | Kaybass/CSI-370-Final | 0 | 240978 | ;
; <NAME>
;
; int * BubbleSort(int * array, int arraylen)
;
section .text
global BubbleSort
BubbleSort:
push ebp
mov ebp, esp
mov ecx, [ebp+12]
mov edi, [ebp+8]
dec ecx
L1:
push ecx
mov esi, edi
L2:
mov eax, [esi]
... |
tests/res/jitregress/fifo_llvm.asm | JackWolfard/cash | 14 | 104594 | <reponame>JackWolfard/cash
.text
.file "llvmjit"
.globl eval
.p2align 4, 0x90
.type eval,@function
eval:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
pushq %rbx
.cfi_def_cfa_offset 24
.cfi_offset %rbx, -24
.cfi_offset %rbp, -16
movq (%rdi), %r10
movq 8(%rdi), %rdi
movl 8(%rdi), %esi
movl 16(%rdi), %... |
Task/Boolean-values/AppleScript/boolean-values-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1003 | 1 > 2 --> false
not false --> true
{true as integer, false as integer, 1 as boolean, 0 as boolean}
--> {1, 0, true, false}
true = 1 --> false
|
Cubical/Data/Sigma/Base.agda | limemloh/cubical | 0 | 5764 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Sigma.Base where
open import Cubical.Core.Primitives public
-- Σ-types are defined in Core/Primitives as they are needed for Glue types.
|
oeis/220/A220590.asm | neoneye/loda-programs | 11 | 6215 | ; A220590: Number of ways to reciprocally link elements of an n X 2 array either to themselves or to exactly two king-move neighbors.
; Submitted by <NAME>
; 1,8,33,155,710,3265,15009,68992,317149,1457879,6701646,30806405,141612197,650968960,2992401777,13755599635,63232324870,290669037689,1336159782873,6142116062912,28... |
programs/oeis/070/A070517.asm | neoneye/loda | 22 | 98166 | <filename>programs/oeis/070/A070517.asm
; A070517: a(n) = n^4 mod 13.
; 0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1,9,3,3,1,0,1,3,3,9,1,9,9,1
pow $0,4
mod $0,13
|
src/coordinates.ads | onox/orka-demo | 3 | 22300 | <filename>src/coordinates.ads
private with Ada.Numerics;
with GL.Types;
with Orka.Transforms.Doubles.Matrices;
with Orka.Transforms.Doubles.Quaternions;
with Orka.Transforms.Doubles.Vectors;
with Planets.Earth;
package Coordinates is
package Quaternions renames Orka.Transforms.Doubles.Quaternions;
package Ve... |
test/asm/narg-decreases-after-shift.asm | clach04/rgbds | 1 | 3958 | <filename>test/asm/narg-decreases-after-shift.asm
testing: MACRO
db _NARG
shift
db _NARG
shift
db _NARG
shift
db _NARG
shift
db _NARG
ENDM
SECTION "Test output", ROM0
testing 1, 2, 3
|
Data/ShipModelMetaData2.asm | TinfoilAsteroid/EliteNext | 9 | 27012 | <filename>Data/ShipModelMetaData2.asm
ShipModelTable2: DW Dragon ;16 $10
DW Escape_Pod ;17 $11
DW Fer_De_Lance ;18 $12
DW Gecko ... |
programs/oeis/097/A097251.asm | karttu/loda | 1 | 171120 | <reponame>karttu/loda
; A097251: Numbers whose set of base 5 digits is {0,4}.
; 0,4,20,24,100,104,120,124,500,504,520,524,600,604,620,624,2500,2504,2520,2524,2600,2604,2620,2624,3000,3004,3020,3024,3100,3104,3120,3124,12500,12504,12520,12524,12600,12604,12620,12624,13000,13004,13020,13024,13100,13104,13120,13124,15000,... |
oeis/229/A229324.asm | neoneye/loda-programs | 11 | 179755 | ; A229324: Composite squarefree numbers n such that p + tau(n) divides n - phi(n), where p are the prime factors of n, tau(n) = A000005(n) and phi(n) = A000010(n).
; Submitted by <NAME>
; 115,205,295,565,655,745,835,1195,1285,1465,1555,1735,1915,2005,2095,2455,2545,2815,2995,3085,3265,3715,3805,3985,4435,4705,4885,5065... |
alloy4fun_models/trashltl/models/5/LfTgXYhskYLbkio8m.als | Kaixi26/org.alloytools.alloy | 0 | 3740 | <gh_stars>0
open main
pred idLfTgXYhskYLbkio8m_prop6 {
once File in Trash implies always File in Trash
}
pred __repair { idLfTgXYhskYLbkio8m_prop6 }
check __repair { idLfTgXYhskYLbkio8m_prop6 <=> prop6o } |
src/spawner/spawner.asm | tomsons26/ts-patches | 1 | 96478 | %include "macros/patch.inc"
%include "macros/datatypes.inc"
%include "TiberianSun.inc"
%include "ini.inc"
%include "patch.inc"
cglobal SpawnerActive
cglobal INIClass_SPAWN
cglobal SpawnLocationsArray
cglobal SpawnLocationsHouses
gbool SavesDisabled, true
gbool QuickMatch, false
gbool IsHost, true
cextern Load_Specta... |
libsrc/z80_crt0s/crt0/l_ghtonsint.asm | meesokim/z88dk | 0 | 81184 | <filename>libsrc/z80_crt0s/crt0/l_ghtonsint.asm<gh_stars>0
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; Quicky to make network progs quicker
PUBLIC l_ghtonsint
.l_ghtonsint
ld a,(hl)
inc ... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/英語_PAL/pal_asm/zel_msge2.asm | prismotizm/gigaleak | 0 | 91013 | Name: zel_msge2.asm
Type: file
Size: 198651
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: D34738916A0EACB30BA6EC13A8ECACC93D4A5ED3
Description: null
|
Task/XML-XPath/AppleScript/xml-xpath-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2207 | set theXMLdata to "<inventory title=\"OmniCorp Store #45x10^3\">
<section name=\"health\">
<item upc=\"123456789\" stock=\"12\">
<name>Invisibility Cream</name>
<price>14.50</price>
<description>Makes you invisible</description>
</item>
<item upc=\"445322344\" stock=\"18\">
<name>L... |
Library/Styles/Manip/manipSaveRecall.asm | steakknife/pcgeos | 504 | 246268 | COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Styles
FILE: Manip/manipSaveRecall.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 12/91 Initial ver... |
macros.asm | kosmospredanie/mips-asm-examples | 0 | 244088 | <gh_stars>0
# macros.asm
#
# Terminates the program.
#
# @param $val Exit status
.macro exit (%val)
li $a0, %val
li $v0, 17 # Code for syscall: exit2
syscall
.end_macro
# Prints the given integer.
#
# @param %val May be either an immediate value or register name
.macro print_int (%val)
add $a0, $zero,... |
oeis/016/A016902.asm | neoneye/loda-programs | 11 | 177699 | ; A016902: a(n) = (5*n + 4)^6.
; 4096,531441,7529536,47045881,191102976,594823321,1544804416,3518743761,7256313856,13841287201,24794911296,42180533641,68719476736,107918163081,164206490176,243087455521,351298031616,496981290961,689869781056,941480149401,1265319018496,1677100110841,2194972623936,2839760855281,3635215077... |
src/glfw/v2/glfw-api.ads | Roldak/OpenGLAda | 0 | 8486 | <filename>src/glfw/v2/glfw-api.ads
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.Enums;
with Glfw.Display;
with Glfw.Events.Keys;
with Glfw.Events.Mouse;
with Glfw.Events.Joysticks;
with Interfaces.C.Strings;
with System;
private package Glf... |
Cat.agda | clarkdm/CS410 | 0 | 7976 | <filename>Cat.agda
module Cat where
open import Agda.Primitive
open import CS410-Prelude
open import CS410-Nat
open import CS410-Monoid
open import CS410-Vec
record Cat {k}{l}(O : Set k)(_>>_ : O -> O -> Set l) : Set (lsuc (k ⊔ l)) where
field
-- OPERATIONS ------------------------------------------------------... |
kernel/krnl/isr_handler.asm | foreverbell/BadAppleOS | 52 | 170027 | [extern _isr_dispatcher]
%macro isr 1
global _isr_handler%1
_isr_handler%1:
cli
push 0 ; dummy error code
push %1 ; exception index
jmp isr_routine
%endmacro
%macro isr_ec 1 ; with error code
global _isr_handler%1
_isr_handler%1:
cli
push %1
jmp isr_routine
%en... |
programs/oeis/187/A187443.asm | neoneye/loda | 22 | 94710 | <filename>programs/oeis/187/A187443.asm
; A187443: A trisection of A001405 (central binomial coefficients): binomial(3n+1,floor((3n+1)/2)), n>=0.
; 1,6,35,252,1716,12870,92378,705432,5200300,40116600,300540195,2333606220,17672631900,137846528820,1052049481860,8233430727600,63205303218876,495918532948104,382434530038022... |
examples/life.asm | denizzzka/dcpu16 | 0 | 89939 | <filename>examples/life.asm<gh_stars>0
; Conway's Game of Life
; Renders a 64x64 field by writing characters
; on a 16x8 grid
; map screen
SET A, 0
SET B, 0x8000
HWI 0
; map font
SET A, 1
SET B, 0x8180
HWI 0
; border color
SET A, 3
SET B, 0x4
HWI 0
ADD PC, 1
:randseed
dat 0xACE1 ; change to get different initial st... |
Source Codes Testing/add2.asm | aravindvnair99/emu8086 | 11 | 6942 | .MODEL small
.STACK
.DATA
.CODE
.STARTUP
MOV ah, 04h
MOV al, 05h
MOV bh, 02h
MOV bl, 03h
add ah,al
add ah,bh
.EXIT
end |
impl/src/main/antlr4/imports/ConfigBnf.g4 | groupon/monsoon | 32 | 3586 | /*
* Copyright (c) 2016, Groupon, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditio... |
libsrc/_DEVELOPMENT/target/rc2014/device/lut/z80/l_lut_mulu_32_16x16.asm | Frodevan/z88dk | 640 | 96970 | ;
; feilipu, 2020 March
;
; 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/.
;
;------------------------------------------------------------------------------
;
; Using... |
source/numerics/a-nurear.ads | ytomino/drake | 33 | 17383 | <gh_stars>10-100
pragma License (Unrestricted);
with Ada.Numerics.Generic_Real_Arrays;
package Ada.Numerics.Real_Arrays is
new Generic_Real_Arrays (Float);
pragma Pure (Ada.Numerics.Real_Arrays);
|
oeis/213/A213327.asm | neoneye/loda-programs | 11 | 99377 | <gh_stars>10-100
; A213327: Analog of Fermat quotients: a(n) = ((round((phi_2)^p)-2)/p, where phi_2 is silver ratio 1+sqrt(2) and p = prime(n).
; Submitted by <NAME>
; 2,4,16,68,1476,7280,189120,986244,27676612,4346071600,23696518916,3930960079760,120508933265760,669708812842692,20814182249890948,3654563002853231440,65... |
libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_next.asm | jpoikela/z88dk | 640 | 12437 | <filename>libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_next.asm<gh_stars>100-1000
; ===============================================================
; Sep 2014
; ===============================================================
;
; void *p_list_next(void *item)
;
; Return next item in list.
;
; ========================... |
modules/incrementCursor.asm | antuniooh/assembly-calculator | 2 | 27148 | <reponame>antuniooh/assembly-calculator
INCREMENT_CURSOR:
mov A, #0Eh
INC 70h
CALL delay
CJNE A, 70h, RETURN
mov 70h, #40h
RET
RETURN:
RET
|
source/numerics/a-ngrear.adb | ytomino/drake | 33 | 30812 | with Ada.Numerics.Generic_Arrays;
package body Ada.Numerics.Generic_Real_Arrays is
package Elementary_Functions is
subtype Float_Type is Real;
function Sqrt (X : Float_Type'Base) return Float_Type'Base;
end Elementary_Functions;
package body Elementary_Functions is
function Sqrt (X : Fl... |
Cubical/DStructures/Structures/Strict2Group.agda | Schippmunk/cubical | 0 | 5011 | <reponame>Schippmunk/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Structures.Strict2Group where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.... |
P6/data_P6_2/cal_R_test19.asm | alxzzhou/BUAA_CO_2020 | 1 | 85692 | lui $1,13373
ori $1,$1,44321
lui $2,54545
ori $2,$2,65140
lui $3,18337
ori $3,$3,26249
lui $4,38023
ori $4,$4,18979
lui $5,58687
ori $5,$5,35925
lui $6,4600
ori $6,$6,8762
mthi $1
mtlo $2
sec0:
nop
nop
nop
sltu $5,$6,$2
sec1:
nop
nop
nor $6,$6,$2
sltu $2,$6,$2
sec2:
nop
nop
slti $6,$2,29352
sltu $1,$6,$2
se... |
oeis/016/A016856.asm | neoneye/loda-programs | 11 | 241191 | ; A016856: a(n) = (5*n)^8.
; 0,390625,100000000,2562890625,25600000000,152587890625,656100000000,2251875390625,6553600000000,16815125390625,39062500000000,83733937890625,167961600000000,318644812890625,576480100000000,1001129150390625,1677721600000000,2724905250390625,4304672100000000,6634204312890625,10000000000000000... |
examples/03_paletteBasics/03_paletteBasics.asm | freem/nes_corelib | 16 | 81965 | <reponame>freem/nes_corelib
; freemco NES Corelib Example 03: Palette Basics
;==============================================================================;
; This example shows how to set the entire palette, and displays both the
; active background and sprite colors.
;================================================... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/test_unit.adb | ouankou/rose | 488 | 18651 | with Ada.Strings.Unbounded;
package body Test_Unit is
task type Boring_Task_Type is
entry Drop_Off_Work (Work_In : in Range_Type);
end Boring_Task_Type;
task body Boring_Task_Type is
Work : Range_Type := 5;
Result : Integer := 0;
Factor : constant Positive := 2;
begin
loop
... |
04/divide/Divide.asm | yairfine/nand-to-tetris | 1 | 3583 | // D13 - Dividend
// D14 - Divisor
// if D == 0 jump to END
@R14
D=M
@END
D; JEQ
@R15
M=0
@remainder
M=0
@16384
D=A
// D=D<<
@mask
M=D
(LOOP)
@remainder
M=M<<
// Set LSB of the remainder to the i'th bit of the dividend.
@R13
D=M
@mask
D=D&M
// R[0] = R13[i]
@AFTER_REMEINDER_... |
VenanziosProblem.agda | nad/codata | 1 | 9377 | <filename>VenanziosProblem.agda
------------------------------------------------------------------------
-- A solution to a problem posed by <NAME>
------------------------------------------------------------------------
module VenanziosProblem where
open import Codata.Musical.Notation
open import Codata.Musical.Stre... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_rtf.adb | caqg/linux-home | 0 | 15189 | <filename>.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_rtf.adb
with --ARM_Output,
--ARM_Contents,
--Ada.Text_IO,
Ada.Exceptions,
Ada.Streams.Stream_IO,
Ada.Strings.Maps,
Ada.Strings.Fixed,
Ada.Characters.Handling,
Ada.Calendar,
Ada.Unchecked_Conversion;
package body ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.