text stringlengths 1 1.05M |
|---|
ReflectLightScreenEffect_:
ld hl, wPlayerBattleStatus3
ld de, wPlayerMoveEffect
ld a, [H_WHOSETURN]
and a
jr z, .reflectLightScreenEffect
ld hl, wEnemyBattleStatus3
ld de, wEnemyMoveEffect
.reflectLightScreenEffect
ld a, [de]
cp LIGHT_SCREEN_EFFECT
jr nz, .reflect
bit HAS_LIGHT_SCREEN_UP, [hl] ; is mon alrea... |
/*
Copyright (c) 2013-2018 Ubidots.
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,
distribute, su... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: Text
FILE: ttC.asm
AUTHOR: Andrew Wilson, Oct 9, 1991
ROUTINES:
Name Description
---- -----------
TEXTALLOCCLIPBOARDOBJECT C Stub for TextAllo... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/device/generic_sensor/platform_sensor_reader_linux.h"
#include <memory>
#include "base/bind.h"
#include "base/cxx17_backports.h"
#inc... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/memory/writable_shared_memory_region.h"
#include <utility>
#include "base/memory/shared_memory.h"
#include "build/build_config.h"
namesp... |
/*
* EME Base Class
* (C) 1999-2008 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/eme.h>
#include <botan/scan_name.h>
#include <botan/exceptn.h>
#include <botan/parsing.h>
#if defined(BOTAN_HAS_EME_OAEP)
#include <botan/oaep.h>
#endif
#if defined(BOTAN_HAS_EME... |
; A184882: a(n)=1-4*n-4*n^2.
; 1,-7,-23,-47,-79,-119,-167,-223,-287,-359,-439,-527,-623,-727,-839,-959,-1087,-1223,-1367,-1519,-1679,-1847,-2023,-2207,-2399,-2599,-2807,-3023,-3247,-3479,-3719,-3967,-4223,-4487,-4759,-5039,-5327,-5623,-5927,-6239,-6559,-6887,-7223,-7567,-7919,-8279,-8647,-9023,-9407,-9799,-10199,-10607... |
; A195234: Number of lower triangles of a 4 X 4 0..n array with each element differing from all of its diagonal, vertical, antidiagonal and horizontal neighbors by one or less.
; 1024,3151,5428,7705,9982,12259,14536,16813,19090,21367,23644,25921,28198,30475,32752,35029,37306,39583,41860,44137,46414,48691,50968,53245,55... |
; A081551: Triangle, read by rows, in which the n-th row contains n smallest n-digit numbers.
; Submitted by Jon Maiga
; 1,10,11,100,101,102,1000,1001,1002,1003,10000,10001,10002,10003,10004,100000,100001,100002,100003,100004,100005,1000000,1000001,1000002,1000003,1000004,1000005,1000006,10000000,10000001,10000002,1000... |
Include Irvine32.inc
main EQU start@0
cubeSize = 1
lineSize = 10
borderX = 119
borderY = 30
.data
;==============================================================================;
; For Menu /Start ;
;==========================================... |
%ifdef CONFIG
{
"RegData": {
"MM7": ["0x8000000000000000", "0x4009"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 1024
mov [rdx + 8 * 0], rax
fild qword [rdx + 8 * 0]
hlt
|
.byte $00 ; Unknown purpose
.byte OBJ_ROTODISCDUAL, $08, $16
.byte OBJ_ROTODISCCCLOCKWISE, $17, $14
.byte OBJ_ROTODISCCCLOCKWISE, $1E, $15
.byte OBJ_ROTODISCDUALOPPOSE2, $25, $0A
.byte OBJ_ROTODISCCCLOCKWISE, $30, $12
.byte $FF ; Terminator
|
/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, t... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "optionsdialog.h"
#include "aboutdialog.h"
#include "clientm... |
/*
Copyright (c) 2005-2022, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
; v0.2.2
;
; Bill O'Neill - Last update: 2011/11/11
;
; Monitor code is Open License and can be used freely
; Tiny Basic code is Copyright, Tom Pitman
;
; Consist of a minimal terminal monitor and Tom
; Pitman's Tiny Basic as a high-level
; programming language
;
; This code assembles as-is with the macro assembler in ... |
; A098586: a(n) = (1/2) * (5*P(n+1) + P(n) - 1), where P(k) are the Pell numbers A000129.
; 2,5,13,32,78,189,457,1104,2666,6437,15541,37520,90582,218685,527953,1274592,3077138,7428869,17934877,43298624,104532126,252362877,609257881,1470878640,3551015162,8572908965,20696833093,49966575152,120629983398,291226541949,70308... |
; A053524: a(n) = (6^n - (-2)^n)/8.
; 0,1,4,28,160,976,5824,35008,209920,1259776,7558144,45349888,272097280,1632587776,9795518464,58773127168,352638730240,2115832446976,12694994550784,76169967566848,457019804876800,2742118830309376,16452712979759104
add $0,1
mov $4,2
lpb $0,1
sub $0,1
mov $3,$1
mov $1,$2
mul $... |
; A050151: a(n) = T(n,n+2), array T as in A050143.
; Submitted by Christian Krause
; 0,1,6,33,180,985,5418,29953,166344,927441,5188590,29113953,163786428,923511849,5217709266,29532022785,167417253648,950453221153,5402869685334,30748881013153,175186193208900,999071379620601,5702750629608186,32578618535692033,18625761178... |
;
; Copyright (c) 2015 Digi International Inc.
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, 2019 April
; adapted for z80, z180, and z80-zxn
;
;--... |
ORG 00H
MOV R0,#9AH
MOV R1,#48H
MOV R2,#7FH
MOV R3,#0BCH
MOV R4,#89H
MOV R5,#34H
MOV A,R0
ADD A,R1
MOV 40H,A
MOV A,R2
ADDC A,R3
MOV 41H,A
MOV A,R4
ADDC A,R5
MOV 42H,A
MOV A,#0H
ADDC A,#0H
MOV 43H,A
REPEAT: MOV R1,#04H
MOV R0,#40H
NEXT: MOV P0,@R0
ACALL DELAY
INC R0
... |
; A136619: a(1) = 1, then repeat period 3: [1, 4, 2].
; 1,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2
mul $0,2
sub $0,1
mod $0,3
gcd $0,4
|
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Ferdinando Ametrano
Copyright (C) 2006 Katiuscia Manzoni
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>setdomainname(name, length) -> str
Invokes the syscall setdomainname.
See 'man 2 setdomainname' for more information.
Arguments:
name(char*): name
len(size_t): len
Returns:
int
</%docstring>... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Zond developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... |
#include "IndexRenderer.h"
#include <GL\glew.h>
#include <glm\glm.hpp>
#include <glm\gtc\matrix_transform.hpp>
#include <glm\gtc\type_ptr.hpp>
#include <engine_base\Component.h>
#include <engine_base\Entity.h>
#include <engine_base\GLSL.h>
#include <engine_base\ICamera.h>
#include <engine_base\Model.h>
#include <engi... |
.nds
.open "data/repack/arm9.bin",0x02000000
;Using free space up to 0x020e5908 for custom code
;Fix the game to run on no$gba
;More info: https://github.com/Arisotura/melonDS/issues/559
.org 0x020e5734
.area 0x1d4
MEMSET_HACK:
;Original jump
bcc 0x0201094c
;Compare r2 to the bugged value
ldr r1... |
#include <iostream>
#include <iomanip>
#include <opencl/des.h>
// #include <opencl/desx.h>
#define KL 24
#define BS 8
using namespace std;
using namespace OpenCL;
void output_hex(byte data[],int len)
{
for (int i = 0; i < len; i++)
cout << hex << setfill('0') << setw(2)
<< (int)data[i] << " ... |
; A091998: Numbers that are congruent to {1, 11} mod 12.
; 1,11,13,23,25,35,37,47,49,59,61,71,73,83,85,95,97,107,109,119,121,131,133,143,145,155,157,167,169,179,181,191,193,203,205,215,217,227,229,239,241,251,253,263,265,275,277,287,289,299,301,311,313,323,325,335,337,347,349,359,361,371,373,383,385,395,397,407,409,419... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sour... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Picpoto developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2017 The PPO developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/... |
LA 1,MSGAREA Point Register 1 to message area
SVC 35 Invoke SVC 35 (Write to Operator)
BR 14 Return
MSGAREA EQU * Message Area
DC AL2(19) Total area length = 19 (Prefix length:4 + Data Length:15)
DC XL2'00' ... |
PUBLIC SpooferStub
option casemap :none
; if the line is labelled as MODIFY you need to modify the register it reads or writes to
; valid registers include: rbx, rbp+0x0, rdi, rsi, r12, r13+0x0, r14, r15
_TEXT SEGMENT
SpooferStub PROC
pop r11 ; poping without setting up stack frame, r11 is the return addr... |
// Copyright (c) 2011-2015 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 "bitcoinamountfield.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "qvaluecombobox.h"
#include <Q... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [Inserindo informacoes]
.const 3 int [1]
.const 4 string [io.writeln]
.const 5 string [MeuContexto]
.const 6 string [Numero 1]
.const 7 string [54321]
.const 8 string [Informacoes inserid... |
; A119633: a(n) = (A046717(n))^3.
; 1,125,2197,68921,1771561,48627125,1305751357,35319837041,953054410321,25737699078125,694870802988517,18761935323400361,506568440928284281,13677382220238009125,369289011109685057677,9970806079491650694881,269211739130501631841441,7268717181665495842956125,196255361878690807763542837,5... |
; ************************************************************************************************
; ************************************************************************************************
;
; Name: spritedraw.asm
; Purpose: Drawing Utilities for sprites
; Created: 3rd April 2021
; Author: Paul Robson (p... |
CODE_END: equ #8000
CODE_START: equ #7ffe
START: equ 32766 ; #8000 - (CODE_END - CODE_START)
loop: equ #7ffe
|
; A319128: Interleave n*(3*n - 2), 3*n^2 + n - 1, n=0,0,1,1, ... .
; 0,-1,1,3,8,13,21,29,40,51,65,79,96,113,133,153,176,199,225,251,280,309,341,373,408,443,481,519,560,601,645,689,736,783,833,883,936,989,1045,1101,1160,1219,1281,1343,1408,1473,1541,1609,1680,1751,1825,1899,1976,2053,2133,2213,2296,2379,2465,2551,2640,2... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
092070 move.l A1, ($ba,A6)
092074 lea $90ffe0.l, A0 [etc+BA, etc+BC]
0AAACA move.l (A0), D2
0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E... |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; SgemmKernelAvx512F.asm
;
; Abstract:
;
; This module implements the kernels for the single precision matrix/matrix
; multiply operation (SGEMM).
;
; This implementation uses AVX512F instruc... |
Sound21_Checkpoint_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound21_Checkpoint_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound21_Checkpoint_FM5, $00, $01
Sound21_Checkpoint_Voices:
; Voice $00
; $3C
; $05, $01, $0A, $01, $56, $5C, $5C, $5C, $0E, $11, $11, $11
; ... |
Sound6F_LargeLaser_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound6A_6F_Laser_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $03
smpsHeaderSFXChannel cFM5, Sound6F_LargeLaser_FM5, $00, $0B
smpsHeaderSFXChannel cFM4, Sound6F_LargeLaser_FM4, $00, $12
smpsHeaderSFXChannel cPSG3, Sound6F_LargeLaser_PSG3... |
.altmacro
.macro SAVE reg, offset
sd \reg, \offset*8(sp)
.endm
.macro SAVE_N n
SAVE x\n, \n
.endm
.macro LOAD reg, offset
ld \reg, \offset*8(sp)
.endm
.macro LOAD_N n
LOAD x\n, \n
.endm
# 保存上下文
# x0~x31
# sstatus
# sepc
.macro SAVE_CONTEXT
addi sp, sp, -8*34
SAVE x1, 1
addi x1, sp, 8*34
SAVE x... |
; A147676: Add 10, divide by 2, repeat.
; Submitted by Jon Maiga
; 90,100,50,60,30,40,20,30,15,25
mov $2,42
lpb $0
sub $0,1
mov $3,$2
mov $2,1
add $3,4
add $2,$3
dif $2,2
lpe
div $2,2
mov $0,$2
sub $0,3
mul $0,5
|
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) Contributors to the OpenEXR Project.
//
//-----------------------------------------------------------------------------
//
// class DeepScanLineInputFile
//
//-----------------------------------------------------------------------------
#include "ImfDe... |
;
; jfdctflt.asm - floating-point FDCT (3DNow!)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be as... |
; A118749: Largest prime <= 3*n.
; 3,5,7,11,13,17,19,23,23,29,31,31,37,41,43,47,47,53,53,59,61,61,67,71,73,73,79,83,83,89,89,89,97,101,103,107,109,113,113,113,113,113,127,131,131,137,139,139,139,149,151,151,157,157,163,167,167,173,173,179,181
mul $0,3
cal $0,7917 ; Version 1 of the "previous prime" function: largest p... |
/*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... |
; Read name / edit name (extended version) 1992 Jochen Merz V0.01
section wman
xdef wm_rname ; read name
xdef wm_ename ; edit name
include dev8_keys_k
include dev8_keys_err
include dev8_keys_qdos_io
;+++
; Read or edit name with extended edit... |
; A179126: Positive integers n for which the torsion subgroup of the elliptic curve y^2 = x^3 + n has order 3.
; 4,9,16,25,36,49,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401,2500,2601,2704... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
; A088744: a(n) = 3*A088023(n) - 2.
; 1,4,7,7,10,13,13,13,16,19,22,22,22,25,25,25,28,31,34,34,37,40,40,40,40,43,46,46,46,49,49,49
mov $10,$0
mov $12,$0
add $12,1
lpb $12
clr $0,10
mov $0,$10
sub $12,1
sub $0,$12
mul $0,2
mov $2,$0
mov $4,1
lpb $2
mov $0,2
div $2,2
add $2,2
lpb $4
... |
SECTION code_fp_math48
PUBLIC _asin_fastcall
EXTERN cm48_sdccix_asin_fastcall
defc _asin_fastcall = cm48_sdccix_asin_fastcall
|
;===================================================================================================
; LEAVE THIS HERE FOR PHP WRITES
;===================================================================================================
table "creditscharmapbighi.txt"
YourSpriteCreditsHi:
db 2
db 55
db " ... |
__sjasm_page_0_start:
; Test case:
label0:
jr main.label1
main.label1:
jr main.label1.local
main.label1.local:
jr sound.label3
vdp.label2:
vdp.label2.local:
sound.label3:
main.label4:
label5:
__sjasm_page_0_end: |
; A321703: a(n) = 3*a(n-1) + 4*a(n-2) + a(n-3), a(0) = 1, a(1) = 1, a(2) = 5.
; Submitted by Christian Krause
; 1,1,5,20,81,328,1328,5377,21771,88149,356908,1445091,5851054,23690434,95920609,388374617,1572496721,6366909240,25779089221,104377401344,422615470156,1711135105065,6928244597163,28051889681905,113579782539432,... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... |
/*
461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Given two integers x and y, calculate the Hamming distance.
Note:
0 ≤ x, y < 231.
Example:
Input: x = 1, y = 4
Output: 2
Explanation:
1 (0 0 0 1)
4 (0 1 0 0)
↑ ... |
/* /////////////////////////////////////////////////////////////////////////
* File: fastformat/sinks/stringstream.hpp
*
* Purpose: A FastFormat sink for IOStreams' std::stringstream.
*
* Created: 19th January 2008
* Updated: 13th September 2010
*
* Home: http://www.fastformat.org/
*
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x6387, %rdx
nop
nop
nop
nop
sub %rcx, %rcx
mov (%rdx), %r10
nop
nop
nop
cmp $25227, %rbx
lea addresses_D_ht+0x9b16, %rsi
lea addresses_UC_ht+0x19786, %rdi
nop
nop
nop
nop
nop
... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... |
;********************************
;*
;* find relative file
;*
;* version 10
;*
;*
;* inputs
;* recl - 1byte=lo record #
;* rech - 1byte=hi record #
;* rs - 1byte=record size
;* recptr - 1byte=first byte
;* wanted from record
;*
;* outputs
;* ssnum - 1byte=side sector #
;* ssind - 1byte=index into... |
global long_mode_start
extern rust_main
section .text
bits 64
long_mode_start:
; load 0 into all data segment registers
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; call the rust main
extern rust_main
call rust_main
; print `OKAY` to... |
_Z4xxx2P4nodem:
.L28:
testq %rdi, %rdi
je .L30
movq (%rdi), %rax
cmpq %rsi, %rax
je .L35
cmpq %rax, %rsi
jnb .L27
movq 16(%rdi), %rdi
jmp .L28
.L27:
movq 24(%rdi), %rdi
jmp .L28
.L30:
xorl %eax, %eax
ret
.L35:
movq 8(%rdi), %rax
ret
|
setscreen_table:
ld de,text_table
ld hl,$9800+(32*0)+1
ld b,TXT_NORMAL
call maptext
call redraw_song
call redraw_songptr_force
call write_songinfo
call setdefaultpal
;For debug: :) TODO TO REMOVE
;ld hl,$9800+64+2
;ld de,TEMPSECTOR
;ld c,16
... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4242434446464848",
"RBX": "0x4242434445464748",
"RCX": "0x4142434445464748",
"RDX": "0x4142434445464748",
"RSI": "0x4242434445464748",
"RDI": "0x4142434445464748"
}
}
%endif
mov r15, 0xe0000000
mov rax, 0x4142434445464748
mov [r15 + 8 * 0], rax
mov [r... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3572, %rdi
and %r15, %r15
movb $0x61, (%rdi)
nop
nop
xor %rbp, %rbp
lea addresses_WC_ht+0x75e9, %rsi
lea addresses_WT_ht+0x13b62, %rdi
nop
nop
nop
inc %r12
mov $107, %rcx
rep... |
;#include <stdio.h>
;int R0; // is always 0
;int R1; // for adding 1
;int R2; // spacesToTab
;int R3; //... |
sb $5,14($0)
sll $4,$3,31
subu $5,$1,$3
addu $3,$5,$3
addu $3,$6,$3
slti $1,$1,-19803
sh $4,8($0)
sh $4,10($0)
srav $3,$4,$3
addu $4,$3,$3
sltiu $4,$4,16520
srav $5,$5,$3
addiu $5,$6,10298
addu $1,$4,$3
srl $3,$4,0
slti $5,$6,26738
addu $4,$6,$3
slt $0,$0,$3
lhu $6,16($0)
ori $5,$4,52759
subu $4,$4,$3
srav $1,$3,$3
lbu... |
; party menu icons
MonMenuIcons:
db ICON_BULBASAUR ; BULBASAUR
db ICON_BULBASAUR ; IVYSAUR
db ICON_BULBASAUR ; VENUSAUR
db ICON_CHARMANDER ; CHARMANDER
db ICON_CHARMANDER ; CHARMELEON
db ICON_BIGMON ; CHARIZARD
db ICON_SQUIRTLE ; SQUIRTLE
db ICON_SQUIRTLE ; WARTORTLE
db ICON_SQUIRTLE ; B... |
; A231665: a(n) = Sum_{i=0..n} digsum_4(i)^2, where digsum_4(i) = A053737(i).
; 0,1,5,14,15,19,28,44,48,57,73,98,107,123,148,184,185,189,198,214,218,227,243,268,277,293,318,354,370,395,431,480,484,493,509,534,543,559,584,620,636,661,697,746,771,807,856,920,929,945,970,1006,1022,1047,1083,1132,1157,1193,1242,1306,1342,1... |
; A115264: Diagonal sums of correlation triangle for floor((n+2)/2).
; 1,1,3,4,8,10,17,21,32,39,55,66,89,105,136,159,200,231,284,325,392,445,528,595,697,780,903,1005,1152,1275,1449,1596,1800,1974,2211,2415,2689,2926,3240,3514,3872,4186,4592,4950,5408,5814,6328,6786,7361,7875,8515,9090,9800,10440,11225,11935,12800,13585... |
[bits 32] ; using 32-bit protected mode
; this is how constants are defined
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f ; the color byte for each character
print_string_pm:
pusha
mov edx, VIDEO_MEMORY
print_string_pm_loop:
mov al, [ebx] ; [ebx] is the address of our character
mov ah, WHITE_ON_BL... |
/**
* @file
* $Revision$
* $Date$
* $Id$
*
* Unless noted otherwise, the portions of Isis written by the USGS are
* public domain. See individual third-party library and ... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... |
opc_seq_jump_marker:
ldy seq_jmp, x
lda ZP_SEQ_I
sta (ZP_PTR_LO), y ; store current index as jump marker
rts
opc_seq_value:
jsr fetch_seq_op_byte ; op1 val
ldy seq_value_lo, x
sta (ZP_PTR_LO), y
rts
opc_seq_repeat:
jsr fetch_seq_op_byte ; op1 val
ldy seq_value_lo, x
sta (ZP_PTR_LO), y ... |
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll WALL, WALL, FLOOR, FLOOR ; 02
tilecoll WALL, WALL, WALL, WALL ; 03
tilecoll DOOR, DOOR, FLOOR, FLOOR ; 04
tilecoll WALL, WALL, WALL, WALL ; 05
tilecoll WALL, WALL, FLOOR, FLOOR ; 06
tilecoll WALL, WALL, FLOOR, FLOOR ; 07
... |
; A142305: Primes congruent to 29 mod 44.
; Submitted by Jamie Morken(s4)
; 29,73,293,337,557,601,733,821,953,997,1129,1217,1481,1613,1657,1789,1877,2053,2141,2273,2713,2801,3109,3329,3373,3461,3593,3637,3769,3989,4253,4297,4517,4561,4649,4957,5309,5441,5573,5749,5881,6101,6277,6673,6761,7069,7333,7817,7949,7993,8081,8... |
/*
* Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "Parser.h"
#include <AK/ScopeGuard.h>
#include <AK/TypeCasts.h>
namespace SQL::AST {
Parser::Parser(Lexer lexer)
: m_parser_state(move(lexer))
{
}
NonnullRefPtr<Statement> Parser::next_statement()
{
... |
;
; jdcolss2.asm - colorspace conversion (SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2019 The LiteCoins Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/li... |
get_order:
call clear_textarea
ld a,56+128
ld (ATT),a
call SETTROOPDRAWPOS
ld d,0
ld e,c
ld hl,troop_chars
add hl,de
ld a,(hl)
call PRINTUDG
ld a,56
ld (ATT),a
ld d,text_row1
ld e,0
call SETDRAWP... |
cir
|
// Copyright 2020 The TensorFlow Runtime Authors
//
// 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 ... |
/**
* ============================================================================
*
* Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... |
; A065228: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the square numbers. The first elements of the rows form a(n).
; 1,1,3,2,6,2,8,15,7,16,1,12,24,1,15,30,46,14,32,51,7,28,50,73,16,41,67,94,22,51,81,112,23,56,90,125,17,54,92,131,2,43,85,128,172,21,67,114,162,211... |
#include <lem/conversions.h>
#include <lem/mp3.h>
using namespace lem;
using namespace lem::File_Factory;
// list of genres
static char* g_arrMP3Genre[] =
{
"Blues","Classic Rock","Country","Dance","Disco","Funk","Grunge","Hip-Hop",
"Jazz","Metal","New Age","Oldies","Other","Pop","R&B","Rap","Reggae","R... |
; A244978: Decimal expansion of Pi/32.
; Submitted by Jon Maiga
; 0,9,8,1,7,4,7,7,0,4,2,4,6,8,1,0,3,8,7,0,1,9,5,7,6,0,5,7,2,7,4,8,4,4,6,5,1,3,1,1,6,1,5,4,3,7,3,0,4,7,2,0,5,6,9,0,5,4,6,7,0,1,8,5,0,9,6,1,9,2,6,2,6,9,6,4,4,4,0,3,1,2,0,7,1,2,6,0,8,8,2,9,1,9,4,1,1,5,8,3
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,... |
-- 7 Billion Humans --
-- 34. Seek and Destroy 1 --
-- Size: 9/9 --
-- Speed: 24/24 --
mem1 = set 99
a:
if n == wall:
pickup mem1
mem1 = nearest shredder
giveto mem1
endif
if c < mem1:
mem1 = set c
endif
step n
jump a
|
_primsrv: file format elf32-i386
Disassembly of section .text:
00000000 <is_prime>:
else // even
return next_pr(num-1); //become odd and return next_pr
}
*/
int is_prime(int number) {
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 10 ... |
; void in_mouse_kempston_callee(uint8_t *buttons, uint16_t *x, uint16_t *y)
SECTION code_clib
SECTION code_input
PUBLIC in_mouse_kempston_callee
EXTERN asm_in_mouse_kempston
in_mouse_kempston_callee:
call asm_in_mouse_kempston
pop ix
pop hl
ld (hl),c
inc hl
ld (hl),b
pop hl
ld ... |
TITLE: Euclid.asm
INCLUDE Irvine32.inc
IsPrime proto, num:dword
Modulo proto, divisor:byte, dividend:byte
GetNumberFromUser proto, num:ptr dword, prompt:ptr byte
PrintResults proto num1:dword, num2:dword, res:dword
GetGCD proto, num1:dword, num2:dword, res:ptr dword
.data
var_1 dword 0
var_2 dword 0
result dword 0
g... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Spooler
FILE: processTables.asm
AUTHOR: Jim DeFrisco, 15 March 1990
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jim... |
// Copyright (c) 2011-2015 The Cryptonote developers
// Copyright (c) 2016 Karbowanec developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <Common/Util.h>
#include <CryptoNoteConfig.h>
#include "CommandLinePa... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "SampleInputHandler.h"
#include "Character.h"
#include "../../SceneEngine/IntersectionTest.h"
#include "../../Tools/ToolsRig/IManipul... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x62c9, %rsi
lea addresses_WC_ht+0x6871, %rdi
nop
xor %rbp, %rbp
mov $13, %rcx
rep movsw
nop
nop
xor %rdx, %rdx
lea addresses_D_ht+0x12931, %rdx
nop
nop
nop
nop
xor $22599, %rbp
movb $0x... |
/** \file MachineType.hh
*
* Replaces auto-generated code to add PMMU MachineType support for SPM-based NoCs
*/
#include <cassert>
#include <iostream>
#include <string>
#include "base/logging.hh"
#include "mem/protocol/MachineType.hh"
using namespace std;
#include "mem/protocol/L1Cache_Controller.hh"
#include "m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.