text stringlengths 1 1.05M |
|---|
;sequence
loop
dw ptn0
dw ptn0
dw ptn1
dw ptn1
dw ptn2
dw ptn2
dw ptn3
dw ptn3
dw ptn4
dw ptn4
dw ptn3
dw ptn3
dw 0
ptn0
dw #404,#0080,row0
dw #400,row1
dw #400,row2
dw #400,row3
dw #401,#0080,row4
dw #400,row5
dw #400,row6
dw #400,row7
dw #480,#0080,row8
dw #400,row1
... |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB "Enter the Number1 : $"
PROMPT_2 DB "Enter the Number2 : $"
PROMPT_3 DB "Smallest one : $"
.CODE
MAIN PROC
MOV... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Utility code.
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "saverestore.h"
#include "globalstate.h"
#include <stdarg.h>
#include "shake.h"
#i... |
#note: r40 (the exception handler) and r46 (the start of usermode code) must
#be specified in hex (0xwhatever)
#I just don't see any reason not to, and it makes programming the script
#much nicer to deal with...
#load exception handler
lc r40, 0x80000050
leh r40
#enable exceptions
cle
#load TLB ent... |
; A022367: Fibonacci sequence beginning 2, 10.
; 2,10,12,22,34,56,90,146,236,382,618,1000,1618,2618,4236,6854,11090,17944,29034,46978,76012,122990,199002,321992,520994,842986,1363980,2206966,3570946,5777912,9348858,15126770,24475628,39602398,64078026,103680424,167758450,271438874,439197324,710636198,1149833522,18604697... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#i... |
; A138298: First differences of A137976 after having added two leading ones.
; 0,2,10,21,110,233,1220,2584,13530,28657,150050,317811,1664080,3524578,18454930,39088169,204668310,433494437,2269806340,4807526976,25172538050,53316291173,279167724890,591286729879,3096017511840
mov $21,$0
mov $23,$0
lpb $23
clr $0,21
mo... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x3546, %rbx
clflush (%rbx)
nop
nop
nop
cmp $35843, %r11
movb (%rbx), %dl
nop
nop
and %rsi, %rsi
lea addresses_A_ht+0x11b26, %r14
nop
nop
nop
nop
nop
and $33243, %r10... |
copyright zengfr site:http://github.com/zengfr/romhack
003A02 movem.l D0-D3, -(A6)
003A06 movem.l D0-D3, -(A6)
009ACA dbra D5, $9ac8
copyright zengfr site:http://github.com/zengfr/romhack
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tsLargeCharClass.asm
AUTHOR: John Wedgwood, Nov 26, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Da... |
;,; SC00_000
;,; <- ibpcaablocks
;,; <- player_ivars
;,; <- player_songdata
;,; <- lyrics
;,; &- init
!src "demosrc/smac.inc"
; method 4 ( clrscr0 bytes ) -- 31 bytes (31 cumu)
; method 5 ( clrscr0 ibpc0 bytes ) -- 31 bytes (31 cumu)
; method 6 ( clrscr0 bytes ) -- 31 bytes (31 cumu)
; method 7 ( clrscr0 ibpc0 ibpcaa ... |
#ruledef {
emit {x: u8} => x
run => asm
{
test
emit 0x10
}
test => asm
{
test2 end
test2 end
end:
}
test2 {l: u32} => asm
{
emit l
emit end
end:
}
}
run ; = 0x04_02_04_04_10
emit $ ; = 0x05 |
; A216983: The integers sieved by 7, 5, 3, and 2.
; Submitted by Jon Maiga
; 7,1,2,3,2,5,3,7,2,3,5,1,3,1,7,5,2,1,3,1,5,7,2,1,3,5,2,3,7,1,5,1,2,3,2,7,3,1,2,3,5,1,7,1,2,5,2,1,3,7,5,3,2,1,3,5,7,3,2,1,5,1,2,7,2,5,3,1,2,3,7,1,3,1,2,5,2,7,3,1,5,3,2,1,7,5,2
gcd $0,362880
mov $2,1
lpb $0
mov $3,$0
lpb $3
mov $4,$0
... |
; void __CALLEE__ sp1_MoveSprPix_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y)
; 02.2008 aralbrec, Sprite Pack v3.0
; zx81 hi-res version
XLIB sp1_MoveSprPix_callee
XDEF ASMDISP_SP1_MOVESPRPIX_CALLEE
LIB sp1_MoveSprAbs_callee
XREF ASMDISP_SP1_MOVESPRABS_CALLEE
XREF SP1V_TEMP_IY
.sp1_... |
IF !__CPU_INTEL__ && !__CPU_GBZ80__
; ===============================================================
; Dec 2012 by Einar Saukas
; "Agile" integrated RCS+ZX7 decoder by Einar Saukas (151 bytes)
; ===============================================================
;
; void dzx7_agile_rcs(void *src, void *dst)
;
; Decompre... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xf2d7, %rsi
lea addresses_A_ht+0x15557, %rdi
nop
nop
nop
nop
nop
inc %r10
mov $78, %rcx
rep movsq
nop
nop
nop
nop
xor %r10, %r10
lea addresses_WT_ht+0x86d7, %r10
nop
nop
nop
... |
; A047537: Numbers that are congruent to {1, 4, 7} mod 8.
; 1,4,7,9,12,15,17,20,23,25,28,31,33,36,39,41,44,47,49,52,55,57,60,63,65,68,71,73,76,79,81,84,87,89,92,95,97,100,103,105,108,111,113,116,119,121,124,127,129,132,135,137,140,143,145,148,151,153,156,159
mov $1,8
mul $1,$0
add $1,5
div $1,3
|
@localsize 1, 1, 1
@buf 4 ; g[0]
@const(c0.x) 0.0, 0.0, 0.0, 0.0
@const(c1.x) 1.0, 2.0, 3.0, 4.0
@wgid(r48.x) ; r48.xyz
@invocationid(r0.x) ; r0.xyz
@numwg(c2.x) ; c2.xyz
mov.f32f32 r2.x, c0.y
mov.u32u32 r0.x, 0x12345678
mov.u32u32 r0.y, 0x12345678
mov.u32u32 r0.z, 0x12345678
add.u r2.x, c0.x, r2.x
mov... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates.
* 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 applic... |
SECTION code_graphics
PUBLIC unplot
PUBLIC _unplot
PUBLIC unplot_callee
PUBLIC _unplot_callee
PUBLIC asm_unplot
EXTERN w_respixel
; int unplot(int x, int y) __smallc;
unplot:
_unplot:
ld hl,sp+2
ld e,(hl) ;y
inc hl
ld d,(hl)
inc hl
ld a,(hl) ;x
inc hl
ld h,(hl)
ld l,a
jp w_respixel
unplot_callee... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="path, mode"/>
<%docstring>
Invokes the syscall mkdir. See 'man 2 mkdir' for more information.
Arguments:
path(char): path
mode(mode_t): mode
</%docstring>
${syscall('SYS_mkdir', path, mode)}
|
; A302546: a(n) = Sum_{k = 1...n} 2^binomial(n, k).
; Submitted by Jamie Morken(w2)
; 0,2,6,18,98,2114,1114242,68723671298,1180735735906024030722,170141183460507917357914971986913657858,7237005577335553223087828975127304179197147198604070555943173844710572689410
mov $2,$0
lpb $0
sub $0,1
mov $3,2
mov $4,$2
bin... |
; A084241: a(n) = -5*a(n-1)-4*a(n-2) with n>1, a(0)=0, a(1)=1.
; 0,1,-5,21,-85,341,-1365,5461,-21845,87381,-349525,1398101,-5592405,22369621,-89478485,357913941,-1431655765,5726623061,-22906492245,91625968981,-366503875925,1466015503701,-5864062014805,23456248059221,-93824992236885
add $0,1
mov $1,-4
pow $1,$0
div $1,... |
; A245339: Sum of digits of n written in fractional base 10/9.
; 0,1,2,3,4,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,17,18,19,20,21,22,23,24,25,26,24,25,26,27,28,29,30,31,32,33,30,31,32,33,34,35,36,37,38,39,35,36,37,38,39,40,41,42,43,44,39,40,41,42,43,44,45,46
mov $1,$0
div $1,10
lpb $1
sub $0,$1
sub $1,1
lpe
|
db DEX_SLOWPOKE ; pokedex id
db 90 ; base hp
db 65 ; base attack
db 65 ; base defense
db 15 ; base speed
db 40 ; base special
db WATER ; species type 1
db PSYCHIC ; species type 2
db 190 ; catch rate
db 99 ; base exp yield
INCBIN "pic/ymon/slowpoke.pic",0,1 ; 55, sprite dimensions
dw SlowpokePicFront
dw SlowpokePicBack... |
.include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 0
card_id equ 14
card_no equ "014"
card_sub equ "Item Card 014"
card_sub_... |
/*****************************************************************************************
* *
* OpenSpace *
* ... |
; A037087: Beatty sequence for e^(1/e).
; 0,1,2,4,5,7,8,10,11,13,14,15,17,18,20,21,23,24,26,27,28,30,31,33,34,36,37,39,40,41,43,44,46,47,49,50,52,53,54,56,57,59,60,62,63,65,66,67,69,70,72,73,75,76,78,79,80,82,83,85,86,88,89,91,92,93,95
mov $1,26
mul $1,$0
div $1,18
mov $0,$1
|
; A048775: Number of (partially defined) monotone maps from intervals of 1..n to 1..n.
; 1,7,31,121,456,1709,6427,24301,92368,352705,1352066,5200287,20058286,77558745,300540179,1166803093,4537567632,17672631881,68923264390,269128937199,1052049481838,4116715363777,16123801841526,63205303218851,247959266474026,9734697128... |
; A080413: Take the rightmost three binary digits of n (for n<4 padded with leading zeros) and rotate left 1 digit.
; 0,2,4,6,1,3,5,7,8,10,12,14,9,11,13,15,16,18,20,22,17,19,21,23,24,26,28,30,25,27,29,31,32,34,36,38,33,35,37,39,40,42,44,46,41,43,45,47,48,50,52,54,49,51,53,55,56,58,60,62,57,59,61,63,64,66,68,70,65,67,69... |
; void *obstack_copy(struct obstack *ob, void *address, size_t size)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC _obstack_copy
EXTERN asm_obstack_copy
_obstack_copy:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp asm_obstack_copy
|
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Buffer Definitions:
//
// cbuffer cbSimulationConstants
// {
//
// uint g_iNumParticles; // Offset: 0 Size: 4
// float g_fTimeStep; // Offset: 4 Size: 4 [unused]
// float g_fSmoothlen; ... |
#include <omp.h>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include "logger.hpp"
#include "junction.hpp"
using namespace std ;
JunctionKmerExtractor::JunctionKmerExtractor(int threads): threads(threads) {}
void JunctionKmerExtractor::run() {
cout << "--------------------------------------------... |
; A315537: Coordination sequence Gal.6.641.4 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,6,11,17,23,28,34,39,45,51,56,62,68,73,79,85,90,96,101,107,113,118,124,130,135,141,147,152,158,163,169,175,180,186,192,197,203,209,214,220,... |
; Mew's pics and base data are not grouped with the other Pokémon
; because it was a last-minute addition "as a kind of prank".
; Shigeki Morimoto explained in an Iwata Asks interview:
; "We put Mew in right at the very end. The cartridge was really full and
; there wasn't room for much more on there. Then the debug fe... |
#include <cstdint>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "baldr/rapidjson_utils.h"
#include <boost/property_tree/ptree.hpp>
#include "baldr/directededge.h"
#include "baldr/graphreader.h"
#include "baldr/merge.h"
#include "baldr/nodeinfo.h"
#include "baldr/tilehierarchy.... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x79c9, %r15
clflush (%r15)
nop
add $1728, %r14
movw $0x6162, (%r15)
nop
nop
and %rsi, %rsi
lea addresses_normal_ht+0x6e61, %r12
cmp %r8, %r8
movl $0x61626364, (%r12)
nop
nop
cm... |
; General Graphics macros
DoubleBufferIfPossible: MACRO
IFDEF DOUBLEBUFFER
MMUSelectLayer2
call l2_cls
call l2_flip_buffers
ENDIF
ENDM |
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
;* This program and the accompanying materials
;* are licensed and made available under the terms and conditions of the BSD License ... |
; A157511: a(n) = 5000*n^2 + 200*n + 1.
; 5201,20401,45601,80801,126001,181201,246401,321601,406801,502001,607201,722401,847601,982801,1128001,1283201,1448401,1623601,1808801,2004001,2209201,2424401,2649601,2884801,3130001,3385201,3650401,3925601,4210801,4506001,4811201,5126401,5451601,5786801,6132001,6487201,6852401,7... |
; A250655: Number of (n+1) X (7+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction.
; 81,169,345,697,1401,2809,5625,11257,22521,45049,90105,180217,360441,720889,1441785,2883577,5767161,11534329,23068665,46137337,92274681,184549369,369098745,738... |
TITLE CVPACKRN - Copyright (c) SLR Systems 1992
INCLUDE MACROS
if 0
PUBLIC CVPACK_RUNNER
.DATA
SOFT EXTB FILNAM,TEMP_RECORD,ASCIZ
SOFT EXTW PSP_SAVER,STARTING_SP,HOST_BASE
.CODE ROOT_TEXT
ASSUME DS:NOTHING
SOFT EXTF $$SLR_OVL_TERM
if fgh_dpmi
CMDLINE EQU TEMP_RECORD
CVPACK_RUNNER PROC
;
... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
.586
.model flat
option casemap:none
.code
include AsmMacros.inc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
Colosseum_Object:
db $e ; border block
db 0 ; warps
db 0 ; signs
db 1 ; objects
object SPRITE_RED, 2, 2, STAY, 0, 1 ; person
|
; Copyright (c) 2018 Upi Tamminen, All rights reserved.
; See the LICENSE file for more information
*=$fc00 ; rom is at top of memory fc00-ffff
num1 = $0200 ; counter, intended to be attached to leds
scountl = $0201 ; sleep counter low byte
scounth = $0202 ; sleep counter low byte
ldx #$ff ; setup stack
txs
... |
#include "Platform.inc"
#include "Motor.inc"
#include "States.inc"
#include "WaitState.inc"
radix decimal
defineMotorState MOTOR_STATE_REVERSE
.setBankFor motorState
movlw MOTOR_STATE_SOFTSTOP
movwf motorState
movlw MOTOR_STATE_REVERSE2
movwf motorStateAfterStopped
returnFromMotorState
defineMo... |
; =============================================================================
; Pure64 PXE Start -- a 64-bit OS loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2014 Return Infinity -- see LICENSE.TXT
;
; This is a stub file for loading Pure64 and a kernel via PXE.
;
; Windows - copy /b pxesta... |
#include <boost/serialization/vector_135.hpp>
|
.segment "HEADER"
.byte "NES", $1a
.byte $02
.byte $01
.byte %00000001
.byte $00, $00, $00, $00
.byte $00, $00, $00, $00, $00
.struct Entity
xpos .byte 1
ypos .byte 1
width .byte 1
height .byte 1
xspeed .byte 1
yspeed .byte 1
.endstruct
.segment "ZEROPAGE"
controller1: .res 1
controller2:... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1a315, %r15
dec %rsi
movb (%r15), %r14b
nop
nop
nop
nop
dec %r12
lea addresses_WT_ht+0x5255, %rsi
lea addresses_WC_ht+0x2af, %rdi
nop
nop
and %r15, %r15
mov $117, %rcx
rep mo... |
_ls: file format elf32-littlearm
Disassembly of section .text:
00000000 <fmtname>:
0: e92d4810 push {r4, fp, lr}
4: e28db008 add fp, sp, #8
8: e24dd014 sub sp, sp, #20
c: e50b0018 str r0, [fp, #-24] ; 0xffffffe8
10: e51b0018 ldr r0, [fp, #-24] ; 0xffffffe8
14: eb0001... |
; Patch out copy protection
org $008000
db $FF
; Set SRAM size
if !FEATURE_SD2SNES
org $00FFD8
db $08 ; 256kb
else
org $00FFD8
db $05 ; 64kb
endif
; Skip intro
; $82:EEDF A9 95 A3 LDA #$A395
org $82EEDF
LDA #$C100
; Skips the waiting time after teleporting
org $90E870
JMP $E8... |
;trap 5 reads an integer from the user console and places the value into register 2
trap 5 ;reads in user integer
add $4, $0, $2 ;moves the value into register 4
trap 1 ; prints the number the user entered
trap 0 ; stops the program |
; A010885: Period 6: repeat [1, 2, 3, 4, 5, 6].
; 1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3
mod $0,6
add $0,1
|
; A152105: a(n) = ((8 + sqrt4)^n + (8 - sqrt4)^n)/2.
; 1,8,68,608,5648,53888,523328,5139968,50839808,505038848,5030233088,50181398528,501088391168,5006530347008,50039182082048,500235092492288,5001410554953728,50008463329722368,500050779978334208
mov $1,6
pow $1,$0
mov $2,10
pow $2,$0
add $1,$2
mov $0,$1
div $0,2
|
; A156574: a(n) = 34*a(n-1)-a(n-2)-4232 for n > 2; a(1)=1369, a(2)=42025.
; Submitted by Jon Maiga
; 1369,42025,1423249,48344209,1642275625,55789022809,1895184495649,64380483825025,2187041265550969,74295022544903689,2523843725261170225,85736391636334879729,2912513471910124736329,98939721653307906151225
seq $0,156569 ;... |
// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
//
// 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... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int mtx_timedlock(mtx_t *m, struct timespec *ts)
;
; Block until the mutex is acquired or timeout occurs.
;
; =============================================================... |
; A322677: a(n) = 16 * n * (n+1) * (2*n+1)^2.
; 0,288,2400,9408,25920,58080,113568,201600,332928,519840,776160,1117248,1560000,2122848,2825760,3690240,4739328,5997600,7491168,9247680,11296320,13667808,16394400,19509888,23049600,27050400,31550688,36590400,42211008,48455520,55368480,62995968,71385600,80586528,90649440,10... |
;Write a program to (a) display a "?", (b) read two decimal digits who.se sum "is less than 10, (c) display them and their sum on the next line, with an appropriate message.
.model small
.stack 100h
.data
msg1 db 'the num of $'
msg2 db ' and $'
msg3 db ' is $'
.code
main proc
;output ?
mov ah, 2
... |
/*
** Copyright (C) 1998-2010 George Tzanetakis <gtzan@cs.uvic.ca>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="addr, length"/>
<%docstring>
Invokes the syscall munlock. See 'man 2 munlock' for more information.
Arguments:
addr(void): addr
len(size_t): len
</%docstring>
${syscall('SYS_munlock', addr, length)}
|
#define CV_CPU_SIMD_FILENAME "C:/opencv/sources/modules/core/src/mean.simd.hpp"
#define CV_CPU_DISPATCH_MODE AVX2
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
#define CV_CPU_DISPATCH_MODES_ALL AVX2, BASELINE
#undef CV_CPU_SIMD_FILENAME
|
.data
CHARBUFFER: .byte 0,0
DELIMITERS: .byte 32,44,0,46, -1
g1: .asciiz "Enter file name: "
g2: .asciiz "Enter a word to search for: "
.text
# prints a char %x to the screen
.macro print_char (%x)
sw $a0, -4($sp)
sw $v0, -8($sp)
add $v0, $0, 11
add $a0, $0, %x
syscall
lw $v0, -8($sp)
lw $a0, -4($sp)
.end_macro... |
; void *wv_priority_queue_top(wv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC wv_priority_queue_top
EXTERN asm_wv_priority_queue_top
defc wv_priority_queue_top = asm_wv_priority_queue_top
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _wv_priority_queue_top
defc _wv_priority_que... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
;
; ZX Spectrum ZXMMC specific routines
; code by Alessandro Poppi
; ported to z88dk by Stefano Bodrato - Feb 2010
;
; $Id: mmc_waitdata_token.asm,v 1.3 2016-06-10 21:28:03 dom Exp $
;
;
;-----------------------------------------------------------------------------------------
; WAIT FOR DATA TOKEN ($FE) subroutine ... |
.macosx_version_min 10, 11
.section __TEXT,__text,regular,pure_instructions
L100000F80:
pushq %rbp
movq %rsp, %rbp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl -8(%rbp), %eax
addl $66, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
popq %rbp
ret
# ---------... |
; A141910: Primes congruent to 6 mod 23.
; 29,167,397,443,673,719,811,857,1087,1409,1777,1823,2053,2099,2237,2467,2789,2927,3019,3203,3433,3571,3617,3709,3847,4261,4583,4721,4813,4951,5227,5273,5503,5641,5779,6101,6469,6607,6653,6791,6883,7159,7297,7481,7573,7757,8171,8263,8447,8539,8677,8861,8999,9091,9137,9413,9551,9... |
/**
* @file Downloader.cpp
* @brief Downloader class implementation.
* @author zer0
* @date 2017-04-02
*/
#include <dsn/Downloader.hpp>
#include <dsn/MainFrame.hpp>
#include <wx/url.h>
#include <wx/wfstream.h>
#include <wx/sstream.h>
#include <wx/zipstrm.h>
#include <wx/filesys.h>
#include <wx/filefn.h>
#in... |
#include <smoke/chain/database.hpp>
#include <smoke/chain/witness_objects.hpp>
#include <smoke/chain/witness_schedule.hpp>
#include <smoke/protocol/config.hpp>
namespace smoke { namespace chain {
void reset_virtual_schedule_time( database& db )
{
const witness_schedule_object& wso = db.get_witness_schedule_objec... |
//===- HexagonNewValueJump.cpp - Hexagon Backend New Value Jump -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
// Copyright (c) 2014-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
#include <versionbits.h>
#include <test/test_unite.h>
#include <chainparams.h>
#include <validation.h>
#in... |
#include "Disassemble.h"
#include "JanusContext.h"
#include "Function.h"
#include "Utility.h"
#include "capstone/capstone.h"
#include "janus_arch.h"
#include "IO.h"
using namespace janus;
using namespace std;
/* Generate output states for a given instruction */
static void liftInstruction(Instruction &instr, Function... |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <runcmd>:
struct cmd *parsecmd(char*);
// Execute cmd. Never returns.
void
runcmd(struct cmd *cmd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xd1db, %r15
nop
cmp %rbp, %rbp
movb (%r15), %cl
xor %r14, %r14
lea addresses_WC_ht+0x22db, %r11
nop
nop
nop
dec %rdi
mov (%r11), %r14d
nop
nop
nop
and %r11, %r11
lea addresse... |
;
; Initialization
;
.ORIG x3000
LD R6, EMPTY ; R6 is the stack pointer
LD R5, PTR ; R5 is pointer to characters
AND R0, R0, #0
ADD R0, R0, #10 ; Print a new line
OUT
;
REDO LDR R3, R5, #0 ; R3 gets character
;
; Test character for end of file
;
ADD R4, R3, #-10 ; Test for end ... |
; A218444: a(n) = Sum_{k>=0} floor(n/(5*k + 1)).
; 0,1,2,3,4,5,7,8,9,10,11,13,15,16,17,18,20,21,23,24,25,27,29,30,32,33,35,36,37,38,40,42,44,46,47,48,51,52,53,54,55,57,60,61,63,64,66,67,70,71,72,74,76,77,79,81,83,84,85,86,88,90,92,94,96,97,101,102,103,104,105
mov $2,$0
lpb $2
add $3,5
mov $4,$2
lpb $4
add $1... |
%include "util.mac"
extern buffer, store, array, inprompt, newline, arraysize, inpromptsize, newlinesize, inputarray, printarray
section .data
outprompt1: db '2ND MAXIMUM OUTPUT: '
outprompt2: db '2ND MINIMUM OUTPUT: '
outpromptsize: equ 20
section .bss
max: resb 1
min: resb 1
nthmax: resb 1
nthmin: resb 1
se... |
; A015978: Inverse of 1969th cyclotomic polynomial.
; Submitted by Jon Maiga
; 1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $2,$0
div $0,2
sub $0,5
pow $1,0
lpb... |
/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
*************************************... |
#include <lightstep/tracer.h>
#include <lightstep/version.h>
#include <opentracing/string_view.h>
#include <opentracing/value.h>
#include <opentracing/version.h>
#include <cstdint>
#include <cstdio>
#include <iostream>
#include <memory>
#include <sstream>
#include <vector>
#include "auto_recorder.h"
#include "grpc_tran... |
# Version 2, do nothing, then Exit
# switch to the Text segment
.text
.globl main
main:
#rest of the main program will go here
#call function Exit0
jal Exit0 #end program, default return status
#------------------------------------------------------------------
# Wrapper functions around some of the system ca... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 Intel Corporation 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 so... |
; A214955: Number of solid standard Young tableaux of shape [[n,n-1],[1]].
; 1,6,25,98,378,1452,5577,21450,82654,319124,1234506,4784276,18572500,72209880,281150505,1096087770,4278278070,16717354500,65388738030,256000696380,1003116947820,3933750236520,15437682614250,60625494924228,238235373671148,936735006679752,3685278... |
; A005985: Length of longest trail (i.e., path with all distinct edges) on the edges of an n-cube.
; 0,1,4,9,32,65,192,385,1024,2049,5120,10241,24576,49153,114688,229377,524288,1048577,2359296,4718593,10485760,20971521,46137344,92274689,201326592,402653185,872415232,1744830465,3758096384,7516192769,16106127360,32212254... |
user/_init: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 sd s1,8(sp)
8: e04a ... |
/*
MIT License
Copyright(c) 2018-2020 megai2
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 limitation the rights
to use, copy, modify, merge, publish, dist... |
object_const_def ; object_event constants
const ROUTE19_SWIMMER_GIRL
const ROUTE19_SWIMMER_GUY1
const ROUTE19_SWIMMER_GUY2
const ROUTE19_SWIMMER_GUY3
const ROUTE19_FISHER1
const ROUTE19_FISHER2
Route19_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_TILES, .ClearRocks
.ClearRocks:
c... |
bits 64
retn
dq 0
db "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*"
dq 0
db "This is a HVI test file",0 |
// The following casuses an exception in pass 2
// https://gitlab.com/camelot/kickc/-/issues/561
// Commodore 64 PRG executable file
.file [name="function-pointer-problem-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=... |
/*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 16:20:00 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
#include<math.h>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(doubl... |
SECTION code_fp_am9511
PUBLIC exp10_fastcall
EXTERN _am9511_exp10
defc exp10_fastcall = _am9511_exp10
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _exp10_fastcall
defc _exp10_fastcall = _am9511_exp10
ENDIF
|
; *****************************************************************************
; *****************************************************************************
;
; Name: rpl.asm
; Purpose: RPL Handler
; Created: 15th April 2020
; Reviewed: TODO
; Author: Paul Robson (paul@robsons.org.uk)
;
; *******************... |
.byte MAPOBJ_HELP, MAPOBJ_EMPTY, MAPOBJ_TANK, MAPOBJ_BATTLESHIP, MAPOBJ_W8AIRSHIP, MAPOBJ_TANK, MAPOBJ_EMPTY, MAPOBJ_EMPTY, MAPOBJ_EMPTY
|
// Tests different rotate left commands
/// @file
/// Functions for performing input and output.
// Commodore 64 PRG executable file
.file [name="32bit-rols.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentde... |
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
MODULE _fprintf
SECTION code_clib
PUBLIC _fprintf
EXTERN asm_printf
EXTERN fputc_callee
;sdcc version
_fprintf:
ld hl,6
add hl,sp ;points to ap
pop af ;ret address
pop bc ;fp
pop de ;fmt
push de
push bc
push af
IF !__CPU_INTEL__
push ix ;save ix
ENDIF
push bc ;fp
ld bc,fputc_callee
push bc
ld ... |
// Original test: ./freiberg/hw4/problem6/jal_0.asm
// Author: freiberg
// Test source code follows
//jal low case
jal 0
addi r1, r7, 0
|
.ORIG 0B0011000000000000; Each program needs to start with a .ORIG directive,
; supplying it with an immediate value so that the
; simulator (and the assembler) know what the beginning
; address is.
.STRINGZ "jjs\""
.BLKW 0x10 ; Create 0x10 blocks of memory, all set to 0.
; address of the lab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.