text stringlengths 1 1.05M |
|---|
; 07:CB9B:8D 07 20 STA $2007
; 01CBAB
.org $CB9B
JSR $FB40 |
; A103570: Sum of the (primes > 5 modulo 13).
; 7,18,18,22,28,38,41,46,57,59,63,71,72,79,88,90,96,104,105,110,121,127,137,149,152,157,166,176,177,184,193,199,207,208,215,226,230,240,252,261,272,274,278,281,283,289,297,309,314,321,325,335,338,347,358,362
mov $2,$0
mov $3,$0
add $3,1
lpb $3
mov $0,$2
sub $3,1
sub ... |
db BLISSEY ; 242
db 255, 10, 10, 55, 75, 135
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 30 ; catch rate
db 255 ; base exp
db NO_ITEM, LUCKY_EGG ; items
db GENDER_F100 ; gender ratio
db 100 ; unknown 1
db 40 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/blissey/front.dime... |
_cat: 文件格式 elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 15 ... |
; A236348: Expansion of (1 - x + 2*x^2 + x^3) / ((1 - x) * (1 - x^3)) in powers of x.
; 1,0,2,4,3,5,7,6,8,10,9,11,13,12,14,16,15,17,19,18,20,22,21,23,25,24,26,28,27,29,31,30,32,34,33,35,37,36,38,40,39,41,43,42,44,46,45,47,49,48,50,52,51,53,55,54,56,58,57,59,61,60,62,64,63,65,67,66,68,70,69,71,73,72,74,76,75,77,79,78,80... |
; A142284: Primes congruent to 35 mod 43.
; Submitted by Christian Krause
; 293,379,809,1153,1583,1669,2099,2357,3217,3389,3733,4421,4507,4679,4937,5023,5281,5711,6571,6829,7001,7517,7603,8291,8377,8807,8893,9151,9323,9839,10613,10957,11731,11903,12161,12763,13451,13537,13709,13967,14741,14827,15601,15773,15859,16547,1... |
//Alternative Way Using If-Else Logic
#include<iostream>
using namespace std;
int main()
{
int n;
cout<<"Enter Number Of Rows:"<<endl;
cin>>n;
for(int i=n;i>=1;i--)
{
for(int j=n;j>=1;j--)
{
if(i>=j)
{
cout<<"*";
}
else
... |
// Copyright (c) 2011-2013 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 "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"... |
main:
mov 8, %g1
mov -7, %g2
add %g1,%g2,%o0
xor %g1,%g2,%o1
andn %g1,%g2,%o2
xnor %g1,%g2,%o3
sub %g1,%g2,%o4
|
.ASSUME ADL=0
;===============================================================================
;OS 2.43 basecall table is 4917 bytes long (1639 entries) starting at $4000
#DEFINE OS_NUMCALLS 1639
bcall_sbase_os:
;.ds (bcall_sbase_os+(3*OS_NUMCALLS))-$
.dl errnosupport ;$4000 _JErrorNo
.dl errnosupport ... |
; int p_forward_list_empty(p_forward_list_t *list)
SECTION code_adt_p_forward_list
PUBLIC p_forward_list_empty
defc p_forward_list_empty = asm_p_forward_list_empty
INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_empty.asm"
|
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The NV developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcconsole.h"
#include "... |
; flat assembler interface for Linux
; Copyright (c) 1999-2018, Tomasz Grysztar.
; All rights reserved.
format ELF executable 3
entry start
segment readable executable
start:
mov [con_handle],1
mov esi,_logo
call display_string
mov [command_line],esp
mov ecx,[esp]
mov ebx,[esp+4+ecx*4+4]
mov [environment... |
; A074065: Numerators a(n) of fractions slowly converging to sqrt(3): let a(1) = 0, b(n) = n - a(n); if (a(n) + 1) / b(n) < sqrt(3), then a(n+1) = a(n) + 1, else a(n+1)= a(n).
; 0,1,1,2,3,3,4,5,5,6,6,7,8,8,9,10,10,11,12,12,13,13,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,24,24,25,25,26,27,27,28,29,29,30,31,31,32,32,3... |
; A282029: a(n) = n - pi(n/2).
; 0,1,2,3,3,4,4,5,6,7,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,22,23,24,25,26,27,27,28,29,30,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,48,49,50,51,51,52,53,54,55,56,57,58,59,60,61,62,62,63,64,65,66,67,68,69,69,70,71,72,72,73,74,75,76,77,78,79,79,80,81,82,83,84,... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: citoh 9-pin Print Driver
FILE: citoh9ControlCodes.asm
AUTHOR: Dave Durran, 1 April 1990
ROUTINES:
Name Description
---- -------... |
;==============================================================================
; Contents of this file are copyright Phillip Stevens
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; https://github.com/feilipu/
;
; https:... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.21.27702.2
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC ?gAntiOptimizationMask@@3HA ; gAntiOptimizationMask
PUBLIC ??_C@_03GCDGINBO@ref@ ; `string'
PUBLIC ??_C@_03OEPHKLAG@SSE@ ; `string'
_BSS SEGMENT
?gAntiOptimization... |
/*
* Copyright (c) 2019, 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 rights to use, copy, modify, merge, publis... |
; $Id: bit_close_ei.asm,v 1.1 2008/03/31 17:16:20 stefano Exp $
;
; VZ 200 - 1 bit sound functions
;
; Close sound and restore interrupts
;
; Stefano Bodrato - 31/03/2008
;
XLIB bit_close_ei
.bit_close_ei
ei
ret
|
#include "StatusSample.hpp"
namespace moreorg {
StatusSample::~StatusSample()
{}
StatusSample::StatusSample(const Agent& instance,
const base::Position& fromLocation,
const base::Position& toLocation,
size_t fromTime,
size_t toTime,
Agent::OperationalStatus... |
.thumb
@inserted inline at 2AEEC
.equ origin, 0x2AAEC
.equ Check_Effectiveness, . + 0x16BEC - origin
.equ Next, . + 0x2AB4A - origin
@r6=attacker, r8=defender, r4=attacker+0x5A (attack)
mov r5,#0
cmp r0,#0
beq Label1
mov r5,r0
Label1:
ldrh r0,[r7] @attacker's item
mov r1,r8
bl Check_Effectiveness
cmp r0,#0... |
; A007509: Numerator of Sum_{k=0..n} (-1)^k/(2*k+1).
; Submitted by Jamie Morken(w3)
; 1,2,13,76,263,2578,36979,33976,622637,11064338,11757173,255865444,1346255081,3852854518,116752370597,3473755390832,3610501179557,3481569435902,133330680156299,129049485078524,5457995496252709,227848175409504262,234389556075339277,107... |
#include "WindowManager.hpp"
namespace snp {
WindowManager::WindowManager() :
window(sf::VideoMode(1280, 720), "Default Name", sf::Style::Default) {
}
WindowManager::~WindowManager() {
}
}
|
; A048656: a(n) is the number of unitary (and also of squarefree) divisors of n!.
; 1,2,4,4,8,8,16,16,16,16,32,32,64,64,64,64,128,128,256,256,256,256,512,512,512,512,512,512,1024,1024,2048,2048,2048,2048,2048,2048,4096,4096,4096,4096,8192,8192,16384,16384,16384,16384,32768,32768,32768,32768,32768,32768,65536,65536,6553... |
; A055112: a(n) = n*(n+1)*(2*n+1).
; 0,6,30,84,180,330,546,840,1224,1710,2310,3036,3900,4914,6090,7440,8976,10710,12654,14820,17220,19866,22770,25944,29400,33150,37206,41580,46284,51330,56730,62496,68640,75174,82110,89460,97236,105450,114114,123240,132840,142926,153510,164604,176220,188370,201066,214320,228144,242550,2... |
; A226702: Positive solutions y/5 of the Pell equation x^2 - 61*y^2 = -4.
; Submitted by Jon Maiga
; 1,1522,2318005,3530320093,5376675183634,8188672774354489,12471343258666703113,18993847594276614486610,28927617414740025196403917,44056742328801464097508678981,67098389639147215080480521684146
mul $0,2
mov $2,1
lpb $0
... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The Bitstock developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientmodel.h"
#i... |
#fn add1(value) => value + 1
#fn add1(value) => value + 1 ; error: duplicate / note:_:1: first declared |
db "LICKING@" ; species name
db "It has a tongue"
next "that is over 6'6''"
next "long. It uses this"
page "long tongue to"
next "lick its body"
next "clean.@"
|
; A123522: Not of the form n + [log_10 n].
; 0,10,101,1002,10003,100004,1000005,10000006,100000007,1000000008,10000000009,100000000010,1000000000011,10000000000012,100000000000013,1000000000000014,10000000000000015,100000000000000016,1000000000000000017,10000000000000000018,100000000000000000019,1000000000000000000020,... |
#include <docopt.h>
#include <spdlog/sinks/ansicolor_sink.h>
#include <spdlog/spdlog.h>
#include <sysrepo-cpp/Session.hpp>
#include "VELIA_VERSION.h"
#include "main.h"
#include "system_vars.h"
#include "system/Authentication.h"
#include "system/Firmware.h"
#include "system/IETFInterfaces.h"
#include "system/IETFInterfa... |
/*=========================================================================
Program: VMTK
Module: $RCSfile: vtkvmtkPolyDataCenterlineProjection.cxx,v $
Language: C++
Date: $Date: 2005/03/31 15:07:48 $
Version: $Revision: 1.3 $
Copyright (c) Luca Antiga, David Steinman. All rights reserved.
... |
sra $4,$4,10
ori $1,$5,43569
nor $6,$5,$3
srl $4,$3,27
lw $1,16($0)
sh $4,2($0)
srlv $5,$5,$3
lh $3,10($0)
lbu $4,15($0)
or $1,$3,$3
andi $5,$0,50541
xori $0,$3,24154
sltiu $6,$6,14609
andi $6,$5,33818
subu $4,$4,$3
lb $0,7($0)
sltiu $4,$1,-8645
ori $4,$0,44772
sll $1,$1,13
sb $4,6($0)
subu $3,$3,$3
slt $0,$1,$3
slti $... |
; A016226: Expansion of 1/((1-x)(1-4x)(1-11x)).
; 1,16,197,2252,25113,277608,3059149,33672484,370484705,4075681280,44833892181,493178406396,5424984839977,59674922718232,656424507814493,7220671017615188,79427386920390129,873701279030783664
lpb $0
mov $2,$0
sub $0,1
seq $2,16158 ; Expansion of 1/((1-4*x)(1-11*x)).... |
; A303590: Floor(n*beta)-1, where 1/alpha+1/beta=1, alpha being the number with continued fraction expansion [1;1,2,3,4,5,...] (A247844).
; 1,3,6,8,11,13,16,18,20,23,25,28,30,33,35,37,40,42,45,47,50,52,54,57,59,62,64,67,69,71,74,76,79,81,84,86,89,91,93,96,98,101,103,106,108,110,113,115,118,120,123,125,127,130,132,135,1... |
; Copyright 2016 Phillip Oppermann, Calvin Lee and JJ Garzella.
; See the README.md file at the top-level directory of this
; distribution.
;
; Licensed under the MIT license <LICENSE or
; http://opensource.org/licenses/MIT>, at your option.
; This file may not be copied, modified, or distributed
; except according to ... |
.ORIG x600
BRnzp STARTUP
STARTUP
ST R0,UPPERR0
ST R1,UPPERR1
ST R2,UPPERR2
ST R3,UPPERR3
LD R1,ADDR
LEA R2,INTVEC
AND R3,R3,#0
ADD R3,R3,#3
INTVECLOOP
LDR R0,R2,#0
STR R0,R1,#0
ADD R1,R1,#1
ADD R2,R2,#1
ADD R3,R3,#-1
BRp INTVECLOOP
LD R0,UPPERR0
LD R1,UPPERR1
LD R2,UPPERR2
LD R3,UPPERR3
RET
UPP... |
; 0400 - NOP
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.code
init:
nop
nop
nop |
TITLE data07
INCLUDE Irvine32.inc
.data
;an array aw1 of words containing 99 elements. initialized with 12.
aw1 WORD 99 DUP(12)
;an array aw2 of words containing 88 elements.
aw2 WORD 88 DUP(?)
;create a pointer to aw2 called pAw2.
pAw2 DWORD aw2
.code
main PROC
;part a) Translate from Pesudomathojava : ... |
#include "supporting_libs.h"
void pr(long int n)
{
while(n>0)
{
std::cout<<n+'\n';
n = n-1;
}
}
int main( )
{
pr(10);
return 0;
}
|
; A295737: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = 1, a(1) = -1, a(2) = -1, a(3) = 2.
; Submitted by Jon Maiga
; 1,-1,-1,2,-1,9,4,29,25,86,95,245,308,681,925,1862,2659,5033,7436,13493,20417,35958,55351,95405,148708,252305,396917,665606,1054331,1752705,2790652,4608893,7366777,12106742,19407983,317768... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: LBP driver
FILE: capsl3Info.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 2/27/90 ... |
// Copyright (c) 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 "wallet.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "init.h"
#in... |
; void in_mouse_kempston(uint8_t *buttons, uint16_t *x, uint16_t *y)
SECTION code_clib
SECTION code_input
PUBLIC in_mouse_kempston
EXTERN asm_in_mouse_kempston
in_mouse_kempston:
call asm_in_mouse_kempston
pop ix
pop hl
ld (hl),c
inc hl
ld (hl),b
pop hl
ld (hl),e
inc hl
l... |
// ---------------------------------------------------------------------------
.mx 0x30
IO__Error:
rtl
// ---------------------------------------------------------------------------
// PPUCTRL $2000 VPHB SINN NMI enable (V), PPU master/slave (P), sprite height (H), background tile select (B), sprite til... |
; A257934: Expansion of 1/(1-x-x^2-x^3-x^4+x^5+x^6+x^7).
; 1,1,2,4,8,14,26,48,89,163,300,552,1016,1868,3436,6320,11625,21381,39326,72332,133040,244698,450070,827808,1522577,2800455,5150840,9473872,17425168,32049880,58948920,108423968,199422769,366795657,674642394,1240860820,2282298872,4197802086,7720961778
trn $0,1
se... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fis/model/Action.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace FIS
{
na... |
lc r4, 0x00000000
lc r5, 0x0000101f
lc r6, 0x00000000
tlbse r6, r4
lc r8, 0x40000000
lc r9, 0x0000101f
lc r10, 0x00000001
tlbse r10, r8
lc r11, 0xdeadbeef
lc r12, 0x40000000
lc r13, 0x40000000
st4 r11, r12, 0
ex4 r30, r12, 0
halt
#@expected values
#r4 = 0x0000000... |
; A065165: Permutation t->t+2 of Z, folded to N.
; 4,6,2,8,1,10,3,12,5,14,7,16,9,18,11,20,13,22,15,24,17,26,19,28,21,30,23,32,25,34,27,36,29,38,31,40,33,42,35,44,37,46,39,48,41,50,43,52,45,54,47,56,49,58,51,60,53,62,55,64,57,66,59,68,61,70,63,72,65,74,67,76,69,78,71,80,73,82,75,84,77,86,79,88,81,90,83,92,85,94,87,96,89... |
/*
Copyright © 2017-2020, orcaer@yeah.net All rights reserved.
Author: orcaer@yeah.net
Last modified: 2019-10-20
Description: https://github.com/wlgq2/uv-cpp
*/
#include <iostream>
#include "EchoServer.hpp"
#include "Clinet.hpp"
#include <chrono>
using namespace uv;
#defin... |
; name: XOR, AND and OR
; code: "30C820C008C831C821D109D16631C86621D16609D13501002501000D010081F1010081E1010081C9010030C820C008C86631C86621D16609D131C821D109D16635010066250100660D01006681F101006681E101006681C9010030C820C008C86631C86621D16609D131C821D109D14831C84821D14809D16635010066250100660D01006681F101006681E10100668... |
// 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... |
// Copyright (c) 2017-2018 The BitRub Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/coinselection.h>
#include <optional.h>
#include <util/system.h>
#include <util/moneystr.h>
// Descending or... |
or $t0, $0, $0
ori $t1, $0, 32
ori $t4, $0, 0xcaca
ori $t5, $0, 0xcafe
LOOP:
sb $t5, 0($t0)
sb $t5, 1($t0)
sb $t4, 2($t0)
sb $t4, 3($t0)
addi $t0, $t0, 4
slt $t2, $t0, $t1
bne $t2, $0, LOOP
or $at, $0, $0
or $v0, $0, $0
or $v1, $0, $0
or $a0, $0, $0
o... |
; A229526: The c coefficients of the transform ax^2 + (4a/k - b)x + 4a/k^2 + 2b/k + c= 0 for a,b,c = 1,-1,-1, k = 1,2,3...
; 5,1,1,-1,-11,-5,-31,-11,-59,-19,-95,-29,-139,-41,-191,-55,-251,-71,-319,-89,-395,-109,-479,-131,-571,-155,-671,-181,-779,-209,-895,-239,-1019,-271,-1151,-305,-1291,-341,-1439,-379,-1595,-419,-175... |
/***************************************************************************************************
LICENSE:
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.apach... |
; libsrc/graphics/ts2068hr/w_pixladdr.asm
; posted by rdk77, 11/11/2010
SECTION code_graphics
PUBLIC w_pixeladdress
INCLUDE "graphics/grafix.inc"
;
; $Id: w_pixladdr.asm,v 1.3 2016-10-14 06:40:26 stefano Exp $
;
; ******************************************************************
; Get absolute pixel add... |
#include "Galaxy.h"
int main(int argc, void* argv[])
{
Galaxy gal;
gal.ParseSettings(argc, (char ** )(argv));
gal.Generate();
}; |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 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 "db.h"
#include "net.h"
#include "init.h"
#include "addrman.h"
#include "... |
; A116576: Number of distinct squares D(n) in the n-th iterate of the tribonacci morphism (a -> ab, b -> ac, c -> a) on the letter a.
; Submitted by Jon Maiga
; 2,7,17,35,69,132,248,462,856,1581,2915,5369,9883,18186,33458,61548,113214,208243,383029,704511,1295809,2383376,4383724,8062938,14830068,27276761,50169799,92276... |
; A122552: a(0)=a(1)=a(2)=1, a(n) = a(n-1) + a(n-2) + 2*a(n-3) for n > 2.
; 1,1,1,4,7,13,28,55,109,220,439,877,1756,3511,7021,14044,28087,56173,112348,224695,449389,898780,1797559,3595117,7190236,14380471,28760941,57521884,115043767,230087533,460175068,920350135,1840700269,3681400540,7362801079,14725602157,29451204316,... |
#include "display.h"
#include "settings.h"
// #define ENG_LANG
#define RUS_LANG
namespace letter {
#if defined(RUS_LANG)
static const uint8_t CAPITAL_PEH = 168;
static const uint8_t CAPITAL_VEH = 66;
static const uint8_t CAPITAL_ESS = 67;
static const uint8_t CAPITAL_CH = 171;
static const uint8... |
; A126420: a(n) = n^3 - n - 1.
; -1,5,23,59,119,209,335,503,719,989,1319,1715,2183,2729,3359,4079,4895,5813,6839,7979,9239,10625,12143,13799,15599,17549,19655,21923,24359,26969,29759,32735,35903,39269,42839,46619,50615,54833,59279,63959,68879,74045,79463,85139,91079,97289,103775,110543,117599,124949,132599,140555,14882... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
TEXTAREA
; ------------------------------------------------------------------
; Start of the writeable cod... |
.globl Tela24
Tela24:
addi $10, $0, 0xcff8cf
sw $10, 268500992($0)
addi $10, $0, 0x00d800
sw $10, 268500996($0)
addi $10, $0, 0x00d800
sw $10, 268501000($0)
addi $10, $0... |
//
// Created by yche on 1/17/18.
//
#include <iostream>
#include "random_pair_generator.h"
//#include "../playground/pretty_print.h"
void generate_sample_pairs(string graph_name, int pair_num, int round_num) {
string path = get_edge_list_path(graph_name);
GraphYche g(path);
// generate pairs
random... |
copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
00195A clr.b ($c0,A1) [enemy+16]
00195E clr.b ($c2,A1) [enemy+C0]
004100 rts [enemy+C0]
0122AC move.l (A2)+, (A3)+ [enemy+BC, enemy+BE]
0122AE move.l (A2)+, (A3)+ [enemy+C0, enemy+C2]
01A75E dbra D4, $1a75c
025544 move... |
INCLUDE "config_private.inc"
SECTION code_esxdos
PUBLIC __esx_exx_mmu67_bc
IF __ZXNEXT
__esx_exx_mmu67_bc:
; enter : c = new mmu6 page
; b = new mmu7 page
;
; exit : c = old mmu6 page
; b = old mmu7 page
;
; mmu6 and mmu7 set to new page numbers
;
; uses : af, b... |
// Juan Manuel Young Hoyos
@256
D=A
@SP
M=D
@300
D=A
@LCL
M=D
@400
D=A
@ARG
M=D
@3000
D=A
@THIS
M=D
@3010
D=A
@THAT
M=D
@10
D=A
@SP
A=M
M=D
@SP
M=M+1
@0
D=A
@LCL
D=D+M
@13
M=D
@SP
A=M-1
D=M
@13
A=M
M=D
@SP
M=M-1
@21
D=A
@SP
A=M
M=D
@SP
M=M+1
@22
D=A
@SP
A=M
M=D
@SP
M=M+1
@2
D=A
@ARG
D=D+M
@13
M=D
@SP
A=M-1
D=M
@13
A=M... |
#include "Rect.hpp"
#include "Point.hpp"
#include "Segment.hpp"
#include <Constants.hpp>
using namespace std;
namespace Geometry2d {
//constants used for the rect-segment intersection
const int INSIDE = 0x00; // 0000
const int LEFT = 0x01; // 0001
const int RIGHT = 0x02; // 0010
const int BOTTOM = 0x04; // 0100
c... |
// ======================================================================
// \title SystemResources.hpp
// \author mstarch
// \brief cpp file for SystemResources test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States... |
MODULE console_vars
PUBLIC __zx_console_attr
SECTION data_clib
__zx_console_attr: defb 56 ;Default attribute
|
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See ... |
; A087123: a(n) = Fibonacci(n+1) - (-1)^n*Fibonacci(n).
; 1,2,1,5,2,13,5,34,13,89,34,233,89,610,233,1597,610,4181,1597,10946,4181,28657,10946,75025,28657,196418,75025,514229,196418,1346269,514229,3524578,1346269,9227465,3524578,24157817,9227465,63245986,24157817
add $0,1
cal $0,97131 ; F(n)+(-1)^n*F(n-1).
mov $1,$0
|
; Copyright (c) 2004 - 2011, 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. The full text of the license may be found ... |
#include "joiners/multistep_example_joiner.h"
#include "parse_example_external.h"
#include "generated/v2/DedupInfo_generated.h"
#include "generated/v2/Event_generated.h"
#include "generated/v2/Metadata_generated.h"
#include "generated/v2/OutcomeEvent_generated.h"
#include "io/logger.h"
#include "event_processors/typed... |
/*
* Copyright 2009-2021 The VOTCA Development Team (http://www.votca.org)
*
* 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
*
* Unle... |
; A172517: Number of ways to place 2 nonattacking queens on an n X n toroidal board.
; 0,0,0,32,100,288,588,1152,1944,3200,4840,7200,10140,14112,18900,25088,32368,41472,51984,64800,79380,96800,116380,139392,165000,194688,227448,264992,306124,352800,403620,460800,522720,591872,666400,749088,837828,935712,1040364,1155200... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rsi
lea addresses_WC_ht+0x12045, %r10
nop
nop
nop
nop
nop
inc %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm6
vmovups %ymm6, (%r10)
nop
xor $15592, %r13
lea addresses_A_ht+0x4d85, %r10
nop
sub %r9, %r9
mov (%r10), %e... |
#include <Switch/Switch>
using namespace System;
namespace Examples {
class Program {
public:
// The main entry point for the application.
static void Main() {
String str;
String nl = Environment::NewLine;
Console::WriteLine();
// <-- Keep this information secure! -->
Strin... |
; A291017: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - 5 S + S^2.
; 5,29,168,973,5635,32634,188993,1094513,6338640,36708889,212591743,1231179978,7130117645,41292563669,239137122168,1384911909493,8020423511275,46448581212474,268997103908393,1557839658871433,9021897884741280,52248407581088929,302585567874433543,1752360... |
; A075841: Numbers k such that 2*k^2 - 9 is a square.
; 3,15,87,507,2955,17223,100383,585075,3410067,19875327,115841895,675176043,3935214363,22936110135,133681446447,779152568547,4541233964835,26468251220463,154268273357943,899141388927195,5240580060205227
mul $0,2
mov $1,3
lpb $0
sub $0,1
add $2,$1
mov $3,$1
... |
; ===============================================================
; Sep 2005, Apr 2014
; ===============================================================
;
; void in_mouse_kempston_setpos(uint16_t x, uint16_t y)
;
; Set the mouse coordinate.
;
; ===============================================================
SECTION ... |
// Copyright 2018 Slightech Co., Ltd. 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 by ap... |
; A092810: Binomial transform of a Jacobsthal trisection.
; 1,6,54,486,4374,39366,354294,3188646,28697814,258280326,2324522934,20920706406,188286357654,1694577218886,15251194969974,137260754729766,1235346792567894,11118121133111046
mul $0,2
lpb $0,1
add $3,2
add $1,$3
add $4,$1
mov $2,$4
sub $2,1
mov $1,$2... |
;*****************************************************
;
; Video Technology library for small C compiler
;
; Juergen Buchmueller
;
;*****************************************************
; ----- void __CALLEE__ vz_soundcopy_callee(char *dst, char *src, int size, int sound1, int sound2);
SECTION code_clib
PUBLIC vz_so... |
//==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... |
.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++), ... |
; A134953: Length of the longest prime implicant of the Y function of order n.
; Submitted by Jon Maiga
; 0,2,3,4,6,8,11,14,18,23,27
mul $0,2
mov $1,$0
lpb $1
mul $0,2
pow $0,2
mov $1,1
mov $2,2
lpe
add $3,33
add $0,$3
div $0,63
add $0,$2
|
; A214560: Number of 0's in binary expansion of n^2.
; 1,0,2,2,4,2,4,3,6,4,4,2,6,4,5,4,8,6,6,4,6,3,4,7,8,5,6,4,7,5,6,5,10,8,8,6,8,5,6,4,8,6,5,4,6,3,9,8,10,7,7,7,8,4,6,5,9,6,7,5,8,6,7,6,12,10,10,8,10,7,8,6,10,7,7,4,8,6,6,8,10,7,8,5,7,6,6,6,8,4,5,9,11,8,10,9,12,9,9,8,9,5,9,7,10,8,6,6,8,6,7,10,11,7,8,6,9,5,7,6,10,7,8,6,9,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3a9a, %r9
nop
nop
nop
nop
xor %r13, %r13
vmovups (%r9), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %rbp
nop
nop
add $38738, %r10
lea addresses_W... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
; A080424: a(n) = 3*a(n-1) + 18*a(n-2), a(0)=0, a(1)=1.
; 0,1,3,27,135,891,5103,31347,185895,1121931,6711903,40330467,241805655,1451365371,8706597903,52244370387,313451873415,1880754287211,11284396583103,67706766919107,406239439253175,2437440122303451
add $0,1
mov $4,2
lpb $0
sub $0,1
mov $3,$1
mov $1,$2
mul $... |
SECTION code_stdio
PUBLIC __stdio_scanf_c
EXTERN STDIO_SEEK_CUR
EXTERN __stdio_recv_input_read
EXTERN l_addu_hl_bc, asm0_fseek_unlocked
__stdio_scanf_c:
; %c converter called from vfscanf()
;
; enter : ix = FILE *
; bc = field width (0 means default)
; hl = void *p (0 means assignme... |
; A055037: Number of numbers <= n with an even number of prime factors (counted with multiplicity).
; 1,1,1,2,2,3,3,3,4,5,5,5,5,6,7,8,8,8,8,8,9,10,10,11,12,13,13,13,13,13,13,13,14,15,16,17,17,18,19,20,20,20,20,20,20,21,21,21,22,22,23,23,23,24,25,26,27,28,28,29,29,30,30,31,32,32,32,32,33,33,33,33,33,34,34,34
mov $1,$0
... |
cpu 1802
r0 = 0
r1 = 1
r2 = 2
r3 = 3
r4 = 4
r5 = 5
rd = 13
re = 14
rf = 15
dis
ldi 01Eh
plo r2 ; working stack.
ldi 00h
phi r2
ldi start & 255
plo r4
ldi start / 256
phi r4
sep r4
org 100h
v2 = 0FFFFh
v1 = 00001h
start:
sex r2
dec r2
ldi v1/256 ... |
; A186295: A007519(n)-2.
; 15,39,71,87,95,111,135,191,231,239,255,279,311,335,351,399,407,431,447,455,519,567,575,591,599,615,639,671,759,767,807,855,879,927,935,951,975,1007,1031,1047,1095,1127,1151,1191,1199,1215
seq $0,5123 ; Numbers n such that 8n + 1 is prime.
mul $0,8
sub $0,1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x4348, %r10
nop
and $24674, %rdx
movb (%r10), %r14b
nop
nop
nop
nop
nop
xor $61553, %rbx
lea addresses_UC_ht+0x13648, %rsi
lea addresses_WC_ht+0x1a5a8, %rdi
clflush (%rdi)
nop
sub ... |
; A094761: a(n) = n + (square excess of n).
; 0,1,3,5,4,6,8,10,12,9,11,13,15,17,19,21,16,18,20,22,24,26,28,30,32,25,27,29,31,33,35,37,39,41,43,45,36,38,40,42,44,46,48,50,52,54,56,58,60,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,64,66,68,70,72,74,76,78
mov $2,$0
lpb $2,1
mov $1,$0
sub $2,1
add $1,$2
add $3,2
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.