text stringlengths 1 1.05M |
|---|
#include "hi.asm"
li(1)
st 0
li(0x5a)
push 0
li(0x5b)
push 0
peek 0 1
ld 0
1: jmp 1b
|
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <key.h>
#include <arith_uint256.h>
#include <crypto/common.h>
#include <... |
; size_t strrspn(const char *str, const char *cset)
SECTION code_clib
SECTION code_string
PUBLIC strrspn
EXTERN asm_strrspn
strrspn:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_strrspn
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _strrspn
defc _strrspn = strrspn
ENDIF
|
[bits 16]
startPatch EXE_LENGTH, spaceEndsKeyMouse
startBlockAt addr_valueForKey
callFromOverlay waitForClickOrKey
endBlockAt off_valueForKey_end
endPatch
|
/*****************************************************************************
* Copyright [2017] [taurus.ai]
*
* 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/li... |
; A184736: floor(nr+h), where r=-1+2^(3/2), h=-1/2; complement of A184735.
; 1,3,4,6,8,10,12,14,15,17,19,21,23,25,26,28,30,32,34,36,37,39,41,43,45,47,48,50,52,54,56,58,59,61,63,65,67,68,70,72,74,76,78,79,81,83,85,87,89,90,92,94,96,98,100,101,103,105,107,109,111,112,114,116,118,120,122,123,125,127,129,131,132,134,136,13... |
//Copyright (C) 2014-2017 I
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include"com.hpp"
#include"wic.hpp"
#include<d2d1.h>
#pragma comment(lib, "d2d1.lib")
#include<memory>
#include<vector>
namespa... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccixp_dstore
EXTERN cm48_sdccixp_m482d
cm48_sdccixp_dstore:
; sdcc float primitive
; Store AC' to memory at address HL
;
; Convert from math48 to sdcc float format.
;
; enter : HL = float * (sdcc format)
; AC'= double (math48 forma... |
#include "main.h"
void MainWindowStyle()
{
ImGuiIO &io = ImGui::GetIO();
io.IniFilename = NULL;
ImGuiStyle* style = &ImGui::GetStyle();
ImVec4* colors = style->Colors;
ImGui::StyleColorsDark(style);
colors[ImGuiCol_Text] = ImVec4(0.84f, 0.84f, 0.84f, 1.00f)... |
#include "stack.h"
#include "gmock/gmock.h"
using namespace testing;
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x17d4d, %rcx
nop
nop
nop
nop
nop
cmp %r13, %r13
movups (%rcx), %xmm6
vpextrq $0, %xmm6, %r12
nop
cmp $18220, %rcx
lea addresses_WC_ht+0x15b67, %rsi
clflush (%rsi)
nop
nop
nop
add %rdi,... |
; Generic Small C+ Floating point library
; Converts integer in hl to fp number
PUBLIC ufloat
EXTERN float1
;
; convert the integer in hl to (unsigned routine)
; a floating point number in FA
;
.ufloat
xor a ;signify no sig... |
; A227259: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of two or less, with rows and columns of the latter in lexicographically nondecreasing order.
; Submitted by Jon Maiga
; 3,9,23,50,96,168,274,423,625,891,1233,1664,2198,2850,3636,4573,5679,6973,8475,10206... |
; See:
; kernel/include/land/
%include "land/head.inc"
; segment .head_x86_64
__HEAD
[bits 64]
extern _kernel_main
extern _magic
;========================================================
; _kernel_begin:
;
; Entry point.
; This is the entry point of the 64bit kernel image.
; The boot loader jumps... |
db "ARMOR BIRD@" ; species name
dw 507, 1110 ; height, weight
db "The feathers that"
next "it sheds are very"
next "sharp. It is said"
page "that people once"
next "used the feathers"
next "as swords.@"
|
; A300404: Smallest integer k such that the largest term in the Goodstein sequence starting at k is > n.
; 2,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
bin $0,2
mov $1,$0
trn $0,2
sub $1,$0
... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r9
push %rax
push %rcx
// Faulty Load
lea addresses_UC+0xa909, %r9
nop
nop
nop
nop
sub $25906, %r14
movb (%r9), %r11b
lea oracles, %r9
and $0xff, %r11
shlq $12, %r11
mov (%r9,%r11,1), %r11
pop %rcx
pop ... |
.include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 19
card_no equ "019"
card_sub equ "Mod Card 019"
card_sub_x ... |
; A313982: Coordination sequence Gal.3.57.1 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,5,10,17,22,29,34,39,44,49,56,61,68,73,78,83,88,95,100,107,112,117,122,127,134,139,146,151,156,161,166,173,178,185,190,195,200,205,212,217,2... |
SECTION code_fp_math16
PUBLIC _fabsf16_fastcall
EXTERN asm_f16_fabs
defc _fabsf16_fastcall = asm_f16_fabs
|
;external files include in c programming
%include "include.asm"
global _start
section .bss
section .data
name db "Abdellah",0x0a,0x00
len equ $-name
section .text
_start:
push len
push name
call printname
call exit
|
db 0 ; species ID placeholder
db 90, 120, 120, 50, 60, 60
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 60 ; catch rate
db 189 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/donphan/... |
#include "Buffer.hpp"
#include "spdlog/spdlog.h"
Buffer::Buffer(Buffer &&other) noexcept
: m_id{other.m_id}, m_size{other.m_size}, m_mappedMemory{
other.m_mappedMemory} {
memset(&other, 0, sizeof(Buffer));
}
Buffer::~Buffer() {
if (m_id != GL_NONE) SPDLOG_WARN("T... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; $Id: test3210.asm,v 3.0 2003/04/20 03:17:52 Tom Exp $
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TASM test file
; Test all instructions and addressing modes.
; Processor: TMS32010
;
... |
; A017356: a(n) = (10*n+7)^4.
; 2401,83521,531441,1874161,4879681,10556001,20151121,35153041,57289761,88529281,131079601,187388721,260144641,352275361,466948881,607573201,777796321,981506241,1222830961,1506138481,1836036801,2217373921,2655237841,3154956561,3722098081,4362470401,5082121521,5887339441,6784652161,77808276... |
; A089143: a(n) = 9*2^n - 6.
; 3,12,30,66,138,282,570,1146,2298,4602,9210,18426,36858,73722,147450,294906,589818,1179642,2359290,4718586,9437178,18874362,37748730,75497466,150994938,301989882,603979770,1207959546,2415919098,4831838202,9663676410,19327352826
mov $1,2
pow $1,$0
sub $1,1
mul $1,9
add $1,3
|
// Copyright (c) 2012-2020 The Mantle Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <net_permissions.h>
#include <netbase.h>
#include <protocol.h>
#include <serialize.h>
#include <streams.h>
#include <... |
/*
* Copyright 2016-2018 Robert Konrad
*
* 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 agr... |
/*******************************************************************\
Module: Unit tests for has_subtype in expr_util.cpp
Author: Diffblue Ltd.
\*******************************************************************/
#include <testing-utils/catch.hpp>
#include <util/c_types.h>
#include <util/expr_util.h>
#include <... |
ORG 100
LDA LEN_V1
STA N
LDA HV1
STA CUR
BSA SUMV
LDA RIS
INC
STA RIS
LDA LEN_V2
STA N
LDA HV2
STA CUR
BSA SUMV
HLT
RIS, OUT
OUT, DEC 0
DEC 0
// -------------------------
SUMV, DEC 0
CICLO, LDA N
SNA
BUN FINE
LDA RIS I
ADD CUR I
STA RIS I
LDA CUR
INC
STA CUR
BSA INCN
BUN CICLO
FINE, BUN SUMV I
N, DEC 0 // L... |
#include "cppsdk/sdk.h"
#include <list>
#include <iostream>
#include <chrono>
#include <thread>
using std::list;
using std::cerr;
using std::endl;
using gaia::argument;
using gaia::job;
void CreateUser(list<argument> args) throw(string) {
cerr << "CreateUser has been started!" << endl;
// Print arguments
... |
// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.
#include "platform/input_system.h"
#include "foundation/utf8.h"
#include "platform/glfw/window_system.h"
#include "platform/window_system.h"
#include <GLFW/glfw3.h>
#ifdef WIN32
#... |
-- HUMAN RESOURCE MACHINE PROGRAM --
COMMENT 0
COPYFROM 9
COPYTO 8
BUMPUP 8
COMMENT 1
a:
INBOX
COPYTO 0
COMMENT 2
COPYFROM 9
COPYTO 1
COPYFROM 8
COPYTO 2
OUTBOX
COMMENT 3
b:
COPYFROM 2
ADD 1
COPYTO 3
COPYFROM 0
SUB ... |
;/////////////////////////////////////////////////////////////////////////////////
;/////////////////////////////////////////////////////////////////////////////////
;/////////////////////////////////////////////////////////////////////////////////
;
;//
VDCuserISR.IRQ:
;................................... |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "blac... |
; A023601: Convolution of A023532 and odd numbers.
; 1,3,6,11,17,24,33,44,56,69,84,101,120,140,161,184,209,236,265,295,326,359,394,431,470,511,553,596,641,688,737,788,841,896,952,1009,1068,1129,1192,1257,1324,1393,1464,1536,1609,1684,1761,1840,1921
mov $12,$0
mov $14,$0
add $14,1
lpb $14
clr $0,12
mov $0,$12
sub... |
// $Id$
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_ctype.h"
#include "ace/String_Base.h"
#include "ace/INet/HTTP_Response.h"
#if !defined (__ACE_INLINE__)
#include "ace/INet/HTTP_Response.inl"
#endif
#include "ace/INet/INet_Log.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
namespace HTTP
{
... |
// Copyright (c) 2019, Map IV, 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 conditions and... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x12949, %rcx
nop
nop
nop
nop
nop
and %rax, %rax
movw $0x6162, (%rcx)
sub $12673, %r8
lea addresses_WC_ht+0x1e549, %rsi
lea addresses_D_ht+0x13d59, %rdi
nop
nop
nop
nop
dec %r8
mov $113, %rcx
rep ... |
; A006367: Number of binary vectors of length n+1 beginning with 0 and containing just 1 singleton.
; 1,0,2,2,5,8,15,26,46,80,139,240,413,708,1210,2062,3505,5944,10059,16990,28646,48220,81047,136032,228025,381768,638450,1066586,1780061,2968040,4944519,8230370,13689118,22751528,37786915,62716752,104028245,172447884,2857... |
; Symbol mangling macros
; Copyright (c) 2001, David H. Hovemeyer <daveho@cs.umd.edu>
; $Revision: 1.1 $
; This file defines macros for dealing with externally-visible
; symbols that must be mangled for some object file formats.
; For example, PECOFF requires a leading underscore, while
; ELF does not.
; EXPORT defin... |
; A054027: Numbers that do not divide their sum of divisors.
; 2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74
mov $1,$0
mul $1,2
mov $2,$0
cmp $2,0
add $0,$2
lp... |
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
PUBLIC l_ult
;
; DE < HL [unsigned]
; set carry if true
.l_ult
ld a,d
cp h
ret nz
ld a,e
cp l
ret
|
;------------------------------------------------------------------------------
;
; 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. Th... |
input_xy:
call playstop
ld a,(JOYP_CURRENT) ;Select ?
bit 2,a
ret nz
ld a,(HWOK_ADC) ;No controls if pots are OK
or a
ret nz
ld a,(JOYP_ACTIVE)
bit 4,a
jr z,+
ld a,(CUTOFFSET)
cp 96-1
jr z,+
inc a
ld (CUTOFFSET)... |
; A152674: Number of divisors of the numbers that are not squares.
; 2,2,2,4,2,4,4,2,6,2,4,4,2,6,2,6,4,4,2,8,4,4,6,2,8,2,6,4,4,4,2,4,4,8,2,8,2,6,6,4,2,10,6,4,6,2,8,4,8,4,4,2,12,2,4,6,4,8,2,6,4,8,2,12,2,4,6,6,4,8,2,10,4,2,12,4,4,4,8,2,12,4,6,4,4,4,12,2,6,6,2,8,2,8
cal $0,282532 ; Position where the discrete difference ... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC mm48__comser
EXTERN mm48_equal, mm48_fpmul, mm48__calcs
mm48__comser:
; enter : a = loop count
; AC' = X
;
; exit : AC' = result
; AC = X
;
; uses : af, bc, de, hl, af', bc', de', hl'
;COMSER udregner en potensraekke af formen:
;T=X*((((X^2+K1)*... |
search::
call loadTextAsset
; Change SSID
ld hl, searchText
call displayText
xor a
call typeText
; Prepare the command
ld hl, myCmdBuffer
ld a, SERVER_REQU
ld [hli], a
push hl
ld hl, typedTextBuffer
call getStrLen
pop hl
inc a
ld [hli], a
xor a
ld [hli], a
ld a, 2
ld [hli], a
ld bc, $100
ld d... |
SECTION code_fp_math48
PUBLIC _llrint
EXTERN cm48_sdcciy_llrint
defc _llrint = cm48_sdcciy_llrint
|
; A269913: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 3", based on the 5-celled von Neumann neighborhood.
; 4,-4,44,-44,116,-116,220,-220,356,-356,524,-524,724,-724,956,-956,1220,-1220,1516,-1516,1844,-1844,2204,-2204,2596,-2596,... |
SaffronPokecenterObject:
db $0 ; border block
db $2 ; warps
db $7, $3, $6, $ff
db $7, $4, $6, $ff
db $0 ; signs
db $4 ; objects
object SPRITE_NURSE, $3, $1, STAY, DOWN, $1 ; person
object SPRITE_FOULARD_WOMAN, $5, $5, STAY, NONE, $2 ; person
object SPRITE_GENTLEMAN, $8, $3, STAY, DOWN, $3 ; person
object S... |
;
; Grundy Newbrain Specific libraries
;
; Stefano Bodrato - 19/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; closes a stream
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; void nb_close( int stream );
;
; - - - - - - - - - - - - - - - - - - - - - ... |
OPTIM_SIKO EQU 1
list
;*** Start of Arkos Tracker Player
nolist
;org #1000
; Arkos Tracker Player V1.01 - CPC & MSX version.
; 21/09/09
; Code By Targhan/Arkos.
; PSG registers sendings based on Madram/Overlander's optimisation trick.
; Restoring interruption status snippet by Grim/Arkos.
; V1.01 additions
; ---... |
; A297047: Number of edge covers in the n-wheel graph.
; Submitted by Jon Maiga
; 0,2,10,41,154,562,2023,7240,25842,92129,328270,1169390,4165231,14835316,52837774,188186161,670237602,2387090906,8501757271,30279468752,107841945274,384084812929,1367938393414,4871984909782,17351831683935,61799465142812,220102059235510,783... |
; A255226: Number of (n+2)X(6+2) 0..1 arrays with no 3x3 subblock diagonal sum 0 and no antidiagonal sum 0 and no row sum 2 and no column sum 2
; 88,94,103,115,133,160,199,256,340,463,643,907,1294,1861,2692,3910,5695,8311,12145,17764,25999,38068,55756,81679,119671,175351,256954,376549,551824,808702,1185175,1736923,2545... |
// Copyright 2015 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 "components/gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/rand_util... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestNIFTIReaderWriter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... |
;
; Copyright (c) 2006-2008 Advanced Micro Devices,Inc. ("AMD").
;
; 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 the Free Software Foundation; either version 2.1 of the
; License, or (at your option) any lat... |
#include <iostream>
using std::cout;
using std::endl;
int main(int argc, char const *argv[])
{
double a, *p, *q;
a= 3.14;
cout << a << endl;
p = &a;
*p = 2.718;
cout << a << endl;
a = 5;
cout << *p << endl;
p = nullptr;
p = new double;
*p = 20;
q = p;
cout << *p << endl;
cout << a << endl;
delete p;
p... |
#pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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 Licen... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xabdd, %rsi
lea addresses_WT_ht+0x16edd, %rdi
nop
nop
nop
xor %r9, %r9
mov $74, %rcx
rep movsb
nop
nop
nop
nop
nop
xor $65106, %r11
lea addresses_WC_ht+0x17e5f, %rsi
lea addre... |
TITLE TASKING.ASM - WOW Tasking Support
PAGE ,132
;
; WOW v1.0
;
; Copyright (c) 1991, Microsoft Corporation
;
; TASKING.ASM
; WOW Tasking Support on 16 bit side - also see wkman.c
;
; History:
; 23-May-91 Matt Felton (mattfe) Created
; 12-FEB-92 Cleanup
;
.xlist
include kernel.inc... |
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(int argc, const char * argv[]) {
vector<int> w, k;
int x;
int w_sum, k_sum;
//入力
//W大学
for (int i = 0; i < 10; i++) {
cin >> x;
w.push_back(x);
}
//昇順ソート
sort(w.begin()... |
; ************************************************************************************************************
; ************************************************************************************************************
;
; Spawn new princesses.
;
; *********************************************************... |
; A309338: a(n) = n^4 if n odd, 7*n^4/8 if n even.
; 0,1,14,81,224,625,1134,2401,3584,6561,8750,14641,18144,28561,33614,50625,57344,83521,91854,130321,140000,194481,204974,279841,290304,390625,399854,531441,537824,707281,708750,923521,917504,1185921,1169294,1500625,1469664,1874161,1824494,2313441,2240000,2825761,272273... |
Dump of assembler code for function intersection(std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&):
64 vector<int> intersection(const vector<int>&a, const vector<int>& b) {
0x00401557 <+0>: push %ebp
0x00401558 <+1>: mov %esp,%ebp
0x0040155a <+3>: push %ebx
... |
; A016906: a(n) = (5*n + 4)^10.
; 1048576,3486784401,289254654976,6131066257801,63403380965376,420707233300201,2064377754059776,8140406085191601,27197360938418176,79792266297612001,210832519264920576,511116753300641401,1152921504606846976,2446194060654759801,4923990397355877376,9468276082626847201,17490122876598091776,... |
; void *zx_aaddrcdown(void *attraddr)
SECTION code_clib
SECTION code_arch
PUBLIC zx_aaddrcdown
EXTERN asm_zx_aaddrcdown
defc zx_aaddrcdown = asm_zx_aaddrcdown
|
/*************************************
Learn C++ Programming by Making Games
Example 10.4: Function prototypes
*************************************/
#include <iostream>
using namespace std;
// A prototype for the average() function
double average( double, double, double );
// The main program
int main()
{
// Re... |
extern m7_ippsMontMul:function
extern n8_ippsMontMul:function
extern y8_ippsMontMul:function
extern e9_ippsMontMul:function
extern l9_ippsMontMul:function
extern n0_ippsMontMul:function
extern k0_ippsMontMul:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsM... |
;
; Enterprise 64/128 specific routines
; by Stefano Bodrato, 2011
;
; int exos_system_status(struct EXOS_INFO info);
;
;
; $Id: exos_system_status.asm,v 1.2 2015/01/19 01:32:43 pauloscustodio Exp $
;
PUBLIC exos_system_status
exos_system_status:
ex de,hl
rst 30h
defb 20
ld h,0
ld l,b
ret
|
From smtp Fri Mar 24 16:17 EST 1995
Received: from lynx.dac.neu.edu by POBOX.jwu.edu; Fri, 24 Mar 95 16:17 EST
Received: (from ekilby@localhost) by lynx.dac.neu.edu (8.6.11/8.6.10) id QAA30764 for joshuaw@pobox.jwu.edu; Fri, 24 Mar 1995 16:21:26 -0500
Date: Fri, 24 Mar 1995 16:21:26 -0500
From: Eric Kilby <ekilby@lynx.... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xff7b, %rdi
nop
nop
nop
nop
sub $52222, %r15
mov (%rdi), %r11w
nop
nop
nop
and %r13, %r13
lea addresses_WT_ht+0x91bb, %r9
nop
nop
and $5084, %rdi
movb $0x61, (%r9)
a... |
#include "lInfTrustBALP.hpp"
#include <cmath>
using namespace std;
lInfTrustModel::lInfTrustModel(int nvar1, bundle_t const &cuts, double trustRadius, std::vector<std::vector<double> > const& center) :
nvar1(nvar1), cuts(cuts), trustRadius(trustRadius), center(center) {}
vector<double> lInfTrustModel::getFirstStag... |
CopyName1::
; Copies the name from de to wStringBuffer2
ld hl, wStringBuffer2
CopyName2::
; Copies the name from de to hl
.loop
ld a, [de]
inc de
ld [hli], a
cp "@"
jr nz, .loop
ret
CopyStringWithTerminator::
; in: hl = source, de = destination, c = length (non-zero)
; out: clobbers all but b
dec c
.copy_lo... |
; $Id: bs3-cmn-KbdRead.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - Bs3KbdRead.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or mo... |
/***************************************************************
*
* Copyright (C) 1990-2018, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... |
// Copyright (c) 2011-2013 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 "governancedialog.h"
#include "ui_governancedialog.h"
#include "masternode.h"
#include "masternode-sync.h"
#include ... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80p_dswap
EXTERN cm48_sccz80p_dcallee1_0, cm48_sccz80p_dpush_0
cm48_sccz80p_dswap:
; sccz80 float primitive
; Swap two floats.
;
; enter : AC'(BCDEHL') = double x (math48)
; stack = double y (sccz80), ret
;
; exit : AC'(B... |
; ---------------------------------------------------------------------------
; Sprite mappings - moving blocks (SYZ/SLZ/LZ)
; ---------------------------------------------------------------------------
Map_FBlock_internal:
dc.w @syz1x1-Map_FBlock_internal
dc.w @syz2x2-Map_FBlock_internal
dc.w @syz1x2-Map_FBlock_... |
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* 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 ri... |
%include "macros/patch.inc"
; Fixes a bug where objects with Sensors=yes cause nearby cloaked objects of allied players to decloak.
; Author: Rampastring
hack 0x0043B2E5
pushad
; We have one house in ECX and another in EDX
push edx
call 0x004BDA20 ; HouseClass::Is_Ally(HouseClass *)
test al, al
popad
jz .no... |
;************************* popcount64.asm ************************************
; Author: Agner Fog
; Date created: 2011-07-20
; Last modified: 2011-07-20
; Description:
; Population count function. Counts the number of 1-bits in a 32-bit integer
; unsigned int A_popcount (unsigned int x);
;
; Positi... |
; A184336: a(n) = n + floor((3*n)^(1/3) - 2/3).
; 1,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71
mov $2,2
mov $3,1
mov $4,$0
lpb $0
sub $0,$3
sub $0,3
trn $0,1
add $1,... |
; A023561: Convolution of A023531 and (F(2), F(3), F(4), ...).
; Submitted by Christian Krause
; 0,1,2,3,6,10,16,26,43,70,113,183,296,480,777,1257,2034,3291,5325,8617,13943,22560,36503,59063,95566,154629,250196,404826,655022,1059848,1714870,2774718,4489588,7264306
lpb $0
mov $2,$0
add $0,$3
trn $0,3
seq $2,159... |
; A233908: 10*binomial(7*n+10,n)/(7*n+10).
; Submitted by Christian Krause
; 1,10,115,1450,19425,271502,3915100,57821940,870238200,13298907050,205811513765,3218995093860,50802419972395,808016193159000,12938696992921000,208419656266988904,3374960506795660365,54907659530154222000,897060906625956765000,1471150079950608141... |
; A011874: [ n(n-1)/21 ].
; 0,0,0,0,0,0,1,2,2,3,4,5,6,7,8,10,11,12,14,16,18,20,22,24,26,28,30,33,36,38,41,44,47,50,53,56,60,63,66,70,74,78,82,86,90,94,98,102,107,112,116,121,126,131,136,141
bin $0,2
mov $1,$0
add $1,$0
div $1,21
|
#include <catch.hpp>
#include <helgoboss-midi/MidiParameterNumberMessage.h>
using helgoboss::util::couldBePartOfParameterNumberMessage;
namespace helgoboss {
SCENARIO("Empty parameter number messages") {
GIVEN("Default-constructed or explicitly empty parameter number messages") {
const MidiParameterNumber... |
db SUNKERN ; 191
db 30, 30, 30, 30, 30, 30
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 235 ; catch rate
db 52 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sunkern/front.dimension... |
WildDataPointers:
dw NoMons ; PALLET_TOWN
dw NoMons ; VIRIDIAN_CITY
dw NoMons ; PEWTER_CITY
dw NoMons ; CERULEAN_CITY
dw NoMons ; LAVENDER_TOWN
dw NoMons ; VERMILION_CITY
dw NoMons ; CELADON_CITY
dw NoMons ; FUCHSIA_CITY
dw NoMons ; CINNABAR_ISLAND
dw NoMons ;... |
#include "RisingTides.h"
#include "GUI/SimpleTest.h"
#include "queue.h"
using namespace std;
Grid<bool> floodedRegionsIn(const Grid<double>& terrain,
const Vector<GridLocation>& sources,
double height) {
Grid<bool> water(terrain.numRows(), terrain.numCols(), ... |
;
; A basic BIOS boot sector
;
[org 0x7c00]
mov [BOOT_DRIVE], dl ; BIOS stores the boot drive in dl, save it for later
mov bp, 0x8000 ; Set up the stack some place out of the way
mov sp, bp
mov ah, 0x00 ; BIOS set video mode
mov al, 0x02 ; 80... |
//
// Student License - for use by students to meet course requirements and
// perform academic research at degree granting institutions only. Not
// for government, commercial, or other organizational use.
//
// abcdeg_O_VP.cpp
//
// Code generation for function 'abcdeg_O_VP'
//
// Include files
#include "abcdeg_O_V... |
; A169500: Number of reduced words of length n in Coxeter group on 7 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I.
; 1,7,42,252,1512,9072,54432,326592,1959552,11757312,70543872,423263232,2539579392,15237476352,91424858112,548549148672,3291294892032,19747769352192,118486616113152,710919696678912,426551818007... |
dc.w word_21368-Map_Surfboard
dc.w word_2136A-Map_Surfboard
dc.w word_2137E-Map_Surfboard
dc.w word_2139E-Map_Surfboard
dc.w word_213B8-Map_Surfboard
word_21368: dc.w 0
word_2136A: dc.w 3
dc.b $FC, $D, 0, 0, $FF, $E0
dc.b $FC, 9, 0, 8, 0, 0
dc.b $F4, 1, 0, $E, 0, $18
word_2137E:... |
;;;
; Creates a new new ArrayList of qwords and allocates memory. The list will have
; an initial size. Each time a new item must be inserted, if the item
; does not fit in the allocated space, the current allocated space will be doubled
; and the item will be placed in the next place in the list.
;
; params:
... |
; ---------------------------------------------------------------------------
; Sprite mappings - purple rock (GHZ)
; ---------------------------------------------------------------------------
Map_PRock_internal:
dc.w byte_D110-Map_PRock_internal
byte_D110: dc.b 2
dc.b $F0, $B, 0, 0, $E8
dc.b $F0, $B, 0, $C, 0
... |
#pragma once
#include <iomanip> /*setw, setfill*/
#include <sstream> /*stringstream*/
#include <cmath> /*log10*/
#include <string> /*return value string*/
#include <cassert> /*assert*/
namespace ElegantProgressbars{
/**
* Writes progress expressed as percentage
*
* Takes the elements that were already... |
.text
#Leer dos números del usuario
li $v0, 5
syscall
move $a1, $v0
li $v0, 5
syscall
move $a2, $v0
#compara
bgt $a2, $a1, label
label:
#Imprimir el resultado
move $a0, $a1
bucle:
li $v0, 1
syscall
#incrementa
add $a0, $a0, $a1
bgt $a2, $a0, bucle
#salir
li $v0, 10
syscall
|
; Patch after-death CONTINUE option to point to
; Select SaveGame screen
.Patch ($07,$BB2F)
JMP $DE2D
.Eop (0)
; NOTE: Invalidates the following:
;DO Continue
;$06/BB2F
;...
;$06/BB81
;SHOW PASSWORD
;$06/BB84
;...
;$06/BBC2
; Patches Password Load to select Savegame
.PATCH ($08,$DE2D)
LDA #$FF
STA $D7
JSR DO_L... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.