text stringlengths 1 1.05M |
|---|
device zxspectrum48
org #6000
start:
ld a,100
ld b,%01010101
call start
jr $ |
; A017163: a(n) = (9*n)^3.
; Submitted by Christian Krause
; 0,729,5832,19683,46656,91125,157464,250047,373248,531441,729000,970299,1259712,1601613,2000376,2460375,2985984,3581577,4251528,5000211,5832000,6751269,7762392,8869743,10077696,11390625,12812904,14348907,16003008,17779581,19683000,21717639,23887872,26198073,28... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Flash.inc"
#include "Lcd.inc"
#include "States.inc"
radix decimal
LCD_LINE_SIZE equ 16
LCD_SCREEN_SIZE equ 2 * LCD_LINE_SIZE
extern isLcdIdle
Lcd code
global putScreenFromFlash
putScreenFromFlash:
call isLcdIdle
xorlw 0
btfsc STATUS, Z
retlw 0
... |
// Copyright 2010 Thomas Moulard.
//
#include "signal-cast-registerer-libA.hh"
vec_type vA;
|
/*
* Copyright 2019 Xilinx, Inc.
*
* 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 agreed to... |
/**
* Copyright 2019-2021 Huawei Technologies Co., Ltd
*
* 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 applicabl... |
/**
@file Random.cpp
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2009-01-02
@edited 2009-03-29
Copyright 2000-2009, Morgan McGuire.
All rights reserved.
*/
#include "G3D/Random.h"
namespace G3D {
Random& Random::common() {
static Random r;
return r;
}
Random::Random(void* x... |
/*=============================================================================
Library: CTK
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the ... |
#d24 0x8 ; = 0x000008 |
SECTION code_driver
PUBLIC __vector06c_key_interrupt
PUBLIC __vector06c_key_rows
EXTERN __vector06c_scroll
__vector06c_key_interrupt:
; af,bc,dehl preserved by im1 handler
ld a,$8a
out (0),a
ld hl,__vector06c_key_rows
ld b,@11111110
key_loop:
ld a,b
out (3),a
in a,(2)
cpl
ld (hl),a
inc hl
ld a,b
r... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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 s... |
[org 0x7c00]
mov bp, 0x9000
mov sp, bp
mov bx, realmsg
call print ; This will be written after the BIOS messages
call switch_to_pm
jmp $ ; this will actually never be executed
%include "messages_out.asm"
%include "32bit.asm"
%include "32gdt.asm"
%include "32switch.asm"
[bits 32]
BEGIN_PM: ;... |
# pedir dos numeros e indicar cual es el mayor o si son iguales.
.data
cadena1: .asciiz "numero 1: "
cadena2: .asciiz "numero 2: "
cadena3: .asciiz "el mayor es: "
cadena4: .asciiz "son iguales"
.text
li $v0, 4
la $a0, cadena1
syscall
li $v0, 5
syscall
move $t1, $v0
li $v0, 4
la $a0, cadena2
syscall
li... |
object_const_def ; object_event constants
const MOUNTMORTAR2FINSIDE_POKE_BALL1
const MOUNTMORTAR2FINSIDE_POKE_BALL2
const MOUNTMORTAR2FINSIDE_POKE_BALL3
const MOUNTMORTAR2FINSIDE_POKE_BALL4
const MOUNTMORTAR2FINSIDE_POKE_BALL5
const MOUNTMORTAR2FINSIDE_POKE_BALL6
const MOUNTMORTAR2FINSIDE_SUPER_NERD
MountMorta... |
// Copyright (c) 2017-2022 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAO_JSON_MSGPACK_EVENTS_TO_STREAM_HPP
#define TAO_JSON_MSGPACK_EVENTS_TO_STREAM_HPP
#include <cassert>
#include <cmath>
#include <cstdint>
#include <ostream>
#include <stdexce... |
/*
* All of the documentation and software included in the
* Alchemy Software is copyrighted by Stanley Kok, Parag
* Singla, Matthew Richardson, Pedro Domingos, Marc
* Sumner, Hoifung Poon, and Daniel Lowd.
*
* Copyright [2004-07] Stanley Kok, Parag Singla, Matthew
* Richardson, Pedro Domingos, Marc Sumner, Hoi... |
///////////////////////////////////////////////////////////////////////////////
// This file exports utility functions to convert between OpenCV's cv::GpuMat
// and mxArray's containing GPU data.
//
// Copyright 2015 The MathWorks, Inc.
///////////////////////////////////////////////////////////////////////////////
#i... |
;******************************************************************************
;* FS_TOI_T2.ASM - THUMB-2 STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... |
; void dzx0_smart_rcs_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx0
PUBLIC dzx0_smart_rcs_back
EXTERN asm_dzx0_smart_rcs_back
dzx0_smart_rcs_back:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_dzx0_smart_rcs_back
|
; Square of a floating-point number
; In: HL = number to square
; Out: HL = HL * HL
; Pollutes: AF
FSQUARE:LD A,ROOT2F - $4001
CP L
LD A,H
ADC A,A
SUB A,$40
JR C,FZERO2
JP M,FINFTY ; overflow
LD H,SQTAB/$100
LD L,(HL)
LD H,A
RET
; Square root of a positive floating-point number
FSQRT: LD A,H
SUB $40
SRA A... |
;---------------------------------------------------------------
; EDIT FX
;---------------------------------------------------------------
editFx:
;jmp editorLoop
.IF SRAM_MAP=32
lda #SRAM_FX_BANK
jsr setMMC1r1
.ENDIF
ldx fxCursorY
lda fxRowsIndex,x
ldx editorCurrentFx
clc
adc editFxAddressLo,x
... |
#ifndef color_YDbDr_get_gray
#define color_YDbDr_get_gray
// ::color::get::gray( c )
#include "../../gray/place/place.hpp"
#include "../../gray/akin/YDbDr.hpp"
#include "../../gray/trait/component.hpp"
#include "../category.hpp"
#include "../../_internal/reformat.hpp"
#include "../../generic/trait/scalar.hpp"
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x10ee9, %rsi
lea addresses_D_ht+0xa989, %rdi
cmp $18450, %r9
mov $28, %rcx
rep movsb
nop
dec %rdi
lea addresses_UC_ht+0x52e9, %rsi
lea addresses_UC_ht+0x5a70, %rdi
clflush (%rsi)
nop
no... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GlobalPC 1998. All rights reserved.
GLOBALPC CONFIDENTIAL
PROJECT: GlobalPC
MODULE: GeoWrite
FILE: uiWriteDC.asm
AUTHOR: Steve Yegge, Oct 16, 1998
ROUTINES:
Name Description
---- -----------
INT ... |
; A291380: p-INVERT of (1,1,0,0,0,0,...), where p(S) = 1 - S^5.
; Submitted by Jamie Morken(s4)
; 0,0,0,0,1,5,10,10,5,2,10,45,120,210,253,225,225,500,1375,3005,5025,6625,7575,9850,18508,40150,78275,128375,180625,237888,345090,607105,1163155,2109140,3426771,5056055,7237835,11059960,18816930,33638409,58293475,94300100,14... |
#include "trie_tree.h"
#include <vector>
#include <string>
struct myNode {
char val;
std::vector<myNode*> next;
bool endNode;
myNode(char c) {
val = c;
endNode = false;
}
};
Trie::Trie() {
root = new myNode('#');
}
bool Trie::search(std::string word) {
myNode* temp = root;
bool found;
... |
DATA
PROGRAM
#Read(n);
IMLO R10 0xFE
IMLO R11 0xFF
LOAD R3 [R10] #R3 is n
#sum=0;
IMLO R4 0 #R4 is sum
#index=1;
IMLO R5 1 #R5 is index
#while(index<=n) {
While SUB SCR R3 R5 #Calculate R3-R5=n-index
BRNG Print #When difference is negative
# jump out of loop
# sum=sum+index;
ADD ... |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
#include "SetupRuntimeFailure.hpp"
#include <phi/compiler_support/unused.hpp>
#include <phi/container/string_view.hpp>
int main()
{
SetupRuntimeFailure();
phi::string_view view("test");
phi::string_view sub = view.substr(6u);
PHI_UNUSED_VARIABLE(sub);
}
|
; A070515: a(n) = n^4 mod 11.
; 0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0,1,5,4,3,9,9,3,4,5,1,0
pow $0,4
mod $0,11
|
;------------------------------------------------------------------------------
;
; 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
; which accompanies this distribution... |
# Pierluigi's 2021 day1 part 1: read and parse integers from file,
# check if number is greater than previous number: result++
.data
.eqv FILE_MAX_SIZE 100000 # used to set buffer size for reading, greatly exaggerated cause why not
BUFFER: .space FILE_MAX_SIZE
FILE_NAME: .asciiz "input.txt"
WELCOME_STRING: .asciiz ... |
; A164315: Number of binary strings of length n with no substrings equal to 000 or 011.
; 1,2,4,6,9,13,18,25,34,46,62,83,111,148,197,262,348,462,613,813,1078,1429,1894,2510,3326,4407,5839,7736,10249,13578,17988,23830,31569,41821,55402,73393,97226,128798,170622,226027,299423,396652,525453,696078,922108,1221534,1618189,2... |
/**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... |
/****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 th... |
.text
main:
addiu $a0, $zero, 400
jal string_print
string_print:
addi $sp, $sp, -8 # Reservar stack frame
sw $ra, 0($sp) # Guardar return address
sw $s0, 4($sp) # Guardar s0
move $s0, $a0 # s0 = a0
beg_while:
lbu $a0, 0($s0) # Load char[i]
beq $a0, $zero, end_funct # while (char[... |
; BSD 3-Clause License
;
; Copyright (c) 2020, k4m1 <k4m1@protonmail.com>
; 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 no... |
//*****************************************************************************
// Copyright (c) 2016-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:
// - Redistributio... |
; A285475: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 3", based on the 5-celled von Neumann neighborhood.
; 1,3,4,15,16,63,64,255,256,1023,1024,4095,4096,16383,16384,65535,65536,262143,262144,1048575,1048576... |
; A077835: Expansion of 1/(1-2*x-2*x^2-2*x^3).
; Submitted by Jamie Morken(s2)
; 1,2,6,18,52,152,444,1296,3784,11048,32256,94176,274960,802784,2343840,6843168,19979584,58333184,170311872,497249280,1451788672,4238699648,12375475200,36131927040,105492203776,307999212032,899246685696,2625476203008,7665444201472,2238033418... |
// Place hook in the Zeffa appearance check routine
.org 0x0809CF90
ldr r0,=sub_ocarina_check|1
bx r0
.pool
|
; test source file for assembling to MACH-O
; build with :
; yasm -f macho -m amd64 machotest64.asm
; gcc -m64 -o machotest64 machotest64.c machotest64.o
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global data-section symbol
; [3] Define ... |
/**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... |
//=================================================================================================
/*!
// \file src/mathtest/operations/dvecsvecmult/V2aVCb.cpp
// \brief Source file for the V2aVCb dense vector/sparse vector multiplication math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved... |
#include "math/Vector3f.h"
#include "math/Vector4f.h"
#include <initializer_list>
// constructors
Vector3f::Vector3f () : v { 0.0f, 0.0f, 0.0f } { };
Vector3f::Vector3f (float x, float y, float z) : v { x, y, z } { };
Vector3f::Vector3f (const Vector4f& v4) : v { v4[0], v4[1], v4[2]} {};
// initializer list const... |
; A099277: Unsigned member r=-19 of the family of Chebyshev sequences S_r(n) defined in A092184.
; Submitted by Christian Krause
; 0,1,19,400,8379,175561,3678400,77070841,1614809259,33833923600,708897586339,14853015389521,311204425593600,6520439922076081,136618033938004099,2862458272776010000,59975005694358205899
mov ... |
;
; YM2151 PLAY
; Universal Minitor for 6502 & SBC68toSBC80 Adapter
;
CPU 6502
TARGET: EQU "6502"
;
;;; Functions
low function x,(x & 255)
high function x,(x >> 8)
;
;
MUSIC EQU $1000
OPM_ADDR EQU $8040
OPM_DATA EQU $8041
;
org $0200
MAIN:
LDA #low(MUSIC)
STA ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; Monitor.Asm
;
; Abstract:
;
; AsmMonitor function
;
; Notes:
;
;--------------... |
/*
Copyright (C) 2003-2014 by David White <davewx7@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... |
;/*
; * FreeRTOS Kernel V10.3.0
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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,... |
; A022785: Place where n-th 1 occurs in A023123.
; 1,4,10,19,30,44,61,81,103,128,156,186,219,255,294,335,379,426,475,527,582,640,700,763,829,897,968,1042,1119,1198,1280,1365,1452,1542,1635,1731,1829,1930,2034,2141,2250,2362,2477,2594,2714,2837,2963
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2... |
; A056960: Base 11 reversal of n (written in base 10).
; Coded manually 2021-03-02 by Simon Strandgaard, https://github.com/neoneye
; 0,1,2,3,4,5,6,7,8,9,10,1,12,23,34,45,56,67,78,89,100,111,2,13,24,35,46,57,68,79,90,101,112,3,14,25,36,47,58,69,80,91,102,113,4,15,26,37,48,59,70,81,92,103,114,5,16,27,38,49,60,71,82,93,1... |
; A156745: a(n) = Sum_{k=1..n} floor((n+k)/k) = n + Sum_{k=1..n} sigma_0(k), where sigma_0(k) is A000005(k). Also a(n) = n + A006218(n).
; 2,5,8,12,15,20,23,28,32,37,40,47,50,55,60,66,69,76,79,86,91,96,99,108,112,117,122,129,132,141,144,151,156,161,166,176,179,184,189,198,201,210,213,220,227,232,235,246,250,257,262,269... |
#include "ultrainio.system.hpp"
#include "confirm_point.h"
#include <list>
namespace ultrainiosystem {
uint64_t chain_info::get_last_spuervision_block_height() const {
uint64_t last_block_height = 0;
for(const auto& ext : table_extension) {
if(ext.key == chain_info::producer_supervisio... |
#include "jit_aggregate.hpp"
#include "constant_mappings.hpp"
#include "operators/jit_operator/jit_operations.hpp"
#include "resolve_type.hpp"
#include "storage/value_segment.hpp"
namespace opossum {
std::string JitAggregate::description() const {
std::stringstream desc;
desc << "[Aggregate] GroupBy: ";
for (c... |
//=================================================================================================
/*!
// \file src/mathtest/operations/dvecdvecouter/V4aV4a.cpp
// \brief Source file for the V4aV4a dense vector/dense vector outer product math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
... |
; A211545: Number of ordered triples (w,x,y) with all terms in {-n,...-1,1,...,n} and w+x+y>0.
; Submitted by Jon Maiga
; 0,4,29,99,238,470,819,1309,1964,2808,3865,5159,6714,8554,10703,13185,16024,19244,22869,26923,31430,36414,41899,47909,54468,61600,69329,77679,86674,96338,106695,117769,129584,142164,155533,169715,184... |
; A098265: G.f. : 1/(1-2x-23x^2)^(1/2).
; Submitted by Christian Krause
; 1,1,13,37,289,1201,7741,38053,227137,1207009,6995053,38591653,221446369,1245188881,7130897437,40516456357,232260610177,1327920945601,7627285093069,43787832627493,252042452907169,1451244932278129,8370001674641917,48303478743113893,2790830994504969... |
xor r0,r0,r0
xor r1,r1,r1
xor r2,r2,r2
xor r3,r3,r3
xor r4,r4,r4
xor r5,r5,r5
xor r6,r6,r6
ldl $-1
lsr r7,r0,r0
ldl #main
jmp r0,r7,r0
>curX
. 0
>curY
. 0
>val1
. 1
>val2
. 9
>str
. 42
>str1
. 61
>main
ldl #val1
load r0,r7,r1
and r1,r1,r2
ldl #printnum
call r0,r7,r0
ldl #str
load r0,r7,r1
ldl #printchar
call r0,r7,r0
l... |
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright 2021 XIA LLC, 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/LICE... |
; A299336: Expansion of 1 / ((1 - x)^7*(1 + x)^4).
; 1,3,10,22,49,91,168,280,462,714,1092,1596,2310,3234,4488,6072,8151,10725,14014,18018,23023,29029,36400,45136,55692,68068,82824,99960,120156,143412,170544,201552,237405,278103,324786,377454,437437,504735,580888,665896,761530,867790,986700,1118260,1264770,1426230,16052... |
; A001117: a(n) = 3^n - 3*2^n + 3.
; 1,0,0,6,36,150,540,1806,5796,18150,55980,171006,519156,1569750,4733820,14250606,42850116,128746950,386634060,1160688606,3483638676,10454061750,31368476700,94118013006,282379204836,847187946150,2541664501740,7625194831806,22875987148596,68628766752150,205887910869180,617666953833006,... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
; Wide resolution (WORD based parameters) version by Stefano Bodrato
;
; $Id: w_undraw.asm,v 1.2 2015/01/19 01:32:46 pauloscustodio Exp $
;
P... |
; A248427: Circumference of the (n,n)-knight graph.
; 8,14,24,36,48,64,80,100,120,144,168,196,224,256,288,324,360,400,440,484,528,576,624,676,728,784,840,900,960,1024,1088,1156,1224,1296,1368,1444,1520,1600,1680,1764,1848,1936,2024
mov $4,$0
add $0,1
mov $1,5
lpb $0,1
pow $0,6
sub $0,1
mod $0,6
gcd $2,1
add ... |
; *****************************************************************************
; *****************************************************************************
;
; SYSTEM BIOS / INTERPRETER : RCA STUDIO II
;
; Reverse engineered by Paul Robson (autismuk@aol.com)
;
; ******************************... |
#include "ITransferObj.h"
#include "AsyncLogThread.h"
#include "AsyncLogHelper.h"
#include "SessionManager.h"
#include "SapLogHelper.h"
#include "IComposeBaseObj.h"
#include "ComposeServiceObj.h"
#include "ComposeDataServiceObj.h"
#include "SosSessionContainer.h"
#include "ServiceAvailableTrigger.h"
IComposeBaseObj::... |
#include "Platform.inc"
radix decimal
udata
global shiftRegisterBuffer
shiftRegisterBuffer res 1
ShiftRegisterDummies code
global initialiseShiftRegister
global enableShiftRegister
global disableShiftRegister
global isShiftRegisterEnabled
global shiftOut
initialiseShiftRegister:
enableShiftRegister:
disab... |
; A244895: Period 5 sequence [0, 1, 1, -1, -1, ...].
; 0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1,1,-1,-1,0,1
lpb $0
sub $0,5
lpe
lpb $0
dif $0,2
lpe
mov $1,$0
|
/*
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
#include "deephaven/client/highlevel/columns.h"
#include "deephaven/client/highlevel/impl/columns_impl.h"
namespace deephaven {
namespace client {
namespace highlevel {
IrisRepresentable::~IrisRepresentable() = default;
SelectColumn::~SelectColu... |
; stdio_in_o
; 05.2008 aralbrec
PUBLIC stdio_in_o
EXTERN stdio_incommon1, stdio_incommon2, asm_isodigit, stdio_ungetchar, stdio_inexit
; input %o parameter
;
; enter : ix = FILE *
; b = width
; c = flags [000a*WL0]
; hl = & parameter list
; bc' = total num cha... |
.thumb
@place routine at 0x18A9C in FE8
@bl commands have placeholder offsets, fixed in .dmp of asm
.org 0x0
push {r4-r6,r14}
mov r3, #0x0
mov r4, r0
mov r5, r1
ldr r6, EIDGetter
add r4, #0x1E
LoopStart:
ldrh r0, [r4]
cmp r0, #0x0
beq Reloop @skip check if no item in slot
mov r14, r6
.short 0xF8... |
db 0 ; species ID placeholder
db 45, 75, 37, 83, 70, 55
; hp atk def spd sat sdf
db FIRE, FIRE ; type
db 45 ; catch rate
db 117 ; base exp
db BURNT_BERRY, BURNT_BERRY ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/magby... |
db DEX_VULPIX ; pokedex id
db 38 ; base hp
db 41 ; base attack
db 40 ; base defense
db 65 ; base speed
db 65 ; base special
db FIRE ; species type 1
db FIRE ; species type 2
db 190 ; catch rate
db 63 ; base exp yield
INCBIN "pic/bmon/vulpix.pic",0,1 ; 66, sprite dimensions
dw VulpixPicFront
dw VulpixPicBack
; attacks k... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rcx
push %rsi
lea addresses_WT_ht+0x1dd4d, %rcx
nop
cmp $49179, %r12
mov $0x6162636465666768, %r9
movq %r9, (%rcx)
nop
nop
sub $47899, %rsi
pop %rsi
pop %rcx
pop %r9
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r8
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1221a, %rbp
nop
nop
sub $40563, %r9
movb $0x61, (%rbp)
nop
nop
nop
nop
and %r11, %r11
lea addresses_UC_ht+0x179f2, %r14
nop
nop
nop
sub $40003, %rax
movl $0x61626364,... |
/*
Copyright Oliver Kowalke 2009.
Copyright Thomas Sailer 2013.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/***********************************************************... |
; A036439: a(n) = a(n-1) + prime(n-1), with a(1)=2.
; 2,4,7,12,19,30,43,60,79,102,131,162,199,240,283,330,383,442,503,570,641,714,793,876,965,1062,1163,1266,1373,1482,1595,1722,1853,1990,2129,2278,2429,2586,2749,2916,3089,3268,3449,3640,3833,4030,4229,4440,4663,4890,5119,5352,5591,5832,6083,6340,6603,6872,7143,7420,770... |
; A138636: a(n) = 6 * prime(n).
; Submitted by Jamie Morken(s3)
; 12,18,30,42,66,78,102,114,138,174,186,222,246,258,282,318,354,366,402,426,438,474,498,534,582,606,618,642,654,678,762,786,822,834,894,906,942,978,1002,1038,1074,1086,1146,1158,1182,1194,1266,1338,1362,1374,1398,1434,1446,1506,1542,1578,1614,1626,1662,168... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>getuid() -> str
Invokes the syscall getuid.
See 'man 2 getuid' for more information.
Arguments:
Returns:
uid_t
</%docstring>
<%page args=""/>
<%
abi = pwnlib.abi.ABI.syscall()
stack = abi.s... |
inst_rom.om: file format elf32-tradbigmips
Disassembly of section .text:
00000000 <_start>:
0: 3403eeff li v1,0xeeff
4: a0030003 sb v1,3(zero)
8: 00031a02 srl v1,v1,0x8
c: a0030002 sb v1,2(zero)
10: 3403ccdd li v1,0xccdd
14: a0030001 sb v1,1(zero)
18: 00031a02 srl v1,v1,0x8
1c: a003000... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %eb... |
print_num:
;usage
;------
; 1: create a variable num(word)
; 2: move number to print to num (word)
section .data
nwl_for_printnum :db ' '
nwl_l_printnum : equ $-nwl_for_printnum
show_zero :db '0 '
show_zero_l : equ $-show_zero
section .bss
count_printnum : resb 10
temp_printnum : resb 1
section... |
%define ARCH_ARM 0
%define ARCH_MIPS 0
%define ARCH_PPC 0
%define ARCH_X86 1
%define ARCH_X86_64 0
%define CONFIG_ACCOUNTING 0
%define CONFIG_ANALYZER 0
%define CONFIG_AV1_DECODER 1
%define CONFIG_AV1_ENCODER 1
%define CONFIG_AV1_HIGHBITDEPTH 0
%define CONFIG_AV1_TEMPORAL_DENOISING 1
%define CONFIG_BIG_ENDIAN 0
%define... |
; A022273: a(n) = n*(15*n + 1)/2.
; 0,8,31,69,122,190,273,371,484,612,755,913,1086,1274,1477,1695,1928,2176,2439,2717,3010,3318,3641,3979,4332,4700,5083,5481,5894,6322,6765,7223,7696,8184,8687,9205,9738,10286,10849,11427,12020,12628,13251,13889,14542,15210,15893,16591,17304,18032,18775,19533,20306,21094,21897,22715,235... |
; A109040: Expansion of 1-eta(q)eta(q^3)(eta(q^4)eta(q^6))^2/eta(q^12)^2 in powers of q.
; Submitted by Jon Maiga
; 1,1,1,1,-4,1,-6,1,1,-4,12,1,14,-6,-4,1,-16,1,-18,-4,-6,12,24,1,21,14,1,-6,-28,-4,-30,1,12,-16,24,1,38,-18,14,-4,-40,-6,-42,12,-4,24,48,1,43,21,-16,14,-52,1,-48,-6,-18,-28,60,-4,62,-30,-6,1,-56,12,-66,-16,... |
10008510: 57 push edi
10008511: 56 push esi
10008512: 55 push ebp
10008513: 33 ff xor edi,edi
10008515: 33 ed xor ebp,ebp
10008517: 8b 44 24 14 mov eax,DWORD PTR [esp+0x14]
1000851b: 0b c0 o... |
/*
* mmitssConfig.hpp
*
* Created on: May 25, 2017
* Author: M.Venus
*/
#pragma once
#include "facilityLayer.hpp"
#include "facilityBase.hpp"
#include "spatMapProxy.hpp"
#include "mmitssMap.hpp"
#include "Poco/DynamicStruct.h"
namespace WaveApp
{
namespace MmitssCtrl
{
class MmitssConfig
{
public:
... |
//////////////////////////////////////////////////////////////////////////////
// nv_sprite_raw_collisions_code.asm
// Copyright(c) 2021 Neal Smith.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// Contains code, data, and supporting ... |
%include "macros/patch.inc"
%include "macros/datatypes.inc"
@CLEAR 0x004E45D8, 0x90, 0x004E45DB
@SET 0x004E45D8, { mov al, 1 } ;Disable MoviesXX.mix check
@SJMP 0x004E44A7, 0x004E44B6 ;Disable Scores.mix check
|
//
// Created by peter on 19-5-21.
//
#ifndef MINESWEEPER_CLICKRESULTJNI_HPP
#define MINESWEEPER_CLICKRESULTJNI_HPP
#include "minesweeper/ClickResult.hpp"
#include <jni.h>
constexpr const char CLICK_RESULT_CLASS_NAME[] = "com.wentsingnee.minesweeper.minesweeper.ClickResult";
constexpr const char CLICK_EVENT_CATEGOR... |
/* 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/. */
#include "helpmodel.h"
#include "leakdetector.h"
#include "logger.h"
#include "mozillavpn.h"
namespace {
bool s_i... |
.relativeinclude off
.include card_info_file
// If 0, requires button press before transmission and
// gives the option to send again afterwards.
// If 1, acts just like official cards.
auto equ 1
.gba
.create "out/card.01.mb",0x02000000
bin_start:
// switch to thumb mode
.arm
ldr r1,=main | 1b
bx r1
.pool
// De... |
; A166663: Totally multiplicative sequence with a(p) = 5p+1 for prime p.
; Submitted by Jon Maiga
; 1,11,16,121,26,176,36,1331,256,286,56,1936,66,396,416,14641,86,2816,96,3146,576,616,116,21296,676,726,4096,4356,146,4576,156,161051,896,946,936,30976,186,1056,1056,34606,206,6336,216,6776,6656,1276,236,234256,1296,7436,1... |
;------------------------------------------------------------------------------
;
; 100% systemfriendly PlanarToChunky converter for use with intuition
; screens in applications/games/whatever.
;
; Coded in 1994 by Morten Eriksen.
; Reach me through email: mortene@stud.unit.no.
;
; Use and modify as you like - give cre... |
#include "riscvIla.hpp"
#include <ilang/vtarget-out/vtarget_gen.h>
using namespace ilang;
/// the function to parse commandline arguments
VerilogVerificationTargetGenerator::vtg_config_t SetConfiguration();
VerilogVerificationTargetGenerator::vtg_config_t HandleArguments(int argc, char **argv);
void verifyNibblerIns... |
// This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "C:\ue_project_build_tests\ProMMO-4.22.2\Plugins\OnlineSubsystemUEtopia\Source\OnlineSubsystemUEtopia\Private\OnlineAchievementsInterfaceUEtopia.cpp"
#include "C:\ue_project_build_tests\ProMMO-4.22.2\P... |
;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* 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 abo... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: cursorPrLineFeedDumb6LPI.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020 The Simulacrum developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... |
; These are significant typos that reference bad palettes or similar, and would
; raise assertion errors in any clean code
; Last byte should be $28, like everything else
;TM_193:
;DW $0001
;DB $F8, $01, $F8, $00, $30
org $92BEC1+4 : db $28
; Last byte should be $28, like everything else
;TM_181:
;DW $0001
;DB $F8... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.